|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmarkov.basic.Event
public abstract class Event
The class Event allows the user to define the implementation of the Events that can alter the States of the Markov Chain.
| Constructor Summary | |
|---|---|
Event()
|
|
| Method Summary | |
|---|---|
int |
compareTo(Event ev)
Returns positive if this Event has a higher number then the given event. |
java.lang.String |
description()
It is highly recommended that the user overrides it to give a description to be used when reporting the occurrance rates of the events, and GUI. |
boolean |
equals(java.lang.Object o)
This method calls compareTo to check if the Action are equal. |
int |
getIndex()
Gives the position of the Event in the Events set. |
EventsSet |
getSet()
Returns the set of Events to which this event belongs. |
java.lang.String |
label()
If this function is not overriden by the user it returns the Event number. |
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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Event()
| Method Detail |
|---|
public EventsSet getSet()
public int getIndex()
public int compareTo(Event ev)
compareTo in interface java.lang.Comparable<Event>Comparable.compareTo(Object)public java.lang.String label()
label in interface JMarkovElementdescription()public java.lang.String description()
description in interface JMarkovElementlabel()public final java.lang.String toString()
JMarkovElement
public final String toString() {
return label();
}
toString in interface JMarkovElementtoString in class java.lang.ObjectJMarkovElement.label()public final boolean equals(java.lang.Object o)
equals in interface JMarkovElementequals in class java.lang.Objecto - The Object to compare to.
Object.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||