Interface IntervalConstraint

All Superinterfaces:
AbstractConstraint, org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, EObject, de.uka.ipd.sdq.identifier.Identifier, Notifier, PolicyConstraint, TemporalConstraint
All Known Implementing Classes:
IntervalConstraintImpl

public interface IntervalConstraint extends TemporalConstraint, PolicyConstraint
A representation of the model object 'Interval Constraint'. The IntervalConstraint identifies fixed intervals in which a policy enacts adjustments. Contrary to the CooldownConstraint, the IntervalConstraint predefines the enactment of the policy in time.

The following features are supported:

See Also:
Generated class or method.
EMF model class or method.
  • Method Details

    • getOffset

      double getOffset()
      Returns the value of the 'Offset' attribute. The offset determines a period of time from which the interval constraint should begin.
      Returns:
      the value of the 'Offset' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      required="true"
    • setOffset

      void setOffset(double value)
      Sets the value of the 'Offset' attribute.
      Parameters:
      value - the new value of the 'Offset' attribute.
      See Also:
      Generated class or method.
    • getIntervalDuration

      double getIntervalDuration()
      Returns the value of the 'Interval Duration' attribute. The duration in which no enactment by the policy occurs.
      Returns:
      the value of the 'Interval Duration' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      required="true"
    • setIntervalDuration

      void setIntervalDuration(double value)
      Sets the value of the 'Interval Duration' attribute.
      Parameters:
      value - the new value of the 'Interval Duration' attribute.
      See Also:
      Generated class or method.
    • isRepeat

      boolean isRepeat()
      Returns the value of the 'Repeat' attribute. The default value is "false". The repeat property determines whether the interval constraint should repeat throughout the simulation or is applied once, which is the default case (false).
      Returns:
      the value of the 'Repeat' attribute.
      See Also:
      Generated class or method.
      EMF model class or method.
      default="false"
    • setRepeat

      void setRepeat(boolean value)
      Sets the value of the 'Repeat' attribute.
      Parameters:
      value - the new value of the 'Repeat' attribute.
      See Also:
      Generated class or method.