org.encog.ml.bayesian.query.sample
public class EventState extends Object implements Serializable
| Constructor and Description |
|---|
EventState(BayesianEvent theEvent)
Construct an event state for the specified event.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCompareValue() |
BayesianEvent |
getEvent() |
EventType |
getEventType() |
int |
getValue() |
boolean |
isCalculated() |
boolean |
isSatisfied() |
void |
randomize(int... args) |
void |
setCalculated(boolean calculated) |
void |
setCompareValue(int compareValue) |
void |
setEventType(EventType eventType) |
void |
setValue(int value) |
static String |
toSimpleString(EventState state)
Convert a state to a simple string.
|
String |
toString() |
public EventState(BayesianEvent theEvent)
theEvent - The event to create a state for.public boolean isCalculated()
public void setCalculated(boolean calculated)
calculated - the calculated to setpublic int getValue()
public void setValue(int value)
value - the value to setpublic BayesianEvent getEvent()
public EventType getEventType()
public void setEventType(EventType eventType)
eventType - the eventType to setpublic void randomize(int... args)
public int getCompareValue()
public void setCompareValue(int compareValue)
compareValue - the compareValue to setpublic boolean isSatisfied()
public static String toSimpleString(EventState state)
state - The state.Copyright © 2014. All Rights Reserved.