public class LLVisualizer
extends java.lang.Object
LunarLanderDomain
Domain
.
The agent is rendered as a red rectangle, obstacles as black rectangles,
and the goal landing pad a blue rectangle. The agent's rectangle will be rotated according to the agent/ship's orientation.Modifier and Type | Class and Description |
---|---|
static class |
LLVisualizer.AgentPainter
Object painter for a lunar lander agent class.
|
static class |
LLVisualizer.ObstaclePainter
Object painter for obstacles of a lunar lander domain, rendered as black rectangles.
|
static class |
LLVisualizer.PadPainter
Object painter for landing pads of a lunar lander domain, rendered as blue rectangles.
|
Modifier and Type | Method and Description |
---|---|
static StateRenderLayer |
getStateRenderLayer(LunarLanderDomain.LLPhysicsParams physParams)
Returns a
StateRenderLayer a the LunarLanderDomain
using the provided LunarLanderDomain.LLPhysicsParams to define the
visualized movement space and rotation degrees. |
static Visualizer |
getVisualizer(LunarLanderDomain.LLPhysicsParams physParams)
Returns a
Visualizer a the LunarLanderDomain
using the provided LunarLanderDomain.LLPhysicsParams to define the
visualized movement space and rotation degrees. |
static Visualizer |
getVisualizer(LunarLanderDomain lld)
Returns a
Visualizer for a LunarLanderDomain using
the generator's current version of the physics parameters for defining
the visualized movement space size and rotation degrees. |
public static Visualizer getVisualizer(LunarLanderDomain lld)
Visualizer
for a LunarLanderDomain
using
the generator's current version of the physics parameters for defining
the visualized movement space size and rotation degrees.lld
- the specific lunar lander domain generator to visualizeVisualizer
for the LunarLanderDomain
public static Visualizer getVisualizer(LunarLanderDomain.LLPhysicsParams physParams)
Visualizer
a the LunarLanderDomain
using the provided LunarLanderDomain.LLPhysicsParams
to define the
visualized movement space and rotation degrees.physParams
- the LunarLanderDomain.LLPhysicsParams
specifying the visualized movement space of the domain and the rotation degreesVisualizer
for the LunarLanderDomain
public static StateRenderLayer getStateRenderLayer(LunarLanderDomain.LLPhysicsParams physParams)
StateRenderLayer
a the LunarLanderDomain
using the provided LunarLanderDomain.LLPhysicsParams
to define the
visualized movement space and rotation degrees.physParams
- the LunarLanderDomain.LLPhysicsParams
specifying the visualized movement space of the domain and the rotation degreesStateRenderLayer
for the LunarLanderDomain