Package org.oristool.models.stpn.trees
Class EnablingSyncsFeature
java.lang.Object
org.oristool.models.stpn.trees.EnablingSyncsFeature
- All Implemented Interfaces:
StateFeature
,Feature
State feature encoding synchronizations between enabled timers.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBuilds a deep copy of another instance. -
Method Summary
Modifier and TypeMethodDescriptiondets()
Returns the set of (initially) deterministic variables.boolean
Returns the enabling delay of a deterministic variable with respect to a general one.int
hashCode()
void
Discards all synchronization information about a variable.void
set
(Variable det, Variable gen, BigDecimal enablingTime) Returns the enabling delay of a determinstic variable with respect to a general one.toString()
-
Field Details
-
enablingSyncs
-
-
Constructor Details
-
EnablingSyncsFeature
public EnablingSyncsFeature() -
EnablingSyncsFeature
Builds a deep copy of another instance.- Parameters:
other
- input instance
-
-
Method Details
-
remove
Discards all synchronization information about a variable.- Parameters:
t
- variable to be removed
-
dets
Returns the set of (initially) deterministic variables.- Returns:
- set of deterministic variables
-
get
Returns the enabling delay of a deterministic variable with respect to a general one.- Parameters:
det
- deterministic variablegen
- general variable- Returns:
- enabling delay
-
set
Returns the enabling delay of a determinstic variable with respect to a general one.- Parameters:
det
- deterministic variablegen
- general variableenablingTime
- delay
-
equals
-
hashCode
public int hashCode() -
toString
-