Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.mathutil.probability.vars
Class RandomVariable

    java.lang.Object
      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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.