This class describes the location and the direction from which a given PartitionCell has been entered during a path search.
Inheritance Hierarchy
Remarks
The path that was followed in order to reach a given PartitionCell can be reconstructed by traversing all previousEntrances. The enterInterval and enterDirection determine how the PartitionCell was entered.
Default Values of Properties
| Name | Default |
|---|---|
| costs | 0 |
| heuristicCosts | 0 |
Members
No filters for this type
Constructors
Creates a new CellEntrance instance for a given PartitionCell.
Creates a new CellEntrance instance for a given PartitionCell.
Parameters
- cell: PartitionCell
- The PartitionCell that is entered
Creates a new CellEntrance instance that is a copy of a given other CellEntrance.
Creates a new CellEntrance instance that is a copy of a given other CellEntrance.
Parameters
- other: CellEntrance
- The CellEntrance to be copied.
Properties
Gets the PartitionCell of this CellEntrance instance.
Gets the PartitionCell of this CellEntrance instance.
Gets or sets the costs for the implicit path given by the previousEntrances.
Gets or sets the costs for the implicit path given by the previousEntrances.
The costs must be non-negative.
final
Property Value
the costs for the implicit path given by the previousEntrances
Throws
- Exception ({ name: 'ArgumentError' })
- if the costs are negative
Default Value
The default value is: 0
Gets or sets the OrthogonalInterval that was used for entering this cell.
Gets or sets the OrthogonalInterval that was used for entering this cell.
final
Property Value
Gets or sets the heuristic costs for the implicit path given by the previousEntrances.
Gets or sets the heuristic costs for the implicit path given by the previousEntrances.
Heuristic costs must be non-negative.
final
Property Value
the heuristic costs for the implicit path given by the previousEntrances
Throws
- Exception ({ name: 'ArgumentError' })
- if the heuristic costs are negative
Default Value
The default value is: 0
Gets or sets the EdgeCellInfo describing how the previous PartitionCell was traversed.
Gets or sets the EdgeCellInfo describing how the previous PartitionCell was traversed.
final
Property Value
The EdgeCellInfo describing how the previous cell was traversed or
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.
Gets or sets the previous CellEntrance along the path that was traversed in order to reach the cell.
Methods
Returns a string representation of this CellEntrance.
Returns a string representation of this CellEntrance.