This class describes the location and the direction from which a given PartitionCell has been entered during a path search.
Remarks
Default Values of Properties
costs | 0 | |
heuristicCosts | 0 |
Type Details
- yFiles module
- algorithms
Constructors
Creates a new CellEntrance instance for a given PartitionCell.
Parameters
A map of options to pass to the method.
- cell - PartitionCell
- The PartitionCell that is entered
Creates a new CellEntrance instance that is a copy of a given other CellEntrance.
Parameters
A map of options to pass to the method.
- other - CellEntrance
- The CellEntrance to be copied.
Properties
Gets the PartitionCell of this CellEntrance instance.
Property Value
Gets or sets the costs for the implicit path given by the previousEntrances.
Remarks
Default Value
0
.Property Value
Throws
- Exception({ name: 'ArgumentError' })
- if the costs are negative
Gets or sets the OrthogonalInterval that was used for entering this cell.
Property Value
Gets or sets the heuristic costs for the implicit path given by the previousEntrances.
Remarks
Default Value
0
.Property Value
Throws
- Exception({ name: 'ArgumentError' })
- if the heuristic costs are negative
Gets or sets the EdgeCellInfo describing how the previous PartitionCell was traversed.
Property Value
null
if this cell is a start entrance.Gets or sets the previous CellEntrance along the path that was traversed in order to reach the cell.
Property Value
Methods
Returns a string representation of this CellEntrance.
Returns
- ↪string
- A string representation of this CellEntrance