| java.lang.Object org.cougaar.core.adaptivity.OMCBase org.cougaar.core.adaptivity.SensorCondition
SensorCondition | public class SensorCondition extends OMCBase implements Condition(Code) | | A class to hold a sensor condition. Most sensors will subclass
this class to add a private or package protected setValue method to
preclude arbitrary classes from messing with the value.
|
SensorCondition | public SensorCondition(String name, OMCRangeList allowedValues)(Code) | | Constructor with no specified initial value. The initial value is
set to the effective value of the allowedValues.
Parameters: name - the name of this SensorCondition Parameters: allowedValues - the list of allowed value ranges |
SensorCondition | public SensorCondition(String name, OMCRangeList allowedValues, Comparable initialValue)(Code) | | Constructor with a specified initial value.
Parameters: name - the name of this SensorCondition Parameters: allowedValues - the list of allowed value ranges Parameters: initialValue - the initial value of this OperatingMode |
|
|