org.encog.mathutil.probability.vars
Class RandomVariable

java.lang.Object
  extended by org.encog.mathutil.probability.vars.RandomVariable
All Implemented Interfaces:
Serializable

public class RandomVariable
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
RandomVariable(String theLabel)
           
RandomVariable(String theLabel, String[] theChoices)
           
 
Method Summary
 String[] getChoices()
           
 String getLabel()
           
 boolean isBoolean()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RandomVariable

public RandomVariable(String theLabel,
                      String[] theChoices)

RandomVariable

public RandomVariable(String theLabel)
Method Detail

getLabel

public String getLabel()
Returns:
the label

toString

public String toString()
Overrides:
toString in class Object

getChoices

public String[] getChoices()
Returns:
the choices

isBoolean

public boolean isBoolean()


Copyright © 2014. All Rights Reserved.