Class AnnotationWeightedEdge

java.lang.Object
org.jgrapht.graph.DefaultWeightedEdge
sc.fiji.snt.analysis.graph.AnnotationWeightedEdge
All Implemented Interfaces:
Serializable, Cloneable

public class AnnotationWeightedEdge extends org.jgrapht.graph.DefaultWeightedEdge
Represents a weighted edge between two BrainAnnotation vertices in an annotation graph. This class extends DefaultWeightedEdge to provide specialized functionality for brain annotation connections with associated weights.
See Also:
  • Constructor Details

    • AnnotationWeightedEdge

      public AnnotationWeightedEdge()
  • Method Details

    • getWeight

      public double getWeight()
      Overrides:
      getWeight in class org.jgrapht.graph.DefaultWeightedEdge
    • getLength

      public double getLength()
    • getSource

      public BrainAnnotation getSource()
      Overrides:
      getSource in class org.jgrapht.graph.DefaultWeightedEdge
    • getTarget

      public BrainAnnotation getTarget()
      Overrides:
      getTarget in class org.jgrapht.graph.DefaultWeightedEdge
    • toString

      public String toString()
      Overrides:
      toString in class org.jgrapht.graph.DefaultWeightedEdge
    • clone

      public Object clone()
      Overrides:
      clone in class Object