| Package | Description |
|---|---|
| com.github.chen0040.rl.learning.actorcritic | |
| com.github.chen0040.rl.models | |
| com.github.chen0040.rl.utils |
| Modifier and Type | Method and Description |
|---|---|
void |
ActorCriticAgent.update(int actionTaken,
int newState,
double immediateReward,
Vec V) |
void |
ActorCriticAgent.update(int actionTaken,
int newState,
Set<Integer> actionsAtNewState,
double immediateReward,
Vec V) |
| Modifier and Type | Method and Description |
|---|---|
Vec |
UtilityModel.getU() |
| Modifier and Type | Method and Description |
|---|---|
void |
UtilityModel.setU(Vec U) |
| Modifier and Type | Method and Description |
|---|---|
Vec |
Vec.add(Vec rhs) |
Vec |
Matrix.getRow(int rowIndex) |
Vec |
Vec.minus(Vec rhs) |
Vec |
Vec.multiply(double rhs) |
Vec |
Matrix.multiply(Vec rhs) |
Vec |
Vec.normalize() |
Vec |
Vec.pow(double scalar) |
Vec |
Vec.projectAlong(Vec rhs) |
Vec |
Vec.projectOrthogonal(Iterable<Vec> vlist) |
Vec |
Vec.projectOrthogonal(List<Vec> vlist,
Map<Integer,Double> alpha) |
| Modifier and Type | Method and Description |
|---|---|
List<Vec> |
Matrix.columnVectors() |
HashMap<Integer,Vec> |
Matrix.getRows() |
static TupleTwo<List<Vec>,List<Double>> |
VectorUtils.normalize(Iterable<Vec> vlist) |
static List<Vec> |
VectorUtils.removeZeroVectors(Iterable<Vec> vlist) |
| Modifier and Type | Method and Description |
|---|---|
Vec |
Vec.add(Vec rhs) |
void |
Vec.copy(Vec rhs) |
Vec |
Vec.minus(Vec rhs) |
double |
Vec.multiply(Vec rhs) |
Vec |
Matrix.multiply(Vec rhs) |
Vec |
Vec.projectAlong(Vec rhs) |
void |
Matrix.setRow(int rowIndex,
Vec rowVector) |
| Modifier and Type | Method and Description |
|---|---|
static Matrix |
MatrixUtils.matrixFromColumnVectors(List<Vec> R)
Convert a list of column vectors into a matrix
|
static TupleTwo<List<Vec>,List<Double>> |
VectorUtils.normalize(Iterable<Vec> vlist) |
Vec |
Vec.projectOrthogonal(Iterable<Vec> vlist) |
Vec |
Vec.projectOrthogonal(List<Vec> vlist,
Map<Integer,Double> alpha) |
static List<Vec> |
VectorUtils.removeZeroVectors(Iterable<Vec> vlist) |
Copyright © 2017. All rights reserved.