| org.cougaar.planning.ldm.plan.SettableConstraintEvent
All known Subclasses: org.cougaar.planning.ldm.plan.TaskConstraintEvent,
Method Summary | |
void | setValue(double value, int constraintOrder, double slope) Sets (preferences for) the aspect value needed to satisfy the
constraint placed on the task of this event.
Parameters: value - the constraining value Parameters: constraintOrder - specifies whether the constrained valuemust be BEFORE (LESSTHAN), COINCIDENT (EQUALTO), or AFTER(GREATERTHAN) the constraining value. | void | setValue(double value) Sets (preferences for) the aspect value needed to satisfy the
constraint placed on the task of this event. |
setValue | void setValue(double value, int constraintOrder, double slope)(Code) | | Sets (preferences for) the aspect value needed to satisfy the
constraint placed on the task of this event.
Parameters: value - the constraining value Parameters: constraintOrder - specifies whether the constrained valuemust be BEFORE (LESSTHAN), COINCIDENT (EQUALTO), or AFTER(GREATERTHAN) the constraining value. The score function of thepreference is selected to achieve the constraint. Parameters: slope - specifies the rate at which the score functiondegrades on the allowed side of the constraint. The disallowedside always has a failing score. |
setValue | void setValue(double value)(Code) | | Sets (preferences for) the aspect value needed to satisfy the
constraint placed on the task of this event.
Parameters: value - the constraining value |
|
|