pathAlgorithm property
Path calculation algorithm to use for routing.
Selects the core routing algorithm. Different algorithms may provide different trade-offs between calculation speed and route optimality.
Default is RoutePathAlgorithm.ml.
Implementation
RoutePathAlgorithm get pathAlgorithm {
final OperationResult resultString = objectMethod(
pointerId,
'RoutePrefWrapper',
'getPathAlgorithm',
);
return RoutePathAlgorithmExtension.fromId(resultString['result']);
}
Path calculation algorithm to use for routing.
Selects the core routing algorithm. Different algorithms may provide different trade-offs between calculation speed and route optimality.
Parameters
value: The path algorithm to use.
Default is RoutePathAlgorithm.ml.
Implementation
set pathAlgorithm(final RoutePathAlgorithm value) {
objectMethod(
pointerId,
'RoutePrefWrapper',
'pathalgorithm',
args: value.id,
);
}