public class PhaseSystem extends SimpleMarkovProcess<examples.jphase.RealSystemState,examples.jphase.RealSystemEvent>
MarkovProcess.Status
Constructor and Description |
---|
PhaseSystem(ContPhaseVar[] Distributions,
double lambda,
int Max) |
Modifier and Type | Method and Description |
---|---|
boolean |
active(examples.jphase.RealSystemState i,
examples.jphase.RealSystemEvent e)
Determines the active events.
|
java.lang.String |
description()
This method should be implemented by the subclass to give word
description of the model.
|
States<examples.jphase.RealSystemState> |
dests(examples.jphase.RealSystemState i,
examples.jphase.RealSystemEvent e)
Determines the destination set of States when events e occurs.
|
static void |
main(java.lang.String[] s) |
double |
rate(examples.jphase.RealSystemState i,
examples.jphase.RealSystemState j,
examples.jphase.RealSystemEvent e)
Returns the rate to go from State i to j when Event e occurs.
|
activeTransitions
addMOP, allToString, canGo, clearMOPs, debug, debug, debug, denseMatrixToString, denseMatrixToString, eventRatesToString, eventsRatesToString, generate, getDebugLevel, getDebugReporter, getEventClass, getEventNames, getEventRate, getEvents, getEventsRates, getFinalRate, getGenerator, getMaxStates, getMOPIndex, getMOPNames, getMOPNames, getMOPsAvg, getMOPsAvg, getMOPsAvg, getMOPsMoment, getMOPsMoment, getMOPsMoment, getMtjGenerator, getMtjRates, getNumStates, getProgress, getRate, getRates, getRates, getStateClass, getStates, getStates, getStatus, getStatusMsg, getSteadyState, getSteadyStateSolver, getTransientSolver, go, goStep, hideGUI, isGenerated, killGUI, label, loadGUI, MOPsToString, MOPsToString, numMOPs, pause, printAll, printAll, printDenseMatrix, printDenseMatrix, printEventsRates, printEventsRates, printMOPs, printMOPs, printMOPs, printStates, printStates, reset, resetResults, setDebugLevel, setDebugReporter, setMaxStates, setMOPs, setSteadyStateSolver, setTransientSolver, showGUI, statesLableMaxWidth, statesToString, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals
public PhaseSystem(ContPhaseVar[] Distributions, double lambda, int Max)
Distributions
- lambda
- Max
- public boolean active(examples.jphase.RealSystemState i, examples.jphase.RealSystemEvent e)
active
in class SimpleMarkovProcess<examples.jphase.RealSystemState,examples.jphase.RealSystemEvent>
i
- The current Statee
- The current Event.public States<examples.jphase.RealSystemState> dests(examples.jphase.RealSystemState i, examples.jphase.RealSystemEvent e)
SimpleMarkovProcess
dests
in class SimpleMarkovProcess<examples.jphase.RealSystemState,examples.jphase.RealSystemEvent>
i
- current State.e
- The Event that ocurred.public double rate(examples.jphase.RealSystemState i, examples.jphase.RealSystemState j, examples.jphase.RealSystemEvent e)
SimpleMarkovProcess
e
is indeed active and j is a valid
destination.rate
in class SimpleMarkovProcess<examples.jphase.RealSystemState,examples.jphase.RealSystemEvent>
i
- Current statej
- Destination Statee
- The occuring eventSimpleMarkovProcess.dests(State, Event)
public java.lang.String description()
MarkovProcess
description
in interface JMarkovElement
description
in class MarkovProcess<examples.jphase.RealSystemState,examples.jphase.RealSystemEvent>
JMarkovElement.label()
public static void main(java.lang.String[] s)
s
-