AnyLogic
Expand
Font size
All Implemented Interfaces:
IAStarProvider
Direct Known Subclasses:
ConveyorNetworkAStarProvider, NetworkAStarProvider

public abstract class BaseNetworkAStarProvider
extends Object
implements IAStarProvider

Method Summary

Modifier and TypeMethodDescription
doublegetEdgeScore(Object edge, Object fromVertex, Object toVertex) 
doublegetHeuristicScore(Object sourceVertex, Object targetVertex) 
List<Object>getOppositeVertices(Object vertex, Object edge) 
List<Object>getOutgoingEdges(Object vertex, Object fromEdge) 
doublegetVertexScore(Object vertex, Object fromEdge, Object toEdge) 
booleanskipEdge(Object edge, Predicate<Object> filter) 
booleanskipVertex(Object vertex, Predicate<Object> filter) 

Methods inherited from class java.lang.Object

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

Method Details

skipVertex

public boolean skipVertex(Object vertex,
 Predicate<Object> filter)
Specified by:
skipVertex in interface IAStarProvider

skipEdge

public boolean skipEdge(Object edge,
 Predicate<Object> filter)
Specified by:
skipEdge in interface IAStarProvider

getOutgoingEdges

public List<Object> getOutgoingEdges(Object vertex,
 Object fromEdge)
Specified by:
getOutgoingEdges in interface IAStarProvider

getOppositeVertices

public List<Object> getOppositeVertices(Object vertex,
 Object edge)
Specified by:
getOppositeVertices in interface IAStarProvider

getEdgeScore

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

getVertexScore

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

getHeuristicScore

public double getHeuristicScore(Object sourceVertex,
 Object targetVertex)
Specified by:
getHeuristicScore in interface IAStarProvider