get_schema_from_action


Description:

public Schema get_schema_from_action (Action action)

Finds a schema that matches the current world state and a provided Action.

Parameters:

action An Action this schema should perform.

Returns:

A schema that performs the given Action in the current context, or null if one can't be found.