Class SAPEREExponentialTime

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

    
    public final class SAPEREExponentialTime
    extends ExponentialTime<T> implements SAPERETimeDistribution
                        

    Allows for a Markovian event whose lambda is computed dynamically using a rate equation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final double rate
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      double getRate()
      boolean isStatic()
      IExpression getRateEquation()
      void setMatches(Map<HashString, ITreeNode<out Object>> match)
      • Methods inherited from class it.unibo.alchemist.model.timedistributions.ExponentialTime

        cloneOnNewNode, getRate, updateStatus
      • Methods inherited from class it.unibo.alchemist.model.timedistributions.AbstractDistribution

        cloneOnNewNode, getNextOccurence, update
      • Methods inherited from class it.unibo.alchemist.model.TimeDistribution

        cloneOnNewNode
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SAPEREExponentialTime

        SAPEREExponentialTime(String rateEquation, RandomGenerator random)
        Parameters:
        rateEquation - the rate equation
        random - the RandomGenerator
      • SAPEREExponentialTime

        SAPEREExponentialTime(String rateEquation, Time start, RandomGenerator random)
        Parameters:
        rateEquation - the rate equation
        start - initial time
        random - the RandomGenerator