
org.deeplearning4j.rl4j.space.ActionSpace Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gym-java-client Show documentation
Show all versions of gym-java-client Show documentation
A Java client for Open AI's Reinforcement Learning Gym
package org.deeplearning4j.rl4j.space;
/**
* @param the type of Action
* @author rubenfiszel ([email protected]) on 7/8/16.
*
* Should contain contextual information about the Action space, which is the space of all the actions that could be available.
* Also must know how to return a randomly uniformly sampled action.
*/
public interface ActionSpace {
/**
* @return A randomly uniformly sampled action,
*/
A randomAction();
Object encode(A action);
int getSize();
A noOp();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy