public class RLearner extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
RLearner() |
RLearner(int stateCount,
int actionCount) |
RLearner(int state_count,
int action_count,
double alpha,
double beta,
double rho,
double initial_Q) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(RLearner rhs) |
boolean |
equals(Object obj) |
String |
getActionSelection() |
double |
getBeta() |
QModel |
getModel() |
double |
getRho() |
RLearner |
makeCopy() |
IndexValue |
selectAction(int stateId,
Set<Integer> actionsAtState) |
void |
setActionSelection(String conf) |
void |
setBeta(double beta) |
void |
setModel(QModel model) |
void |
setRho(double rho) |
void |
update(int currentState,
int actionTaken,
int newState,
Set<Integer> actionsAtNextStateId,
double immediate_reward) |
public RLearner()
public RLearner(int stateCount,
int actionCount)
public RLearner(int state_count,
int action_count,
double alpha,
double beta,
double rho,
double initial_Q)
public RLearner makeCopy()
public void copy(RLearner rhs)
public double getRho()
public void setRho(double rho)
public double getBeta()
public void setBeta(double beta)
public QModel getModel()
public void setModel(QModel model)
public String getActionSelection()
public void setActionSelection(String conf)
public void update(int currentState,
int actionTaken,
int newState,
Set<Integer> actionsAtNextStateId,
double immediate_reward)
public IndexValue selectAction(int stateId, Set<Integer> actionsAtState)
Copyright © 2017. All rights reserved.