- java.lang.Object
- com.anylogic.engine.routing.finders.BaseNetworkAStarProvider
- com.anylogic.engine.routing.finders.NetworkAStarProvider
- All Implemented Interfaces:
IAStarProvider
public class NetworkAStarProvider extends BaseNetworkAStarProvider
Constructor | Description |
---|---|
NetworkAStarProvider |
Modifier and Type | Method | Description |
---|---|---|
List<Object> | getIngoingEdges | |
List<Object> | getIngoingVertices | |
List<Object> | getOutgoingVertices | |
boolean | isCompatibleEdge | |
boolean | isCompatibleVertex | |
boolean | skipEdge | |
boolean | skipVertex |
public NetworkAStarProvider(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> getIngoingEdges(Object vertex, Object fromEdge)
public List<Object> getOutgoingVertices(Object vertex, Object edge)
- Parameters:
vertex
-edge
-- Returns:
- vertex (or vertices in port case) that can be reached from the provided vertex through provided edge
public List<Object> getIngoingVertices(Object vertex, Object edge)
- Parameters:
vertex
-edge
-- Returns:
- vertex (or vertices in port case) from which can be reached the provided vertex through provided edge