|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Dependency
This interface provides a dependency for causality interfaces as described in the paper "Causality Interfaces for Actor Networks" by Ye Zhou and Edward A. Lee, ACM Transactions on Embedded Computing Systems (TECS), April 2008, as available as Technical Report No. UCB/EECS-2006-148, November 16, 2006.
A dependency represents a causality relationship between two ports. Implementations of this interface are required to satisfy certain algebraic properties, but as long as these are satisfied, there is considerable freedom.
Red (eal) |
Yellow (eal) |
Field Summary | |
---|---|
static int |
EQUALS
Return value of compareTo() if this is equal to the argument. |
static int |
GREATER_THAN
Return value of compareTo() if this is greater than the argument. |
static int |
INCOMPARABLE
Return value of compareTo() if this is incomparable to the argument. |
static int |
LESS_THAN
Return value of compareTo() if this is less than the argument. |
Method Summary | |
---|---|
Dependency |
oPlus(Dependency d)
Return a dependency that results from parallel composition of this one and the specified one. |
Dependency |
oPlusIdentity()
Return the dependency that when added to any other dependency using oPlus() yields the other dependency. |
Dependency |
oTimes(Dependency d)
Return a dependency that results from serial composition of this one and the specified one. |
Dependency |
oTimesIdentity()
Return the dependency that when multiplied by any other dependency using oTimes() yields the other dependency. |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
static final int EQUALS
static final int GREATER_THAN
static final int INCOMPARABLE
static final int LESS_THAN
Method Detail |
---|
Dependency oPlus(Dependency d)
d
- The dependency to add.
java.lang.ClassCastException
- if d is not a BooleanDependency.Dependency oPlusIdentity()
Dependency oTimes(Dependency d)
d
- The dependency to multiply.
java.lang.ClassCastException
- if d is not a BooleanDependency.Dependency oTimesIdentity()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |