Class AbstractDistribution

  • All Implemented Interfaces:
    it.unibo.alchemist.model.TimeDistribution , java.io.Serializable , java.lang.Cloneable

    
    public abstract class AbstractDistribution<T>
     implements TimeDistribution<T>
                        

    This class provides, through a template method pattern, an utility that ensures that the distribution does not trigger events before its initial scheduling time.

    • 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
      final void update(@Nonnull() Time currentTime, boolean hasBeenExecuted, double additionalParameter, @Nonnull() Environment<T, out Object> environment)
      final Time getNextOccurence()
      abstract AbstractDistribution<T> cloneOnNewNode(@Nonnull() Node<T> destination, @Nonnull() Time currentTime)
      • Methods inherited from class it.unibo.alchemist.model.TimeDistribution

        getRate
      • Methods inherited from class java.lang.Object

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