T - public class LinearSARSA<T>
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
LinearSARSA.Features<T> |
| Constructor and Description |
|---|
LinearSARSA(LinearSARSA.Features<T> features,
double gamma,
double learnRate,
double epsilon) |
| Modifier and Type | Method and Description |
|---|---|
int |
firstAction(T state) |
int |
rewardAndNextAction(double reward,
T state) |
public LinearSARSA(LinearSARSA.Features<T> features, double gamma, double learnRate, double epsilon)