Package com.anylogic.engine.routing
- Constructor Summary
- Method Summary
- Methods inherited from class java.lang.Object
- Methods inherited from interface java.lang.Iterable
- Constructor Detail
- Method Detail
- isEmpty
- size
- recalculateDistance
- getMovement
- getFirstMovement
- getLastMovement
- getMovements
- addMovement
- addMovement
- addMovements
- addMovements
- add
- distance
- contains
- contains
- addPlainMovement
- addPlainMovement
- addPathMovement
- addPathMovement
- addNodeTransferMovement
- addPortMovement
- createPlainMovement
- createPlainMovement
- createPathMovement
- createPathMovement
- createPortMovement
- createNodeTransferMovement
- removeMovement
- removeMovement
- removeFirstMovement
- removeLastMovement
- getSourceLocation
- getTargetLocation
- toString
- getLocationAtOffset
- getLocationAtOffset
- findShortestRoute
- iterator
- java.lang.Object
-
- com.anylogic.engine.routing.RouteData
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<IMovement>
public class RouteData extends java.lang.Object implements java.io.Serializable, java.lang.Iterable<IMovement>
- See Also:
- Serialized Form
RouteData(IMovement... movements) |
|
RouteData(RouteData routeData) |
|
RouteData(java.util.Collection<? extends IMovement> movements) |
|
Constructor | Description |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public RouteData(RouteData routeData)
public RouteData(IMovement... movements)
public RouteData(java.util.Collection<? extends IMovement> movements)
public boolean isEmpty()
public int size()
@AnyLogicInternalAPI public double recalculateDistance()
public IMovement getMovement(int index)
public IMovement getFirstMovement()
public IMovement getLastMovement()
public java.util.List<IMovement> getMovements()
public void addMovement(IMovement movement)
public void addMovement(int index, IMovement movement)
public void addMovements(IMovement... movements)
public void addMovements(java.util.Collection<? extends IMovement> movements)
public void add(RouteData routeData)
public double distance(LengthUnits units)
public boolean contains(INode<?,?> node)
public boolean contains(IPath<?> path)
public void addPlainMovement(INetworkMarkupElement networkElement, Point source, Point target)
@AnyLogicInternalAPI public void addPlainMovement(Agent space, Point source, Point target)
public void addPathMovement(IPath<?> path, boolean forward)
public void addPathMovement(IPath<?> path, double sourceOffset, double targetOffset, LengthUnits units)
public void addNodeTransferMovement(INode<?,?> node, IPath<?> sourcePath, IPath<?> targetPath)
public void addPortMovement(MarkupPort source, MarkupPort target)
public static IMovement createPlainMovement(INetworkMarkupElement networkElement, Point source, Point target)
@AnyLogicInternalAPI public static IMovement createPlainMovement(Agent space, Point source, Point target)
public static IMovement createPathMovement(IPath<?> path, boolean forward)
public static IMovement createPathMovement(IPath<?> path, double sourceOffset, double targetOffset, LengthUnits units)
public static IMovement createPortMovement(MarkupPort source, MarkupPort target)
public static IMovement createNodeTransferMovement(INode<?,?> node, IPath<?> sourcePath, IPath<?> targetPath)
public boolean removeMovement(IMovement movement)
public void removeMovement(int index)
public void removeFirstMovement()
public void removeLastMovement()
public IRouteLocation getSourceLocation()
public IRouteLocation getTargetLocation()
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
@AnyLogicInternalAPI public IRouteLocation getLocationAtOffset(double offset, LengthUnits units)
@AnyLogicInternalAPI public IRouteLocation getLocationAtOffset(double offset, LengthUnits units, IRouteLocation out)
public static RouteData findShortestRoute(java.util.Collection<RouteData> collection, LengthUnits units)
public java.util.Iterator<IMovement> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<IMovement>
-
How can we improve this article?
-