AnyLogic
Expand
Font size
All Implemented Interfaces:
IAStarProvider

public class NetworkAStarProvider
extends BaseNetworkAStarProvider

Constructor Summary

Constructors 
NetworkAStarProvider​(java.lang.Object sourceVertex, Point sourcePos, java.lang.Object targetVertex, Point targetPos)  
Constructor Description

Method Summary

All Methods Instance Methods Concrete Methods 
boolean isCompatibleEdge​(java.lang.Object element)  
boolean isCompatibleVertex​(java.lang.Object element)  
boolean skipEdge​(java.lang.Object edge, java.util.function.Predicate<java.lang.Object> filter)  
boolean skipVertex​(java.lang.Object vertex, java.util.function.Predicate<java.lang.Object> filter)  
Modifier and Type Method Description

Methods inherited from class com.anylogic.engine.routing.finders.BaseNetworkAStarProvider

getEdgeScore, getHeuristicScore, getOppositeVertices, getOutgoingEdges, getVertexScore

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

NetworkAStarProvider

public NetworkAStarProvider​(java.lang.Object sourceVertex,
                            Point sourcePos,
                            java.lang.Object targetVertex,
                            Point targetPos)

Method Detail

skipVertex

public boolean skipVertex​(java.lang.Object vertex,
                          java.util.function.Predicate<java.lang.Object> filter)
Specified by:
skipVertex in interface IAStarProvider
Overrides:
skipVertex in class BaseNetworkAStarProvider

skipEdge

public boolean skipEdge​(java.lang.Object edge,
                        java.util.function.Predicate<java.lang.Object> filter)
Specified by:
skipEdge in interface IAStarProvider
Overrides:
skipEdge in class BaseNetworkAStarProvider

isCompatibleVertex

public boolean isCompatibleVertex​(java.lang.Object element)

isCompatibleEdge

public boolean isCompatibleEdge​(java.lang.Object element)
How can we improve this article?