Package org.baseagent.path
Class Segment
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
class
class
-
Constructor Summary
ConstructorDescriptionSegment
(PathComponent... pathComponents) Segment
(Segment.Directionality directionality, PathComponent... pathComponents) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDestination
(Destination destination) static Segment
createSegment
(Network<Segment, PathComponent> network, PathComponent... components) static Segment
createSegment
(Network<Segment, PathComponent> network, Segment.Directionality directionality, PathComponent... components) Methods inherited from class org.baseagent.network.Edge
applies, doOnEdge, equals, getDestinationNode, getId, getPayload, getSoureNode, hashCode, toString
-
Constructor Details
-
Segment
-
Segment
-
-
Method Details
-
createSegment
public static Segment createSegment(Network<Segment, PathComponent> network, PathComponent... components) -
createSegment
public static Segment createSegment(Network<Segment, PathComponent> network, Segment.Directionality directionality, PathComponent... components) -
addDestination
-