Class Event


  • public class Event
    extends Object
    The context of a decision point during training. This includes contextual predicates and an outcome.
    • Constructor Detail

      • Event

        public Event​(String outcome,
                     String[] context)
        Instantiates an Event.
        Parameters:
        outcome - The outcome to use. Must not be null.
        context - The array of context elements. Must not be null.
      • Event

        public Event​(String outcome,
                     String[] context,
                     float[] values)
        Instantiates an Event.
        Parameters:
        outcome - The outcome to use. Must not be null.
        context - The array of context elements. Must not be null.
        values - The float array to use.
    • Method Detail

      • getOutcome

        public String getOutcome()
        Returns:
        Retrieves the outcome.
      • getContext

        public String[] getContext()
        Returns:
        Retrieves the array of context elements.
      • getValues

        public float[] getValues()
        Returns:
        Retrieves the float array.