public interface EnvironmentServerInterface extends Environment
Environment
implementations that also can serve EnvironmentObserver
instances
about the interactions in the Environment
.Modifier and Type | Method and Description |
---|---|
void |
addObservers(EnvironmentObserver... observers)
Adds one or more
EnvironmentObserver s |
void |
clearAllObservers()
Clears all
EnvironmentObserver s from this server. |
java.util.List<EnvironmentObserver> |
observers()
Returns all
EnvironmentObserver s registered with this server. |
void |
removeObservers(EnvironmentObserver... observers)
Removes one or more
EnvironmentObserver s from this server. |
currentObservation, executeAction, isInTerminalState, lastReward, resetEnvironment
void addObservers(EnvironmentObserver... observers)
EnvironmentObserver
sobservers
- and EnvironmentObserver
void clearAllObservers()
EnvironmentObserver
s from this server.void removeObservers(EnvironmentObserver... observers)
EnvironmentObserver
s from this server.observers
- the EnvironmentObserver
s to remove.java.util.List<EnvironmentObserver> observers()
EnvironmentObserver
s registered with this server.EnvironmentObserver
s registered with this server.