Class Edge<T,R>

java.lang.Object
org.baseagent.network.Edge<T,R>
Direct Known Subclasses:
Segment

public class Edge<T,R> extends Object
TODO: Bidirectional edges
  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getSoureNode

      public Node<T> getSoureNode()
    • getDestinationNode

      public Node<T> getDestinationNode()
    • getPayload

      public Map<String,Object> getPayload()
    • applies

      public boolean applies(R object)
    • doOnEdge

      public void doOnEdge(R object)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object