maxActions

Creates a policy that terminates the process after a maximum number of actions.

Return

An EarlyTerminationPolicy that enforces the action limit

Parameters

maxActions

The maximum number of actions allowed