NestedConsoleSolverStateTracker

constructor(macroSolver: Solver, microSolver: Solver, macroFormatStrategy: (SolverStateSnapshot, TrackingContext) -> String = ::defaultMacroFormat, microFormatStrategy: (SolverStateSnapshot, TrackingContext) -> String = ::defaultMicroFormat, macroLifecycleFormatStrategy: (SolverStatus, TrackingContext) -> String? = ::defaultMacroLifecycleFormat)(source)

Parameters

macroSolver

The outer solver managing the restarts/macro-steps.

microSolver

The inner solver executing the optimization.

macroFormatStrategy

Formatter for macro-level snapshots. Defaults to defaultMacroFormat.

microFormatStrategy

Formatter for micro-level snapshots. Defaults to defaultMicroFormat.

macroLifecycleFormatStrategy

Formatter for macro lifecycle events. Defaults to defaultMacroLifecycleFormat.