Package jline.cli

Class AgWorker

java.lang.Object
jline.cli.AgWorker

public final class AgWorker extends Object
Worker process for the AG solver's cluster execution backend.
java -cp jline.jar jline.cli.AgWorker -p 5870

It holds a set of agents and answers sweeps. THE WORKER HOLDS NO MODEL: an agent's generator is its own local rate matrix plus the passive matrices of its actions scaled by the reversed rates, so everything the worker needs arrives in the assignment and everything that changes per sweep is the vector of reversed rates. That is the whole reason the decomposition distributes well -- there is no shared state to keep coherent, and a worker that dies costs its agents' wall clock and nothing else.

One connection is one session: assign once, sweep many times, bye. Several coordinators may connect at once and each gets its own agent set, so a worker can be shared between runs without them seeing each other.