LinkStateRoutingAlgorithm<T> constructor
const
LinkStateRoutingAlgorithm<T> ({})
Creates a link-state routing algorithm instance
updateInterval - How often topology is updated
linkTimeout - How long before links are considered stale
enableTopologyOptimization - Whether to optimize topology
enablePathCompression - Whether to compress paths for efficiency
Implementation
const LinkStateRoutingAlgorithm({
this.updateInterval = _defaultUpdateInterval,
this.linkTimeout = _linkTimeout,
this.enableTopologyOptimization = true,
this.enablePathCompression = true,
});