public static interface Appointable.Constraint
| Modifier and Type | Method and Description |
|---|---|
Number |
getAbove()
Returns the upper bound of the forbidden parameter space.
|
Number |
getBelow()
Returns the lower bound of the forbidden parameter space.
|
Number |
getFrom()
Returns the lower bound of the allowed parameter space.
|
Number |
getMax()
Returns the maximum of the allowed parameter space.
|
Number |
getMin()
Returns the minimum of the allowed parameter space.
|
long |
getTimeForConstraint(GlobalGrouping set,
TargetDefinition target)
Returns the remaining observing time for the target under the given
observing conditions.
|
Number |
getTo()
Returns the upper bound of the allowed parameter space.
|
String |
getValueName()
The
Value we act on. |
boolean |
isSatisfied(GlobalGrouping set,
TargetDefinition target)
Returns true, if a target can be observed under current observing
conditions considering the specific constraint.
|
Number getMin()
Number getMax()
Number getFrom()
Number getTo()
Number getBelow()
Number getAbove()
boolean isSatisfied(GlobalGrouping set, TargetDefinition target)
long getTimeForConstraint(GlobalGrouping set, TargetDefinition target)
isSatisfied(globals.GlobalGrouping, target.TargetDefinition) method, as it also gives a time. Targets that
return a value of zero here must also return false in the method
isSatisfied(globals.GlobalGrouping, target.TargetDefinition).