public static class MountainCar.MCPhysicsParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
acceleration
The amount of acceleration of the car engine can use
|
double |
cosScale
Constant factor multiplied by the agent position inside the cosine that defines the shape of the curve.
|
double |
gravity
The force of gravity
|
double |
timeDelta
The time difference to pass in each update
|
double |
vmax
The maximum velocity of the agent
|
double |
vmin
The minimum velocity of the agent
|
double |
xmax
The maximum x position to which the agent can travel
|
double |
xmin
The minimum x position to which the agent can travel
|
Constructor and Description |
---|
MCPhysicsParams() |
Modifier and Type | Method and Description |
---|---|
MountainCar.MCPhysicsParams |
copy() |
double |
valleyPos()
Returns the position that is in the valley
|
MCState |
valleyState() |
public double xmin
public double xmax
public double cosScale
public double vmin
public double vmax
public double acceleration
public double gravity
public double timeDelta
public MountainCar.MCPhysicsParams copy()
public double valleyPos()
public MCState valleyState()