|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmarkov.StatesSet<Stte>
public class StatesSet<Stte extends State>
This class represent a set of States. It is used as a convinence to build multiple destinations in the method dest.
MarkovProcess.dests(State, Event)
Constructor Summary | |
---|---|
StatesSet()
Creates an empty set of States; |
|
StatesSet(Stte s)
Creates set of States with this State; |
Method Summary | |
---|---|
boolean |
add(Stte s)
Adds the State s to the set. |
boolean |
contains(State s)
Returns true if the set contains this State. |
Stte[] |
toStateArray()
Returns an array with the States in the set. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StatesSet()
public StatesSet(Stte s)
s
- The state to include in the set.Method Detail |
---|
public boolean add(Stte s)
s
- The State to be added.
public boolean contains(State s)
public Stte[] toStateArray()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |