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()
Statelabel in interface JMarkovElementlabel in class StateJMarkovElement.description()public int compareTo(State i)
Statepublic boolean isConsistent()
StateisConsistent in class StateState.isConsistent()public void computeMOPs(MarkovProcess<?,?> model)
StatesetMop("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 Statemodel - The model being solved.State.computeMOPs(jmarkov.MarkovProcess)