public static class CartPoleDomain.CPPhysicsParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
angleRange
The maximum radius the pole can fall.
|
double |
cartFriction
The friction between the cart and ground
|
double |
cartMass
The mass of the cart.
|
double |
gravity
the force of gravity; should be *positive* for the correct mechanics.
|
double |
halfPoleLength
The half length of the pole.
|
double |
halfTrackLength |
boolean |
isFiniteTrack
Whether the track is finite (true) or infinite (false).
|
double |
maxAngleSpeed
The maximum speed of the change in angle.
|
double |
maxCartSpeed
The maximum speed of the cart.
|
double |
movementForceMag
The force magnatude that can be exterted in either direction on the cart
|
double |
poleFriction
The friction between the pole and the joint on the cart.
|
double |
poleMass
The mass of the pole.
|
double |
timeDelta
The time between each action selection
|
boolean |
useCorrectModel
Specifies whether the correct Cart Pole physical model should be used or the classic, but incorrect, Barto Sutton and Anderson model [1].
|
Constructor and Description |
---|
CPPhysicsParams() |
CPPhysicsParams(double halfTrackLength,
double angleRange,
double gravity,
double cartMass,
double poleMass,
double halfPoleLength,
double cartFriction,
double poleFriction,
double movementForceMag,
double timeDelta,
double maxCartSpeed,
double maxAngleSpeed,
boolean isFiniteTrack,
boolean useCorrectModel) |
Modifier and Type | Method and Description |
---|---|
CartPoleDomain.CPPhysicsParams |
copy() |
public double halfTrackLength
public double angleRange
public double gravity
public double cartMass
public double poleMass
public double halfPoleLength
public double cartFriction
public double poleFriction
public double movementForceMag
public double timeDelta
public double maxCartSpeed
public double maxAngleSpeed
public boolean isFiniteTrack
public boolean useCorrectModel
public CPPhysicsParams()
public CPPhysicsParams(double halfTrackLength, double angleRange, double gravity, double cartMass, double poleMass, double halfPoleLength, double cartFriction, double poleFriction, double movementForceMag, double timeDelta, double maxCartSpeed, double maxAngleSpeed, boolean isFiniteTrack, boolean useCorrectModel)
public CartPoleDomain.CPPhysicsParams copy()