AnyLogic
Expand
Font size
All Implemented Interfaces:
IAStarProvider

public class ConveyorNetworkAStarProvider
extends BaseNetworkAStarProvider

Constructor Summary

ConstructorDescription
ConveyorNetworkAStarProvider(Object sourceVertex, Point sourcePos, Object targetVertex, Point targetPos) 

Method Summary

Modifier and TypeMethodDescription
doublegetEdgeScore(Object edge, Object fromVertex, Object toVertex) 
List<Object>getOppositeVertices(Object vertex, Object edge) 
List<Object>getOutgoingEdges(Object vertex, Object fromEdge) 
List<Object>getSplitMergeOutgoingEdges(ConveyorSpur<?> csm, Object fromEdge) 
doublegetVertexScore(Object vertex, Object fromEdge, Object toEdge) 
booleanisCompatibleEdge(Object element) 
booleanisCompatibleVertex(Object element) 
booleanskipEdge(Object edge, Predicate<Object> filter) 
booleanskipVertex(Object vertex, Predicate<Object> filter) 

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

getHeuristicScore

Methods inherited from class java.lang.Object

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

Constructor Details

ConveyorNetworkAStarProvider

public ConveyorNetworkAStarProvider(Object sourceVertex,
 Point sourcePos,
 Object targetVertex,
 Point targetPos)

Method Details

skipVertex

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

skipEdge

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

isCompatibleVertex

public boolean isCompatibleVertex(Object element)

isCompatibleEdge

public boolean isCompatibleEdge(Object element)

getOutgoingEdges

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

getSplitMergeOutgoingEdges

public List<Object> getSplitMergeOutgoingEdges(ConveyorSpur<?> csm,
 Object fromEdge)

getOppositeVertices

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

getEdgeScore

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

getVertexScore

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