| java.lang.Object org.cougaar.planning.ldm.policy.DoubleRuleParameter
DoubleRuleParameter | public class DoubleRuleParameter implements RuleParameter,java.io.Serializable(Code) | | An DoubleRuleParameter is a RuleParameter with specified/protected
double bounds that returns a Double
|
my_max | protected double my_max(Code) | | |
my_min | protected double my_min(Code) | | |
DoubleRuleParameter | public DoubleRuleParameter(String param_name, double min, double max)(Code) | | Constructor sets min/max values and establishes value as not set
|
DoubleRuleParameter | public DoubleRuleParameter(String param_name)(Code) | | |
DoubleRuleParameter | public DoubleRuleParameter()(Code) | | |
ParameterType | public int ParameterType()(Code) | | Parameter type is DOUBLE
|
Test | public static void Test()(Code) | | |
getLowerBound | public double getLowerBound()(Code) | | |
getMax | public double getMax()(Code) | | |
getMin | public double getMin()(Code) | | |
getUpperBound | public double getUpperBound()(Code) | | |
getValue | public Object getValue()(Code) | | Get parameter value (Double)
Object parameter value (Double). Note : could be null. |
inRange | public boolean inRange(Object test_value)(Code) | | Parameters: test_value - : must be Double true if test_value is within the acceptable range |
setBounds | public void setBounds(double min, double max)(Code) | | |
setMax | public void setMax(double max)(Code) | | |
setMin | public void setMin(double min)(Code) | | |
|
|