public class PickBlockNarrowCont extends SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>
MarkovProcess.Status| Constructor and Description |
|---|
PickBlockNarrowCont()
Default Constructor used by GUI
|
PickBlockNarrowCont(double p,
int picklocs,
double pickspeed1,
double walkspeed1,
double pickspeed2,
double walkspeed2,
int[] a)
General constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
active(examples.jmarkov.PickBlockNarrowContState i,
examples.jmarkov.PickBlockNarrowContEvent 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.PickBlockNarrowContState> |
dests(examples.jmarkov.PickBlockNarrowContState i,
examples.jmarkov.PickBlockNarrowContEvent e)
Determines the destination set of States when events e occurs.
|
int |
getPicklocs() |
double |
getProbability() |
double |
getProbs(int[] i,
int[] j,
PickBlockNarrowContEvent.Type e) |
static void |
main(java.lang.String[] a)
Main method.
|
int |
printMOPs(java.io.PrintWriter out,
int width,
int decimals)
Replaces the method to print MOPs.
|
double |
rate(examples.jmarkov.PickBlockNarrowContState i,
examples.jmarkov.PickBlockNarrowContState j,
examples.jmarkov.PickBlockNarrowContEvent e)
Returns the transition probability from State i to State j, when event e occurs.
|
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 PickBlockNarrowCont(double p,
int picklocs,
double pickspeed1,
double walkspeed1,
double pickspeed2,
double walkspeed2,
int[] a)
p - Pick Probability.picklocs - Number of Pick Locationspickspeed1 - Rate of picking picks per minute for picker 1.walkspeed1 - Rate of walking past locations locations per minute for picker 1.pickspeed2 - Rate of picking picks per minute for picker 2.walkspeed2 - Rate of walking past locations locations per minute for picker 2.public PickBlockNarrowCont()
public boolean active(examples.jmarkov.PickBlockNarrowContState i,
examples.jmarkov.PickBlockNarrowContEvent e)
active in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>i - The current Statee - The current Event.public States<examples.jmarkov.PickBlockNarrowContState> dests(examples.jmarkov.PickBlockNarrowContState i, examples.jmarkov.PickBlockNarrowContEvent e)
SimpleMarkovProcessdests in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>i - current State.e - The Event that ocurred.public double rate(examples.jmarkov.PickBlockNarrowContState i,
examples.jmarkov.PickBlockNarrowContState j,
examples.jmarkov.PickBlockNarrowContEvent e)
rate in class SimpleMarkovProcess<examples.jmarkov.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>i - Current statej - Destination Statee - The occuring eventSimpleMarkovProcess.dests(State, Event)public double getProbs(int[] i,
int[] j,
PickBlockNarrowContEvent.Type e)
public java.lang.String description()
MarkovProcessdescription in interface JMarkovElementdescription in class MarkovProcess<examples.jmarkov.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>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.PickBlockNarrowContState,examples.jmarkov.PickBlockNarrowContEvent>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()