OSPFAlgorithm<T> constructor

const OSPFAlgorithm<T>({
  1. Duration lsaInterval = _defaultLSAInterval,
  2. Duration lsaExpiry = _defaultLSAExpiry,
  3. int maxIterations = 1000,
  4. bool enableAreas = true,
})

Creates an OSPF algorithm instance with configurable parameters

lsaInterval - How often LSAs are generated lsaExpiry - How long before LSAs expire maxIterations - Maximum iterations for convergence enableAreas - Whether to enable OSPF area support

Implementation

const OSPFAlgorithm({
  this.lsaInterval = _defaultLSAInterval,
  this.lsaExpiry = _defaultLSAExpiry,
  this.maxIterations = 1000,
  this.enableAreas = true,
});