Package jline.lang.processes
Class MarkedMarkovProcess
-
- All Implemented Interfaces:
-
java.io.Serializable
public class MarkedMarkovProcess extends MarkovProcess
A class for continuous time Markov chain where transitions are labeled
-
-
Constructor Summary
Constructors Constructor Description MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs)Creates a MarkedCTMC with the specified generator, event filters, and events MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs, boolean isFinite)Creates a MarkedCTMC with the specified generator, event filters, events, and finite flag MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs, boolean isFinite, Matrix stateSpace)Creates a MarkedCTMC with the specified generator, event filters, events, finite flag, and state space
-
Method Summary
Modifier and Type Method Description MAPtoMAP(Event ev)Convert to MAP for a specific event MAPtoMAP(EventType evtype, int node, int jobclass)Convert to MAP for a specific event type, node, and class MatrixCellembeddedSolve(Array<int> evset)Solve for embedded probabilities for specified event set MatrixCellembeddedSolve()Solve for embedded probabilities for all events MatrixCellgetEventFilt()Get the event filter matrices List<Map<String, Object>>getEventList()Get the event list static MarkedMarkovProcessfromSampleSysAggr(Object sa)Create MarkedCTMC from sample system aggregation -
Methods inherited from class jline.lang.processes.MarkovProcess
fromSampleSysAggr, fromSampleSysAggr, fromSampleSysAggr, fromSampleSysAggr, getGenerator, getProbState, getProbState, getStateSpace, isFinite, rand, sample, sample, sample, setStateSpace, solve, toDTMC, toDTMC, toTimeReversed -
Methods inherited from class jline.lang.processes.Process
getName, getNumParams, getParam, name, numParams, param, sample, setParam -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
MarkedMarkovProcess
MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs)
Creates a MarkedCTMC with the specified generator, event filters, and events- Parameters:
infGen- the infinitesimal generator matrixeventFilt- the event filter matricesevs- the event list
-
MarkedMarkovProcess
MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs, boolean isFinite)
Creates a MarkedCTMC with the specified generator, event filters, events, and finite flag- Parameters:
infGen- the infinitesimal generator matrixeventFilt- the event filter matricesevs- the event listisFinite- whether the CTMC is finite
-
MarkedMarkovProcess
MarkedMarkovProcess(Matrix infGen, MatrixCell eventFilt, List<Map<String, Object>> evs, boolean isFinite, Matrix stateSpace)
Creates a MarkedCTMC with the specified generator, event filters, events, finite flag, and state space- Parameters:
infGen- the infinitesimal generator matrixeventFilt- the event filter matricesevs- the event listisFinite- whether the CTMC is finitestateSpace- the state space representation
-
-
Method Detail
-
toMAP
MAP toMAP(Event ev)
Convert to MAP for a specific event
- Parameters:
ev- the event to convert to MAP- Returns:
the MAP representation
-
toMAP
MAP toMAP(EventType evtype, int node, int jobclass)
Convert to MAP for a specific event type, node, and class
- Parameters:
evtype- the event typenode- the node indexjobclass- the job class index- Returns:
the MAP representation
-
embeddedSolve
MatrixCell embeddedSolve(Array<int> evset)
Solve for embedded probabilities for specified event set
- Parameters:
evset- the set of event indices to solve for (null for all events)- Returns:
the embedded probabilities for each event
-
embeddedSolve
MatrixCell embeddedSolve()
Solve for embedded probabilities for all events
- Returns:
the embedded probabilities for each event
-
getEventFilt
MatrixCell getEventFilt()
Get the event filter matrices
- Returns:
the event filter matrices
-
getEventList
List<Map<String, Object>> getEventList()
Get the event list
- Returns:
the event list
-
fromSampleSysAggr
static MarkedMarkovProcess fromSampleSysAggr(Object sa)
Create MarkedCTMC from sample system aggregation
- Parameters:
sa- the sample aggregation- Returns:
MarkedCTMC constructed from samples
-
-
-
-