Class ArrayIndexedPriorityEpsilonBatchQueue

  • All Implemented Interfaces:
    it.unibo.alchemist.core.BatchedScheduler , it.unibo.alchemist.core.Scheduler

    
    public final class ArrayIndexedPriorityEpsilonBatchQueue<T extends Object>
     implements Scheduler<T>, BatchedScheduler<T>
                        

    Batched extension for ArrayIndexedPriorityQueue. This implementation uses epsilon-sensitivity in order to build the next batch to process. Events will be added to the batch while | tau(e1) - tau(e2) | < epsilon.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<Actionable<T>> getNextBatch() Retrieve the next scheduled batch of reactions.
      Unit updateReaction(Actionable<T> reaction)
      • Methods inherited from class it.unibo.alchemist.core.Scheduler

        addReaction, getNext, removeReaction
      • Methods inherited from class java.lang.Object

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