Sub - The sub-States class used.public final class GeomState<Sub extends State> extends State
| Constructor and Description |
|---|
GeomState(Sub subState,
int level)
Creates a GeomState with the given level, ans subState.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(State s)
Compares GeomStates according to level 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.
|
java.lang.String |
description()
Returns a String that describes the State.
|
int |
getLevel() |
double |
getMOP(int index)
Gets the value of this MOP.
|
Sub |
getSubState() |
boolean |
isBoundary() |
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.
|
int |
setMOP(MarkovProcess mp,
java.lang.String mopName,
double value)
Sets the value of the MOP with this name.
|
public GeomState(Sub subState, int level)
level - subState - public int getLevel()
public boolean isBoundary()
public Sub getSubState()
public int compareTo(State s)
public void computeMOPs(MarkovProcess mp)
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 Statemp - The model being solved.State.computeMOPs(MarkovProcess)public double getMOP(int index)
StategetMOP in class StateState.getMOP(int)public java.lang.String label()
Statelabel in interface JMarkovElementlabel in class StateState.label()public int setMOP(MarkovProcess mp, java.lang.String mopName, double value)
StatesetMOP in class Statemp - The model being solved.State.setMOP(MarkovProcess,java.lang.String, double)public java.lang.String description()
Statedescription in interface JMarkovElementdescription in class StateJMarkovElement.label()public boolean isConsistent()
StateisConsistent in class StateState.isConsistent()