reduce abstract method

S reduce(
  1. S currentState,
  2. A action
)

Implementation

S reduce(S currentState, A action);