useCondition
useCondition determines the accessibility requirement for selecting a solution tier during resource
scheduling. It is the rule field of a useObject — the value
carried by useStby, useVoluntary, useExtended and useSurge on a stop type, which pairs the rule
with the context-space thresholds that also gate the tier.
Options
Section titled “Options”| Condition | Meaning |
|---|---|
NEVER | The solution tier is directly inaccessible via this stop. |
NOSOLN | Accessible only when the stop cannot be resourced through economical alternatives. |
WAITING | Accessible if the resource is WAITING to sign on (typically ST_SURGE). |
CLOSER | Accessible when the solution is significantly closer than alternatives (per useCloserMargin). |
LATE | Accessible if the alternative solution incurs positive delay costs. |
EARLIER | Accessible when the solution provides an earlier arrival than the alternative. |
SOLVE | Accessible when the stop is the primary focus of the next optimisation step (not when booking new projects). |
INIT | Accessible when booking a new project for immediate service (not for future appointments). |
APPT | Accessible at any time. |
ALWAYS | Synonym for APPT. |
Hierarchy
Section titled “Hierarchy”The options are hierarchical: each level includes all options above it. For example, selecting
CLOSER also enables WAITING and NOSOLN.
Related
Section titled “Related”- useObject — the object the rule sits in
- stopParamsObject
- Concepts