util.classificationFeatures.implementations
Class CompositionalClassificationFeatureDrawing

java.lang.Object
  extended by util.classificationFeatures.implementations.CompositionalClassificationFeatureDrawing
All Implemented Interfaces:
ClassificationFeatureDrawing

public class CompositionalClassificationFeatureDrawing
extends java.lang.Object
implements ClassificationFeatureDrawing


Constructor Summary
CompositionalClassificationFeatureDrawing(CompositionalClassificationFeature ccf)
           
 
Method Summary
 java.awt.Color createColor(double value)
           
 java.awt.Color createColor(int value)
           
 double createColorValue(double value, double maxvalue)
           
 void draw(java.awt.Graphics2D g2d, java.util.List<java.lang.Integer> list)
          This method draws the
 void draw(org.apache.batik.svggen.SVGGraphics2D svg, java.util.List<java.lang.Double> list, int blocksize, int splicesite_increase)
          This method draws the scores assigned to each feature, that is generated by this corresponding ClassificationFeature.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositionalClassificationFeatureDrawing

public CompositionalClassificationFeatureDrawing(CompositionalClassificationFeature ccf)
Method Detail

draw

public void draw(java.awt.Graphics2D g2d,
                 java.util.List<java.lang.Integer> list)
          throws IncorrectClassificationFeatureException
This method draws the

Specified by:
draw in interface ClassificationFeatureDrawing
Parameters:
g2d -
list -
Throws:
IncorrectClassificationFeatureException

draw

public void draw(org.apache.batik.svggen.SVGGraphics2D svg,
                 java.util.List<java.lang.Double> list,
                 int blocksize,
                 int splicesite_increase)
          throws IncorrectClassificationFeatureException
This method draws the scores assigned to each feature, that is generated by this corresponding ClassificationFeature. The normal idea is to let certain FeatureSelection methods assign a score to each feature, and then draw these scores in a classificationfeature dependend way.

Specified by:
draw in interface ClassificationFeatureDrawing
Parameters:
svg -
list -
Throws:
IncorrectClassificationFeatureException

createColor

public java.awt.Color createColor(double value)

createColor

public java.awt.Color createColor(int value)

createColorValue

public double createColorValue(double value,
                               double maxvalue)