|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmarkov.basic.Transition<S>
S
- State Classpublic final class Transition<S extends State>
This class represent a transition to a given state. It has an associated rate and state.
Constructor Summary | |
---|---|
Transition(S state,
double rate)
Basic constructor. |
Method Summary | |
---|---|
java.lang.String |
description()
This method return a complete verbal describtion of this element. |
double |
getRate()
Returns the rate. |
S |
getState()
Returns the state. |
java.lang.String |
label()
This method returns a short String used in the user interface to describe this element. |
java.lang.String |
toString()
This method returns a short String used in the user interface to describe this element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface jmarkov.basic.JMarkovElement |
---|
equals |
Constructor Detail |
---|
public Transition(S state, double rate)
state
- rate
- Method Detail |
---|
public java.lang.String label()
JMarkovElement
label
in interface JMarkovElement
JMarkovElement.description()
public java.lang.String description()
JMarkovElement
description
in interface JMarkovElement
JMarkovElement.label()
public final java.lang.String toString()
JMarkovElement
public final String toString() { return label(); }
toString
in interface JMarkovElement
toString
in class java.lang.Object
JMarkovElement.label()
public final double getRate()
public final S getState()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |