public class ActorCriticLearner extends Object implements Cloneable, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected ActionSelectionStrategy |
actionSelectionStrategy |
protected QModel |
P |
| Constructor and Description |
|---|
ActorCriticLearner() |
ActorCriticLearner(int stateCount,
int actionCount) |
ActorCriticLearner(int stateCount,
int actionCount,
double beta,
double gamma,
double initialP) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
void |
copy(ActorCriticLearner rhs) |
boolean |
equals(Object obj) |
String |
getActionSelection() |
QModel |
getP() |
int |
selectAction(int stateId) |
int |
selectAction(int stateId,
Set<Integer> actionsAtState) |
void |
setActionSelection(String conf) |
void |
setP(QModel p) |
void |
update(int currentStateId,
int currentActionId,
int newStateId,
double immediateReward,
java.util.function.Function<Integer,Double> V) |
void |
update(int currentStateId,
int currentActionId,
int newStateId,
Set<Integer> actionsAtNewState,
double immediateReward,
java.util.function.Function<Integer,Double> V) |
protected QModel P
protected ActionSelectionStrategy actionSelectionStrategy
public ActorCriticLearner()
public ActorCriticLearner(int stateCount,
int actionCount)
public ActorCriticLearner(int stateCount,
int actionCount,
double beta,
double gamma,
double initialP)
public void copy(ActorCriticLearner rhs)
public int selectAction(int stateId)
public void update(int currentStateId,
int currentActionId,
int newStateId,
double immediateReward,
java.util.function.Function<Integer,Double> V)
public void update(int currentStateId,
int currentActionId,
int newStateId,
Set<Integer> actionsAtNewState,
double immediateReward,
java.util.function.Function<Integer,Double> V)
public String getActionSelection()
public void setActionSelection(String conf)
public QModel getP()
public void setP(QModel p)
Copyright © 2017. All rights reserved.