public static class MacroCellVisualizer.MacroCellRewardWeightPainter extends java.lang.Object implements StaticPainter
| Modifier and Type | Field and Description |
|---|---|
protected int |
dheight |
protected int |
dwidth |
protected double[][] |
rewardMap |
| Constructor and Description |
|---|
MacroCellVisualizer.MacroCellRewardWeightPainter(int[][] map,
MacroCellGridWorld.InMacroCellPF[] propFunctions,
java.util.Map<java.lang.String,java.lang.Double> rewardMap) |
protected int dwidth
protected int dheight
protected double[][] rewardMap
public MacroCellVisualizer.MacroCellRewardWeightPainter(int[][] map,
MacroCellGridWorld.InMacroCellPF[] propFunctions,
java.util.Map<java.lang.String,java.lang.Double> rewardMap)
public void paint(java.awt.Graphics2D g2,
State s,
float cWidth,
float cHeight)
StaticPainterpaint in interface StaticPainterg2 - graphics context to which the static data should be painteds - the state to be paintedcWidth - the width of the canvascHeight - the height of the canvas