This class provides context information that is useful for the path search algorithm of EdgeRouter.
Inheritance Hierarchy
Remarks
Most notably, the context provides access to the edge that is currently being routed (see currentEdge).
This class cannot be instantiated
Members
No filters for this type
Properties
Gets an artificial PartitionCell with the size of the bounds of all source cells of the current path request.
Gets an artificial PartitionCell with the size of the bounds of all source cells of the current path request.
readonlyfinal
Property Value
an artificial partition cell with the size of the bounds of all source cells
See Also
Gets an artificial PartitionCell with the size of the bounds of all target cells of the current path request.
Gets an artificial PartitionCell with the size of the bounds of all target cells of the current path request.
readonlyfinal
Property Value
an artificial partition cell with the size of the bounds of all target cells
See Also
Gets the configuration used for the path search phase.
Gets the configuration used for the path search phase.
readonlyfinal
Property Value
the configuration used for the path search
Gets or sets the edge that is currently routed.
Gets or sets the edge that is currently routed.
This edge is one of those returned by edges.
readonlyfinal
Property Value
the edge that is currently routed
Gets the EdgeRouterEdgeDescriptor for the currentEdge containing edge-specific settings for the path search.
Gets the EdgeRouterEdgeDescriptor for the currentEdge containing edge-specific settings for the path search.
readonlyfinal
Property Value
the descriptor for the current edge
Gets or sets the PathSearchRequest that is currently routed.
Gets or sets the PathSearchRequest that is currently routed.
This request belongs to the currentEdge.
readonlyfinal
Property Value
the path request that is currently routed.
Gets the ICursor<T> of LayoutEdge to iterate over the edges that are routed.
Gets the ICursor<T> of LayoutEdge to iterate over the edges that are routed.
readonlyfinal
Property Value
The ICursor<T> of LayoutEdge to iterate over the edges for which a path is calculated.
Methods
Adds an additional source cell of the current path request if it is not already contained in the list of source cells.
Adds an additional source cell of the current path request if it is not already contained in the list of source cells.
Adds an additional target cell of the current path request if it is not already contained in the list of target cells.
Adds an additional target cell of the current path request if it is not already contained in the list of target cells.
Returns the source cell with the given index in the list of all cells that are covered by the source of the current path request.
Returns the source cell with the given index in the list of all cells that are covered by the source of the current path request.
final
Parameters
- index: number
- the index of the source cell
Return Value
- PartitionCell
- the source cell with the given index in the list of all source cells
Returns the target cell with the given index in the list of all cells that are covered by the target of the current path request.
Returns the target cell with the given index in the list of all cells that are covered by the target of the current path request.
final
Parameters
- index: number
- The index of the target cell
Return Value
- PartitionCell
- The target cell with the given index in the list of all cells that are covered by the target of the current path request
Determines whether or not the given cell is a source cell of the current path request.
Determines whether or not the given cell is a source cell of the current path request.
final
Parameters
- cell: PartitionCell
- the cell
Return Value
- boolean
trueif the given cell is in the list of source cells,falseotherwise
See Also
Determines whether or not the given cell is a target cell of the current path request.
Determines whether or not the given cell is a target cell of the current path request.
final
Parameters
- cell: PartitionCell
- the cell
Return Value
- boolean
trueif the given cell is in the list of target cells,falseotherwise
See Also
Returns the number of all cells that are covered by the source of the current path request.
Returns the number of all cells that are covered by the source of the current path request.
final
Return Value
- number
- the number of all cells that are covered by the source
Returns the number of all cells that are covered by the target of the current path request.
Returns the number of all cells that are covered by the target of the current path request.
final
Return Value
- number
- the number of all cells that are covered by the target