Class PriorityAgenda

  • All Implemented Interfaces:
    IAgenda

    public class PriorityAgenda
    extends AbstractAgenda
    An agenda that sorts activations according to their priority.
    • Field Detail

      • activations

        protected java.util.TreeSet activations
        The activations.
      • next

        protected Activation next
        The next activation (selected by strategy or manually form outside for debugging).
      • counts

        protected java.util.Map counts
        The map containing the activation order count (for FIFO in case two activations are equal).
      • count

        protected long count
        The current count.
    • Constructor Detail

      • PriorityAgenda

        public PriorityAgenda()
        Create a new agenda.