tesl
Class SustainedImplication<M1 extends java.lang.Comparable<? super M1>,M2 extends java.lang.Comparable<? super M2>,M3 extends java.lang.Comparable<? super M3>,S extends java.lang.Comparable<? super S>>
java.lang.Object
tesl.ImplicationRelation
tesl.SustainedImplication<M1,M2,M3,S>
public class SustainedImplication<M1 extends java.lang.Comparable<? super M1>,M2 extends java.lang.Comparable<? super M2>,M3 extends java.lang.Comparable<? super M3>,S extends java.lang.Comparable<? super S>>
- extends ImplicationRelation
A clock implication which creates ticks on the slave at each tick of the master between a tick of start and a tick of stop.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
on_
private boolean on_
immediate_
private boolean immediate_
weak_
private boolean weak_
SustainedImplication
public SustainedImplication(Clock<M1> master,
Clock<M2> start,
Clock<M3> stop,
Clock<S> slave,
Occurrence immediate,
Preemption weak)
- Constructor
- Parameters:
master - reference clockstart - start events clockstop - stop events clockslave - slave clockimmediate - start implication immediatelyweak - abort implication weakly
SustainedImplication
public SustainedImplication(Clock<M1> master,
Clock<M2> start,
Clock<M3> stop,
Clock<S> slave)
- Constructor for a not immediate and not weak sustained implication
- Parameters:
master - clockstart - master clockstop - master clockslave -
getMasterClock
public Clock<M1> getMasterClock()
- Return the master clock, or reference clock, for the sustained implication
getStartClock
public Clock<M2> getStartClock()
- Return the start clock, for the sustained implication
getStopClock
public Clock<M3> getStopClock()
- Return the stop clock, for the sustained implication
induceTicks
public boolean induceTicks()
- Specified by:
induceTicks in class ImplicationRelation
toString
public java.lang.String toString()
- Overrides:
toString in class ImplicationRelation
backup
public ImplicationBackupInterface backup()
- Specified by:
backup in class ImplicationRelation
restore
public void restore(ImplicationBackupInterface bck)
- Specified by:
restore in class ImplicationRelation