Class AGOptions
Beside the truncation level of an open agent, these carry the EXECUTION BACKEND of the reversed-rate fixed point. The backend decides who evaluates an agent, never what the agent evaluates to: agent k reads the rest of the model only through the scalar reversed rates x, and the sweep is Jacobi, so the agent order is immaterial and every backend walks the same iterates.
-
Nested Class Summary
Nested classes/interfaces inherited from class jline.solvers.SolverOptions
SolverOptions.Config, SolverOptions.ODESolvers -
Field Summary
FieldsModifier and TypeFieldDescriptionWorker addresses ("host:port") forEXEC_CLUSTER.static final StringPartition the agents over remote ag-worker processes.static final StringThe accepted alias ofEXEC_PARALLEL, as SolverSSA spells it.static final StringFan the agents of a sweep out over a local thread pool.static final StringOne agent per (station, class); solve them one after another.intTruncation level of an OPEN agent's queue-length dimension.intThread-pool size forEXEC_PARALLEL; 0 means one thread per available processor.doubleSeconds to wait on a worker before solving its agents locally instead.Fields inherited from class jline.solvers.SolverOptions
cache, config, confint, container, cutoff, events, force, hide_immediate, init_sol, iter_max, iter_tol, keep, lang, level, method, odesolvers, qrfAlpha, qrfParams, remote, remote_endpoint, restUrl, rewardIterations, samples, seed, sojourn, stiff, timeout, timespan, timestep, tol, tranpoints, verbose -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Preserve the AG fields across the defensive copy the Solver constructor takes.maxStates(int maxStates) nworkers(int nworkers) workerTimeout(double seconds) Methods inherited from class jline.solvers.SolverOptions
confint, cutoff, cutoff, cutoff, events, force, getCutoffMatrix, keep, method, samples, seed, setLsodaMaxSteps, setODEMaxStep, setODEMinStep, verbose, verbose
-
Field Details
-
EXEC_SERIAL
One agent per (station, class); solve them one after another.- See Also:
-
EXEC_PARALLEL
Fan the agents of a sweep out over a local thread pool. Named "parallel", with "para" accepted as an alias -- the same pair SolverSSA's replica analyzer answers to, so one spelling convention covers both solvers. It was called "threads" until 2026-08-19; that name is no longer accepted, andAgExec.isParallel(String)is the only place either spelling is recognised.- See Also:
-
EXEC_PARA
The accepted alias ofEXEC_PARALLEL, as SolverSSA spells it.- See Also:
-
EXEC_CLUSTER
Partition the agents over remote ag-worker processes.- See Also:
-
maxStates
public int maxStatesTruncation level of an OPEN agent's queue-length dimension. A closed class uses its own population instead, so this bounds only the open agents; 'inapinf' ignores it and solves them on the infinite state space. -
exec
-
nworkers
public int nworkersThread-pool size forEXEC_PARALLEL; 0 means one thread per available processor. Pinned rather than derived per sweep so that a run is reproducible on a machine whose load changes under it. -
endpoints
Worker addresses ("host:port") forEXEC_CLUSTER. -
workerTimeout
public double workerTimeoutSeconds to wait on a worker before solving its agents locally instead. A lost worker is never fatal: any agent can be solved anywhere given x, so a cluster run degrades to a slower run and never to a wrong one.
-
-
Constructor Details
-
AGOptions
public AGOptions()
-
-
Method Details
-
copy
Preserve the AG fields across the defensive copy the Solver constructor takes.WITHOUT THIS OVERRIDE THE WHOLE EXECUTION AXIS IS SILENTLY INERT.
Solverstoresoptions.copy(), and the base copy returns a plainSolverOptions, soexec,endpoints,maxStates,nworkersandworkerTimeoutwould all be dropped between construction and the solve -- a run asked for on the cluster would quietly execute serially and report nothing. Worse, a test comparing two backends would then compare two SERIAL runs and pass vacuously, which is how this was found.- Overrides:
copyin classSolverOptions- Returns:
- a deep copy of this options object
-
maxStates
-
exec
-
nworkers
-
endpoint
-
workerTimeout
-