All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chen0040.rl.actionselection.ActionSelectionStrategy Maven / Gradle / Ivy

Go to download

Classical RL algorithms implemented in Java, including Q-Learn, R-Learn, SARSA, Actor-Critic

There is a newer version: 1.0.5
Show 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.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();
    HashMap getAttributes();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy