|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
S
- public interface Transitions<S extends State>
Method Summary | |
---|---|
boolean |
add(S state,
double rate)
Adds a ne transition to the given state |
boolean |
add(Transition<S> t)
|
double |
addRate(S state,
double rate)
Adds the given rate to the transition to this state. |
double |
getRate(S state)
Gets the rate for this state. |
int |
size()
Returns the number of Transtions represented by this object. |
Methods inherited from interface jmarkov.basic.JMarkovElement |
---|
description, equals, label, toString |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
boolean add(Transition<S> t)
t
- The trenasition to add.
boolean add(S state, double rate)
state
- State the transition goes torate
- The rate at which this transition occurs.
double addRate(S state, double rate)
state
- rate
-
double getRate(S state)
state
-
int size()
Set.size()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |