org.encog.ml.bayesian.parse

## Class ParsedEvent

- java.lang.Object
- - org.encog.ml.bayesian.parse.ParsedEvent

-     public class ParsedEvent
      extends Object

  A parsed event.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ParsedEvent(String theLabel)` Construct a parsed even with the specified label.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getLabel()`
    `List<ParsedChoice>` | `getList()`
    `String` | `getValue()`
    `int` | `resolveValue(BayesianEvent actualEvent)` Resolve the event to an actual value.
    `void` | `setValue(String value)` Set the value for this event.
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ParsedEvent

          public ParsedEvent(String theLabel)

      Construct a parsed even with the specified label.
      Parameters:
        `theLabel` -

  - ### Method Detail

    - #### getValue

          public String getValue()

      Returns:
        The value for this event, or null if undefined.

    - #### setValue

          public void setValue(String value)

      Set the value for this event.
      Parameters:
        `value` - The value for this event.

    - #### getLabel

          public String getLabel()

      Returns:
        The label for this event.

    - #### resolveValue

          public int resolveValue(BayesianEvent actualEvent)

      Resolve the event to an actual value.
      Parameters:
        `actualEvent` - The actual event.
      Returns:
        The value.

    - #### getList

          public List<ParsedChoice> getList()

      Returns:
        A list of choices.

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2014. All Rights Reserved.