Class ProbabilityTrigger<T>

java.lang.Object
repast.simphony.statecharts.AbstractTrigger<T>
repast.simphony.statecharts.ProbabilityTrigger<T>
All Implemented Interfaces:
Trigger

public class ProbabilityTrigger<T> extends AbstractTrigger<T>
  • Constructor Details

    • ProbabilityTrigger

      public ProbabilityTrigger(double probability, double pollingTime)
    • ProbabilityTrigger

      public ProbabilityTrigger(double probability)
    • ProbabilityTrigger

      public ProbabilityTrigger(TriggerDoubleFunction<T> tdf)
    • ProbabilityTrigger

      public ProbabilityTrigger(TriggerDoubleFunction<T> tdf, double pollingTime)
  • Method Details

    • getParams

      protected Parameters getParams()
    • isRecurring

      public boolean isRecurring()
    • getInterval

      public double getInterval()
    • setInterval

      public void setInterval(double interval)
    • initialize

      public void initialize()
    • getNextTime

      public double getNextTime()
    • isTriggered

      public boolean isTriggered()
    • isTriggerConditionTrue

      public boolean isTriggerConditionTrue()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • canTransitionZeroTime

      public boolean canTransitionZeroTime()