Package jline.lang.state
Class State
java.lang.Object
jline.lang.state.State
- All Implemented Interfaces:
Serializable
Class modeling the state of Stateful nodes
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionState
(Map<StatefulNode, Matrix> initialState, Map<StatefulNode, Matrix> priorInitialState) -
Method Summary
Modifier and TypeMethodDescriptionstatic Ret.EventResult
afterEvent
(NetworkStruct sn, int ind, Matrix inspace, EventType event, int jobClass, boolean isSimulation) static Ret.EventResult
afterEvent
(NetworkStruct sn, int ind, Matrix inspace, EventType event, int jobClass, boolean isSimulation, EventCache eventCache) static State.AfterEventResult
afterEventHashed
(NetworkStruct sn, int ind, double inhash, EventType event, int Jobclass) static int
static Matrix
fromMarginal
(NetworkStruct sn, int ind, Matrix n) static Matrix
fromMarginalAndRunning
(Network sn, int ind, Matrix n, Matrix s) static Matrix
fromMarginalAndRunning
(NetworkStruct sn, int ind, Matrix n, Matrix s) static Matrix
fromMarginalAndRunning
(NetworkStruct sn, int ind, Matrix n, Matrix s, boolean optionsForce) static Matrix
fromMarginalAndStarted
(Network network, int ind, Matrix n, Matrix s) static Matrix
fromMarginalAndStarted
(NetworkStruct sn, int ind, Matrix n, Matrix s) static Matrix
fromMarginalAndStarted
(NetworkStruct sn, int ind, Matrix n, Matrix s, Boolean optionsForce) static Matrix
fromMarginalBounds
(NetworkStruct sn, int ind, Matrix ub, double cap, SolverOptions options) static boolean
static boolean
static boolean
isValid
(NetworkStruct sn, Matrix n, Matrix s) static Matrix
spaceClosedMulti
(int M, Matrix N) static Matrix
spaceClosedMultiCS
(int M, Matrix N, Matrix chains) spaceGenerator
(NetworkStruct sn, double Cutoff, SolverOptions options) spaceGeneratorNodes
(NetworkStruct sn, Matrix cutoff, SolverOptions options) toMarginal
(NetworkStruct sn, int ind, Matrix state_i, Matrix phasesz, Matrix phaseshift, Matrix space_buf, Matrix space_srv, Matrix space_var) toMarginalAggr
(NetworkStruct sn, int ind, Matrix state_i, Matrix K, Matrix Ks, Matrix space_buf, Matrix space_srv, Matrix space_var)
-
Field Details
-
initialState
-
priorInitialState
-
-
Constructor Details
-
State
-
-
Method Details
-
toMarginal
public static State.StateMarginalStatistics toMarginal(NetworkStruct sn, int ind, Matrix state_i, Matrix phasesz, Matrix phaseshift, Matrix space_buf, Matrix space_srv, Matrix space_var) -
toMarginalAggr
public static State.StateMarginalStatistics toMarginalAggr(NetworkStruct sn, int ind, Matrix state_i, Matrix K, Matrix Ks, Matrix space_buf, Matrix space_srv, Matrix space_var) -
fromMarginalAndRunning
-
fromMarginalAndRunning
-
fromMarginalAndRunning
public static Matrix fromMarginalAndRunning(NetworkStruct sn, int ind, Matrix n, Matrix s, boolean optionsForce) -
fromMarginalAndStarted
-
fromMarginalAndStarted
-
fromMarginalAndStarted
public static Matrix fromMarginalAndStarted(NetworkStruct sn, int ind, Matrix n, Matrix s, Boolean optionsForce) -
isValid
-
isValid
-
fromMarginal
-
afterEvent
public static Ret.EventResult afterEvent(NetworkStruct sn, int ind, Matrix inspace, EventType event, int jobClass, boolean isSimulation) -
afterEvent
public static Ret.EventResult afterEvent(NetworkStruct sn, int ind, Matrix inspace, EventType event, int jobClass, boolean isSimulation, EventCache eventCache) -
isinf
-
cpos
-
afterEventHashed
public static State.AfterEventResult afterEventHashed(NetworkStruct sn, int ind, double inhash, EventType event, int Jobclass) -
spaceGenerator
public static State.StateSpaceGeneratorResult spaceGenerator(NetworkStruct sn, double Cutoff, SolverOptions options) -
spaceClosedMultiCS
-
spaceClosedMulti
-
spaceGeneratorNodes
public static State.spaceGeneratorNodesResult spaceGeneratorNodes(NetworkStruct sn, Matrix cutoff, SolverOptions options) -
fromMarginalBounds
public static Matrix fromMarginalBounds(NetworkStruct sn, int ind, Matrix ub, double cap, SolverOptions options)
-