public class PickBlockNarrow extends SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>
MarkovProcess.Status| Constructor and Description |
|---|
PickBlockNarrow()
Default Constructor used by GUI
|
PickBlockNarrow(double p,
int picklocs)
General constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
active(examples.jmarkov.PickBlockNarrowState i,
examples.jmarkov.PickBlockNarrowEvent e)
Determine the active events.
|
java.lang.String |
description()
This method should be implemented by the subclass to give word
description of the model.
|
States<examples.jmarkov.PickBlockNarrowState> |
dests(examples.jmarkov.PickBlockNarrowState i,
examples.jmarkov.PickBlockNarrowEvent e)
Determines the destination set of States when events e occurs.
|
int |
getPicklocs() |
double |
getProbability() |
double |
getProbs(int i,
int j) |
static void |
main(java.lang.String[] a)
Main method.
|
int |
printMOPs(java.io.PrintWriter out,
int width,
int decimals)
Replaces the method to printo MOPs.
|
double |
rate(examples.jmarkov.PickBlockNarrowState i,
examples.jmarkov.PickBlockNarrowState j,
examples.jmarkov.PickBlockNarrowEvent e)
Returns the transition probability from State i to State j.
|
activeTransitionsaddMOP, 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, printStates, printStates, reset, resetResults, setDebugLevel, setDebugReporter, setMaxStates, setMOPs, setSteadyStateSolver, setTransientSolver, showGUI, statesLableMaxWidth, statesToString, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitequalspublic PickBlockNarrow(double p,
int picklocs)
p - Pick Probability.picklocs - Number of Pick Locationspublic PickBlockNarrow()
public boolean active(examples.jmarkov.PickBlockNarrowState i,
examples.jmarkov.PickBlockNarrowEvent e)
active in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>i - The current Statee - The current Event.public States<examples.jmarkov.PickBlockNarrowState> dests(examples.jmarkov.PickBlockNarrowState i, examples.jmarkov.PickBlockNarrowEvent e)
SimpleMarkovProcessdests in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>i - current State.e - The Event that ocurred.public double rate(examples.jmarkov.PickBlockNarrowState i,
examples.jmarkov.PickBlockNarrowState j,
examples.jmarkov.PickBlockNarrowEvent e)
rate in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>i - Current statej - Destination Statee - The occuring eventSimpleMarkovProcess.dests(State, Event)public double getProbs(int i,
int j)
public java.lang.String description()
MarkovProcessdescription in interface JMarkovElementdescription in class MarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>JMarkovElement.label()public int printMOPs(java.io.PrintWriter out,
int width,
int decimals)
toString(), which is also used in the MOP's tab in the
GUI.printMOPs in class MarkovProcess<examples.jmarkov.PickBlockNarrowState,examples.jmarkov.PickBlockNarrowEvent>out - The printer where the MOPS will be printed.width - the columns widthdecimals - the number of decimals to use.MarkovProcess.printMOPs(PrintWriter),
MarkovProcess.printMOPs(PrintWriter, int, int)public static void main(java.lang.String[] a)
a - Not used.public double getProbability()
public int getPicklocs()