add default structure for AntAgent
This commit is contained in:
@@ -7,6 +7,10 @@ public class DiscreteAction<A extends Enum> implements Action{
|
||||
this.action = action;
|
||||
}
|
||||
|
||||
public A getValue(){
|
||||
return action;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIndex(){
|
||||
return action.ordinal();
|
||||
|
||||
@@ -8,7 +8,7 @@ import lombok.Setter;
|
||||
@Setter
|
||||
@AllArgsConstructor
|
||||
public class StepResult {
|
||||
private Observation observation;
|
||||
private State observation;
|
||||
private double reward;
|
||||
private boolean done;
|
||||
private String info;
|
||||
|
||||
Reference in New Issue
Block a user