
com.github.chen0040.rl.actionselection.ActionSelectionStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-reinforcement-learning Show documentation
Show all versions of java-reinforcement-learning Show documentation
Classical RL algorithms implemented in Java, including Q-Learn, R-Learn, SARSA, Actor-Critic
The newest version!
package com.github.chen0040.rl.actionselection;
import com.github.chen0040.rl.utils.IndexValue;
import com.github.chen0040.rl.models.QModel;
import com.github.chen0040.rl.models.UtilityModel;
import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
import java.util.Set;
/**
* Created by xschen on 9/27/2015 0027.
*/
public interface ActionSelectionStrategy extends Serializable, Cloneable {
IndexValue selectAction(int stateId, QModel model, Set actionsAtState);
IndexValue selectAction(int stateId, UtilityModel model, Set actionsAtState);
String getPrototype();
Map getAttributes();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy