DataFrameSolverStateTracker

An autonomous tracker that collects iterations in memory and compiles them into a strongly-typed DataFrame. If the solver is executed multiple times, this tracker accumulates the data and rebuilds the DataFrame to include all consecutive runs.

Constructors

Link copied to clipboard
constructor(solver: Solver, columns: List<DataFrameColumn> = defaultColumns)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
var dataFrame: AnyFrame?

Functions

Link copied to clipboard
fun clearData()

Clears all accumulated data in memory if needed.

Link copied to clipboard
protected open override fun consume(snapshot: SolverStateSnapshot)

Defines how the concrete tracker handles the mathematical state payload.

Link copied to clipboard
protected open override fun onLifecycleEvent(status: SolverStatus)

Optional hook for subclasses to react to lifecycle changes (e.g., opening/closing files on INITIALIZED/COMPLETED).