public interface EnvironmentObserver
EnvironmentServer
which intercepts the environment interactions.Modifier and Type | Method and Description |
---|---|
void |
observeEnvironmentActionInitiation(State o,
Action action)
This method is called when an
Environment receives an action to execute, but before the
Environment has completed execution. |
void |
observeEnvironmentInteraction(EnvironmentOutcome eo)
This method is called every time an
Environment is interacted with. |
void |
observeEnvironmentReset(Environment resetEnvironment)
This method is called every time an
Environment is reset (has the Environment.resetEnvironment() method called). |
void observeEnvironmentActionInitiation(State o, Action action)
Environment
receives an action to execute, but before the
Environment
has completed execution.o
- the current Environment
observation in which the the action begins execution.action
- the Action
which will be executed in the Environment
.void observeEnvironmentInteraction(EnvironmentOutcome eo)
Environment
is interacted with.eo
- the resulting EnvironmentOutcome
void observeEnvironmentReset(Environment resetEnvironment)
Environment
is reset (has the Environment.resetEnvironment()
method called).resetEnvironment
- the Environment
that was reset.