documentationfor yFiles for HTML 2.6

Properties

contextin PathSearchExtensionGets the current context of the path search.

Method Return Values

createPathSearchContext (PathSearch, PathSearchConfiguration)in EdgeRouterCreates a PathSearchContext that provides context information for the path searching algorithm.

Method Parameters

appendEnterIntervals (CellEntrance, PartitionCell, OrthogonalInterval, IList<Object>, PathSearchContext)in IEnterIntervalCalculatorAppends additional enter intervals to the given list of enter intervals for moving from the partition cell of the current CellEntrance to the neighboring cell.
calculateCosts (CellEntrance, PartitionCell, OrthogonalInterval, EdgeCellInfo, PathSearchContext, number, number)in PathSearchCalculates the costs for moving from the current CellEntrance to the neighboring PartitionCell using different enter intervals.
calculateHeuristicCosts (CellEntrance, PathSearchContext)in PathSearchReturns the estimated costs for the rest of the path when using the given CellEntrance for the next step in the path search.
decreasePenaltySettings (PenaltySettings, number, PathSearchContext)in PathSearchDecreases the given penalty settings for the current edge.
findPaths (PathSearchContext)in PathSearchFinds paths for the edges in the given context and stores them in its PathSearchResult.
findPathsForCurrentEdge (PathSearchContext)in PathSearchFinds the path for the current edge in the given context.
handleNeighbor (CellEntrance, PartitionCell, PathSearchContext)in PathSearchAdds CellEntrances for every interval through which the neighboring cell can be entered from the current entrance to the queue.
cancelCurrentEdge (PathSearchContext)in PathSearchExtensionHandles the cancellation of the path search for the current edge.
cancelCurrentPathRequest (PathSearchContext)in PathSearchExtensionHandles the cancellation of the path search for the current PathRequest.
finalizeCurrentEdge (PathSearchContext)in PathSearchExtensionHandles the completion of the path search for the current edge.
finalizeEdges (PathSearchContext)in PathSearchExtensionHandles the completion of all marked edges.
initializeCurrentEdge (PathSearchContext)in PathSearchExtensionInitializes this extension with the current edge set in the given context.
initializeCurrentPathRequest (PathSearchContext)in PathSearchExtensionInitializes this extension with the current PathRequest set in the given context.
initializeEdges (PathSearchContext)in PathSearchExtensionInitializes this extension with the context that contains the list of edges for which paths are calculated.