LinkStateRoutingAlgorithm<T> constructor

const LinkStateRoutingAlgorithm<T>({
  1. Duration updateInterval = _defaultUpdateInterval,
  2. Duration linkTimeout = _linkTimeout,
  3. bool enableTopologyOptimization = true,
  4. bool enablePathCompression = true,
})

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,
});