public class MountainCarVisualizer
extends java.lang.Object
Visualizer for a MountainCar Domain.
The agent will be drawn as a red square and the shape of the hill in a black line.| Modifier and Type | Class and Description |
|---|---|
static class |
MountainCarVisualizer.AgentPainter
Class for paining the agent in the mountain car domain.
|
static class |
MountainCarVisualizer.HillPainter
Class for drawing a black outline of the hill that the mountain car climbs.
|
| Constructor and Description |
|---|
MountainCarVisualizer() |
| Modifier and Type | Method and Description |
|---|---|
static StateRenderLayer |
getStateRenderLayer(MountainCar.MCPhysicsParams physParams)
Returns a
StateRenderLayer for a MountainCar Domain
using the hill design/physics defined in the MountainCar.MCPhysicsParams for visualization |
static Visualizer |
getVisualizer(MountainCar.MCPhysicsParams physParams)
Returns a
Visualizer for a MountainCar Domain
using the hill design/physics defined in the MountainCar.MCPhysicsParams for visualization |
static Visualizer |
getVisualizer(MountainCar mcGen)
Returns a
Visualizer for a MountainCar Domain
using the hill design/physics defined in the DomainGenerator for visualization |
public static Visualizer getVisualizer(MountainCar mcGen)
Visualizer for a MountainCar Domain
using the hill design/physics defined in the DomainGenerator for visualizationmcGen - the generator for a given mountain car domain that is to be visualized.Visualizer for the mountain car domain.public static Visualizer getVisualizer(MountainCar.MCPhysicsParams physParams)
Visualizer for a MountainCar Domain
using the hill design/physics defined in the MountainCar.MCPhysicsParams for visualizationphysParams - the physics/hill design to be visualizedVisualizer for a MountainCar Domainpublic static StateRenderLayer getStateRenderLayer(MountainCar.MCPhysicsParams physParams)
StateRenderLayer for a MountainCar Domain
using the hill design/physics defined in the MountainCar.MCPhysicsParams for visualizationphysParams - the physics/hill design to be visualizedStateRenderLayer for a MountainCar Domain