GridEngine.check_task#

abstract GridEngine.check_task() bool#

Check whether the main task of an environment has been completed by the agent.

A specific task needs to be implemented by all environments that inherit from GridEngine. The completion of the task yields the maximum reward and ends the current episode.

Returns:

True if main task was completed by the agent, False otherwise.

Return type:

bool