Sub
- Is the State that represents the Sub-statespublic final class GeomRelState<Sub extends State> extends State
Constructor and Description |
---|
GeomRelState(Sub subState)
Creates a boundary GeomState with the given relative level rLevel, and
subState.
|
GeomRelState(Sub subState,
int rLevel)
Creates a Non boundary GeomState with the given relative level rLevel,
and subState.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(State s)
Compares GeomStates according to rLevel first and then according to the
subStates comparator.
|
void |
computeMOPs(MarkovProcess mp)
This method should be implemented in order to compute all the measures of
performance MOPs.
|
int |
getRelLevel() |
Sub |
getSubState() |
boolean |
isBoundary()
This method determines fi the State is a boundary 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 GeomRelState(Sub subState, int rLevel)
rLevel
- subState
- public GeomRelState(Sub subState)
subState
- public int getRelLevel()
public boolean isBoundary()
public Sub getSubState()
public int compareTo(State s)
public void computeMOPs(MarkovProcess mp)
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
mp
- The model being solved.State.computeMOPs(MarkovProcess)
public java.lang.String label()
State
label
in interface JMarkovElement
label
in class State
State.label()
public boolean isConsistent()
State
isConsistent
in class State
State.isConsistent()