public class MacroCellVisualizer extends GridWorldVisualizer
Modifier and Type | Class and Description |
---|---|
static class |
MacroCellVisualizer.MacroCellRewardWeightPainter
Class for painting the macro cells a color between white and blue, where strong blue indicates strong reward weights.
|
GridWorldVisualizer.CellPainter, GridWorldVisualizer.LocationPainter, GridWorldVisualizer.MapPainter
Constructor and Description |
---|
MacroCellVisualizer() |
Modifier and Type | Method and Description |
---|---|
static StateRenderLayer |
getStateRenderLayer(int[][] map,
MacroCellGridWorld.InMacroCellPF[] propFunctions,
java.util.Map<java.lang.String,java.lang.Double> rewardMap)
Returns a
StateRenderLayer for the Macro-Cell GridWorld Visualizer and reward weights associated with a set of MacroCell Propositional functions. |
static Visualizer |
getVisualizer(int[][] map,
MacroCellGridWorld.InMacroCellPF[] propFunctions,
java.util.Map<java.lang.String,java.lang.Double> rewardMap)
Returns a
Visualizer for the Macro-Cell GridWorld Visualizer and reward weights associated with a set of MacroCell Propositional functions. |
getRenderLayer, getRenderLayer, getVisualizer, getVisualizer
public static Visualizer getVisualizer(int[][] map, MacroCellGridWorld.InMacroCellPF[] propFunctions, java.util.Map<java.lang.String,java.lang.Double> rewardMap)
Visualizer
for the Macro-Cell GridWorld Visualizer and reward weights associated with a set of MacroCell Propositional functions.map
- a map of the grid worldpropFunctions
- the macro cell propositional functionsrewardMap
- the reward weights associated with the propositional function namesVisualizer
public static StateRenderLayer getStateRenderLayer(int[][] map, MacroCellGridWorld.InMacroCellPF[] propFunctions, java.util.Map<java.lang.String,java.lang.Double> rewardMap)
StateRenderLayer
for the Macro-Cell GridWorld Visualizer and reward weights associated with a set of MacroCell Propositional functions.map
- a map of the grid worldpropFunctions
- the macro cell propositional functionsrewardMap
- the reward weights associated with the propositional function namesStateRenderLayer