This class describes the obstacles that are used by implementations of IRouterPartition to subdivide an area into PartitionCells.
Inheritance Hierarchy
RoutingObstacle
Default Values of Properties
Type Details
- yFiles module
- algorithms
Constructors
Creates a new RoutingObstacle instance with the given bounds and additional data.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- bounds - Rect
- the bounds of the obstacle
- data - any
- the additional data associated with the obstacle
Properties
Gets or sets the cost penalty for entering this obstacle during the path search phase of EdgeRouter.
Default Value
The default value is
0
.Entering this obstacle does not induce any penalty.
Property Value
the cost penalty for entering this obstacle
Throws
- Exception({ name: 'ArgumentError' })
- if the cost is negative