AnyLogic AnyLogic
Expand
Font size
  • java.lang.Object
    • com.anylogic.engine.routing.finders.BaseNetworkAStarProvider
All Implemented Interfaces:
IAStarProvider
Direct Known Subclasses:
ConveyorNetworkAStarProvider, NetworkAStarProvider

public class BaseNetworkAStarProvider
extends java.lang.Object
implements IAStarProvider

Method Summary

All Methods Instance Methods Concrete Methods 
double getEdgeScore​(java.lang.Object edge, java.lang.Object fromVertex, java.lang.Object toVertex)  
double getHeuristicScore​(java.lang.Object sourceVertex, java.lang.Object targetVertex)  
java.util.List<java.lang.Object> getOppositeVertices​(java.lang.Object vertex, java.lang.Object edge)  
java.util.List<java.lang.Object> getOutgoingEdges​(java.lang.Object vertex, java.lang.Object fromEdge)  
double getVertexScore​(java.lang.Object vertex, java.lang.Object fromEdge, java.lang.Object toEdge)  
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 java.lang.Object

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

Method Detail

skipVertex

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

skipEdge

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

getOutgoingEdges

public java.util.List<java.lang.Object> getOutgoingEdges​(java.lang.Object vertex,
                                                         java.lang.Object fromEdge)
Specified by:
getOutgoingEdges in interface IAStarProvider

getOppositeVertices

public java.util.List<java.lang.Object> getOppositeVertices​(java.lang.Object vertex,
                                                            java.lang.Object edge)
Specified by:
getOppositeVertices in interface IAStarProvider

getEdgeScore

public double getEdgeScore​(java.lang.Object edge,
                           java.lang.Object fromVertex,
                           java.lang.Object toVertex)
Specified by:
getEdgeScore in interface IAStarProvider

getVertexScore

public double getVertexScore​(java.lang.Object vertex,
                             java.lang.Object fromEdge,
                             java.lang.Object toEdge)
Specified by:
getVertexScore in interface IAStarProvider

getHeuristicScore

public double getHeuristicScore​(java.lang.Object sourceVertex,
                                java.lang.Object targetVertex)
Specified by:
getHeuristicScore in interface IAStarProvider
How can we improve this article?