
org.deeplearning4j.rl4j.space.Encodable 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;
/**
* @author rubenfiszel ([email protected]) on 7/19/16.
* Encodable is an interface that ensure that the state is convertible to a double array
*/
public interface Encodable {
/**
* $
* encodes all the information of an Observation in an array double and can be used as input of a DQN directly
*
* @return the encoded informations
*/
double[] toArray();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy