public interface AgentState
Agent. Classes
implementing this interface should extend Enum.
Static methods of this interface check constraints of the Agent state machine,
as documented at https://confluence.slac.stanford.edu/display/LSSTCAM/State+Diagrams.| Modifier and Type | Method and Description |
|---|---|
static boolean |
isLegal(StateBundle bundle)
Returns
true if Agent internal states in the specified bundle are consistent. |
static boolean |
isLegal(StateBundle before,
StateBundle after)
Returns
true if the transition between Agent internal states specified
by the two bundles is allowed. |
static boolean isLegal(StateBundle bundle)
true if Agent internal states in the specified bundle are consistent.bundle - state bundle to checkfalse if Agent internal state in the specified bundle violates state machine constraintsstatic boolean isLegal(StateBundle before, StateBundle after)
true if the transition between Agent internal states specified
by the two bundles is allowed.before - state before transitionafter - state after transitionfalse if the transition violates state machine constraintsCopyright © 2015 LSST. All rights reserved.