public interface RlAgent
| Modifier and Type | Method and Description |
|---|---|
NDList |
chooseAction(RlEnv env,
boolean training)
Chooses the next action to take within the
RlEnv. |
void |
trainBatch(RlEnv.Step[] batchSteps)
Trains this
RlAgent on a batch of RlEnv.Steps. |
NDList chooseAction(RlEnv env, boolean training)
RlEnv.env - the current environmenttraining - true if the agent is currently traningvoid trainBatch(RlEnv.Step[] batchSteps)
RlAgent on a batch of RlEnv.Steps.batchSteps - the steps to train on