Package | Description |
---|---|
com.yworks.yfiles.layout.router.polyline |
Provides classes and interfaces for automatic polyline routing of the edges of a graph.
|
Modifier and Type | Method and Description |
---|---|
protected PathSearchContext |
EdgeRouter.createPathSearchContext(PathSearch pathSearch,
PathSearchConfiguration configuration)
Creates a
PathSearchContext that provides context information for the path searching algorithm. |
protected PathSearchContext |
PathSearchExtension.getContext()
Gets the current context of the path search.
|
Modifier and Type | Method and Description |
---|---|
void |
IEnterIntervalCalculator.appendEnterIntervals(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval commonInterval,
List<Object> allEnterIntervals,
PathSearchContext context)
Appends additional enter intervals to the given list of enter intervals for moving from the
partition cell
of the current CellEntrance to the neighboring cell. |
protected void |
PathSearch.calculateCosts(CellEntrance currentEntrance,
PartitionCell enteredCell,
OrthogonalInterval[] enterIntervals,
EdgeCellInfo[] lastEdgeCellInfos,
PathSearchContext context,
double[] costs,
double[] maxAllowedCosts)
Calculates the costs for moving from the current
CellEntrance to the neighboring PartitionCell using
different enter intervals. |
protected double |
PathSearch.calculateHeuristicCosts(CellEntrance entrance,
PathSearchContext context)
Returns the estimated costs for the rest of the path when using the given
CellEntrance for the next step in the
path search. |
protected void |
PathSearchExtension.cancelCurrentEdge(PathSearchContext context)
Handles the cancellation of the path search for the current edge.
|
protected void |
PathSearch.decreasePenaltySettings(PenaltySettings penaltySettings,
double decreaseFactor,
PathSearchContext context)
Decreases the given penalty settings for the current edge.
|
protected void |
PathSearchExtension.finalizeCurrentEdge(PathSearchContext context)
Handles the completion of the path search for the current edge.
|
protected void |
PathSearchExtension.finalizeEdges(PathSearchContext context)
Handles the completion of all marked edges.
|
void |
PathSearch.findPaths(PathSearchContext context)
Finds paths for the edges in the given context and stores them in its
PathSearchResult . |
protected void |
PathSearch.findPathsForCurrentEdge(PathSearchContext context)
Finds the path for the current edge in the given context.
|
protected void |
PathSearch.handleNeighbor(CellEntrance currentEntrance,
PartitionCell neighborCell,
PathSearchContext context)
Adds
CellEntrance s for every interval through which the neighboring cell can be entered from the current entrance
to the queue. |
protected void |
PathSearchExtension.initializeCurrentEdge(PathSearchContext context)
Initializes this extension with the current edge set in the given context.
|
protected void |
PathSearchExtension.initializeEdges(PathSearchContext context)
Initializes this extension with the context that contains the list of edges for which paths are calculated.
|