MPIAction
MPIAction
represents the action to be performed in a specific MPIInstruction
-
An optional type of the
MPIAction
- Example:
TakeVortex
- Example:
-
If the type is
Turn
, there is also a bearing type of theMPIAction
; otherwise, bearing type is nil.- Example:
Left
- Example:
-
referencePosition has no use cases for now.
Note
referencePosition serves as a placeholder for instruction improvements. -
If the type of an
MPIAction
isTakeVortex
orExitVortex
, fromMap represents theMPIMap
of departure; otherwise, fromMap is nil. -
If the type of an
MPIAction
isTakeVortex
orExitVortex
, toMap represents theMPIMap
of destination; otherwise, toMap is nil.