| java.lang.Object org.cougaar.core.adaptivity.PlayBase
All known Subclasses: org.cougaar.core.adaptivity.PolicyKernel, org.cougaar.core.adaptivity.Play,
PlayBase | public class PlayBase implements java.io.Serializable(Code) | | Base class for Plays and OperatingModePolicies. Most of the
functionality of the subclasses resides here. A Play or
OperatingModePolicy has a ConstrainingClause that can be evaluated
to determine if it applies to the current Conditions and a list
(array) of operating mode constraints that specify the values that
the modes should be given.
|
PlayBase | public PlayBase(ConstrainingClause ifClause, ConstraintPhrase[] omConstraints)(Code) | | Constructor
Parameters: ifClause - the 'if' clause Parameters: omConstraints - the constraints on operating modes |
getOperatingModeConstraints | public ConstraintPhrase[] getOperatingModeConstraints()(Code) | | Gets the array of ConstraintPhrases to be applied to the
operating modes.
the array of ConstraintPhrases. |
hashCode | public int hashCode()(Code) | | |
toString | public String toString()(Code) | | Gets the Play or OperatingModePolicy as a String. The form of the
String is approximately the same as the input to the Parser.
The Play or OperatingModePolicy as a String. |
|
|