java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.filter.extraction.MwbNode
All Implemented Interfaces:
Comparable<MwbNode>

class MwbNode extends Object implements Comparable<MwbNode>
Helper class for MaxWeightBipartiteExtractor. The node of a graph.
  • Field Details

    • successor

      private Set<MwbEdge> successor
      The graph structure (modeled only as successor).
    • potential

      private int potential
      The potential as given in the algorithm.
    • distance

      private int distance
      Shortest path property for distance.
    • free

      private boolean free
      Is the node already matched.
    • predecessor

      private MwbEdge predecessor
      Shortest path property for restoring the path.
  • Constructor Details

    • MwbNode

      public MwbNode()
  • Method Details

    • addSuccesor

      public void addSuccesor(MwbEdge e)
    • removeSuccesor

      public void removeSuccesor(MwbEdge e)
    • getPotential

      public int getPotential()
    • setPotential

      public void setPotential(int potential)
    • getDistance

      public int getDistance()
    • setDistance

      public void setDistance(int distance)
    • isFree

      public boolean isFree()
    • setFree

      public void setFree(boolean free)
    • getPredecessor

      public MwbEdge getPredecessor()
    • setPredecessor

      public void setPredecessor(MwbEdge predecessor)
    • getSuccessor

      public Set<MwbEdge> getSuccessor()
    • setSuccessor

      public void setSuccessor(Set<MwbEdge> successor)
    • compareTo

      public int compareTo(MwbNode o)
      Specified by:
      compareTo in interface Comparable<MwbNode>