SolverMemberTask

data class SolverMemberTask(val solverFactory: SolverFactoryIfc, val label: String, val startingPoint: InputMap? = null, val innerSolverDecorator: (solver: Solver, memberIndex: Int) -> Unit? = null)(source)

One member of a concurrent solver run: the factory that creates its solver instance plus the member-specific configuration applied at creation time.

Parameters

solverFactory

creates the member's solver instance, bound to the member's private evaluator

label

a short, unique (within the run) human-readable identifier for the member; flows into solver names, trace files, logs, and results

startingPoint

the member's starting point; when null the created solver generates its own. For reproducibility, owners that randomize starting points should pre-draw them on the launching thread before members run.

innerSolverDecorator

invoked with the freshly created solver and the member index, before the solver runs, on the member's worker thread. This is the attachment hook for per-member trackers and other instrumentation; anything it touches must be safe to use from worker threads.

Constructors

Link copied to clipboard
constructor(solverFactory: SolverFactoryIfc, label: String, startingPoint: InputMap? = null, innerSolverDecorator: (solver: Solver, memberIndex: Int) -> Unit? = null)

Properties

Link copied to clipboard
val innerSolverDecorator: (solver: Solver, memberIndex: Int) -> Unit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard