Constructor.
The function implementing the state transition operation. Accepts the goal state, and returns a promise which is the resulting (ideally but not necessarily, the goal) state.
The initial state.
See Implementation
Constructor.