- java.lang.Object
- com.anylogic.engine.routing.finders.BaseNetworkAStarProvider
- com.anylogic.engine.routing.finders.ConveyorNetworkAStarProvider
- All Implemented Interfaces:
IAStarProvider
public class ConveyorNetworkAStarProvider extends BaseNetworkAStarProvider
Constructor | Description |
---|---|
ConveyorNetworkAStarProvider |
Modifier and Type | Method | Description |
---|---|---|
double | getEdgeScore | |
List<Object> | getOppositeVertices | |
List<Object> | getOutgoingEdges | |
List<Object> | getSplitMergeOutgoingEdges | |
double | getVertexScore | |
boolean | isCompatibleEdge | |
boolean | isCompatibleVertex | |
boolean | skipEdge | |
boolean | skipVertex |
public ConveyorNetworkAStarProvider(Object sourceVertex, Point sourcePos, Object targetVertex, Point targetPos)
public boolean skipVertex(Object vertex, Predicate<Object> filter)
- Specified by:
skipVertex
in interfaceIAStarProvider
- Overrides:
skipVertex
in classBaseNetworkAStarProvider
public boolean skipEdge(Object edge, Predicate<Object> filter)
- Specified by:
skipEdge
in interfaceIAStarProvider
- Overrides:
skipEdge
in classBaseNetworkAStarProvider
public boolean isCompatibleVertex(Object element)
public boolean isCompatibleEdge(Object element)
public List<Object> getOutgoingEdges(Object vertex, Object fromEdge)
- Specified by:
getOutgoingEdges
in interfaceIAStarProvider
- Overrides:
getOutgoingEdges
in classBaseNetworkAStarProvider
public List<Object> getSplitMergeOutgoingEdges(ConveyorSpur<?> csm, Object fromEdge)
public List<Object> getOppositeVertices(Object vertex, Object edge)
- Specified by:
getOppositeVertices
in interfaceIAStarProvider
- Overrides:
getOppositeVertices
in classBaseNetworkAStarProvider
public double getEdgeScore(Object edge, Object fromVertex, Object toVertex)
- Specified by:
getEdgeScore
in interfaceIAStarProvider
- Overrides:
getEdgeScore
in classBaseNetworkAStarProvider
public double getVertexScore(Object vertex, Object fromEdge, Object toEdge)
- Specified by:
getVertexScore
in interfaceIAStarProvider
- Overrides:
getVertexScore
in classBaseNetworkAStarProvider