EVolve.util.painters
Class PredictionPainter

java.lang.Object
  |
  +--EVolve.util.painters.Painter
        |
        +--EVolve.util.painters.PredictionPainter
All Implemented Interfaces:
java.lang.Cloneable
Direct Known Subclasses:
EventPredictionPainter, MissRatePainter

public class PredictionPainter
extends Painter


Field Summary
protected  java.awt.Color colorBlue
           
protected  java.awt.Color colorRed
           
protected  int[] miss
           
protected  Predictor[] predictor
           
protected  java.util.HashMap targetCheckMap
           
protected  int targetType
           
 
Constructor Summary
PredictionPainter()
           
PredictionPainter(Predictor[] predictor, int targetType)
           
 
Method Summary
 java.lang.Object clone()
           
 int[] getMiss()
           
 java.lang.String getName()
           
 void paint(AutoImage image, long x, long y, long z)
           
 void setPredictor(Predictor[] predictor, int targetType)
           
protected  boolean validateTarget(long y, long z)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colorRed

protected java.awt.Color colorRed

colorBlue

protected java.awt.Color colorBlue

predictor

protected Predictor[] predictor

miss

protected int[] miss

targetCheckMap

protected java.util.HashMap targetCheckMap

targetType

protected int targetType
Constructor Detail

PredictionPainter

public PredictionPainter()

PredictionPainter

public PredictionPainter(Predictor[] predictor,
                         int targetType)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in class Painter

paint

public void paint(AutoImage image,
                  long x,
                  long y,
                  long z)
Specified by:
paint in class Painter

getMiss

public int[] getMiss()

setPredictor

public void setPredictor(Predictor[] predictor,
                         int targetType)

validateTarget

protected boolean validateTarget(long y,
                                 long z)

clone

public java.lang.Object clone()
Overrides:
clone in class Painter