simulator.script
Class Period

java.lang.Object
  |
  +--simulator.script.Assertion
        |
        +--simulator.script.Period

public class Period
extends Assertion

This assertion fires periodically, every Period time units starting with time Start.

Data


Constructor Summary
Period(java.lang.String d)
          Constructor.
 
Method Summary
 boolean check()
          Checks the assertion.
 void init()
          Init.
 
Methods inherited from class simulator.script.Assertion
getData, getName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Period

public Period(java.lang.String d)
Constructor.
Method Detail

init

public void init()
Init.
Overrides:
init in class Assertion
Following copied from class: simulator.script.Assertion
See Also:
utilities.Converter#reTypeProperty

check

public boolean check()
Checks the assertion.
Overrides:
check in class Assertion
Following copied from class: simulator.script.Assertion
Returns:
True if the state monitored by the Assertion is found to be true, false otherwise.