Package-level declarations

Types

Link copied to clipboard

Attaches transition capture to a model that is already built, and takes it back off again (§4.8.2).

Link copied to clipboard

A sink that keeps every record in a list.

Link copied to clipboard

A sink that discards everything.

Link copied to clipboard
class StoredTransition(val replicationId: Int, val epochIndex: Int, val time: Double, val tau: Double, val state: DoubleArray, val action: DoubleArray, val reward: Double, val successorState: DoubleArray, val terminated: Boolean, val truncated: Boolean, val repaired: Boolean, val reason: String = "", val provenance: EpochProvenance = EpochProvenance.IMMEDIATE)

One transition as read back from a TrajectoryFile.

Link copied to clipboard
class TabularSink(provenance: RunProvenance, path: Path) : TransitionSink

A durable TransitionSink: one flat table of transitions, written through KSL's TabularOutputFile, plus the provenance that makes the table readable by something that has never seen the model.

Link copied to clipboard
class TrajectoryFile(rowsPath: Path) : AutoCloseable

A trajectory read back with no live Model — which is the whole point of writing one.

Functions

Link copied to clipboard

Every DecisionElement in this model, in construction order (§4.8.2).