S
- States setE
- Event setpublic class StateEvent<S extends State,E extends Event> extends State
Constructor and Description |
---|
StateEvent(S state,
E event)
Builds a new state with the event information
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(State i)
The method compareTo should be implemented in order to establish a total
ordering among the States.
|
void |
computeMOPs(MarkovProcess<?,?> model)
This method should be implemented in order to compute all the measures of
performance MOPs.
|
E |
getEvent()
Gets the event.
|
S |
getState()
Gets the state.
|
boolean |
isConsistent()
This method is called when a state is added to a set, if assertions are
enabled.
|
java.lang.String |
label()
Returns a (hopefully short) label that descibes the State.
|
public S getState()
public E getEvent()
public java.lang.String label()
State
label
in interface JMarkovElement
label
in class State
JMarkovElement.description()
public int compareTo(State i)
State
public boolean isConsistent()
State
isConsistent
in class State
State.isConsistent()
public void computeMOPs(MarkovProcess<?,?> model)
State
setMop("Utilization server 1", x, model);
. * For large
models override this method as empty and rather override getMOP(int). Do
NOT mix both approaches!!computeMOPs
in class State
model
- The model being solved.State.computeMOPs(jmarkov.MarkovProcess)