|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmarkov.basic.State
jmarkov.GeomRelState<Sub>
Sub - Is the State that represents the Sub-statespublic final class GeomRelState<Sub extends State>
This class is used to build destinations which are relative to a given GeomState. The user shoulld not extend this class, but rather use it when building destination states.
| Field Summary | |
|---|---|
protected boolean |
boundary
Whether it is boundary |
protected int |
rLevel
Relitive Level |
protected Sub |
subState
subState represnts the background states in every rLevel. |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class jmarkov.basic.State |
|---|
description, equals, getIndex, getMOP, getMOP, setMOP, setMOP, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int rLevel
protected boolean boundary
protected Sub extends State subState
| Constructor Detail |
|---|
public GeomRelState(Sub subState,
int rLevel)
rLevel - subState - public GeomRelState(Sub subState)
subState - | Method Detail |
|---|
public int getRelLevel()
public boolean isBoundary()
public Sub getSubState()
public int compareTo(State s)
compareTo in interface java.lang.Comparable<State>compareTo in class States - state to compare to.
Comparable.compareTo(Object)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 java.lang.String label()
State
label in interface JMarkovElementlabel in class StateState.label()public boolean isConsistent()
State
isConsistent in class StateState.isConsistent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||