edu.udo.cs.yale.operator.features.aggregation
Class AggregationPopulationPlotter

java.lang.Object
  extended by edu.udo.cs.yale.operator.features.aggregation.AggregationPopulationPlotter
All Implemented Interfaces:
ObjectVisualizer

public class AggregationPopulationPlotter
extends java.lang.Object
implements ObjectVisualizer

Plots the current generation's Pareto set.

Version:
$Id: AggregationPopulationPlotter.java,v 1.4 2006/04/05 08:57:23 ingomierswa Exp $;
Author:
Ingo Mierswa

Field Summary
private  SimpleDataTable criteriaDataTable
          The data table containing the individuals criteria data.
private  FeatureGenerator generator
          The feature generator which should be used to create the individuals.
private  java.util.List<AggregationIndividual> lastPopulation
          The last population.
private  ExampleSet originalExampleSet
          The original example set.
private  SimplePlotterDialog plotter
          The plotter.
 
Constructor Summary
AggregationPopulationPlotter(ExampleSet originalExampleSet, FeatureGenerator generator)
          Creates plotter panel which is repainted every generation.
 
Method Summary
 SimpleDataTable createDataTable(java.util.List<AggregationIndividual> pop)
           
 int fillDataTable(SimpleDataTable dataTable, java.util.List<AggregationIndividual> pop)
           
 java.lang.String getTitle(java.lang.String id)
           
 void init()
           
 boolean isCapableToVisualize(java.lang.String id)
           
 void operate(java.util.List<AggregationIndividual> pop)
           
 void startVisualization(java.lang.String id)
           
 void stopVisualization(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalExampleSet

private ExampleSet originalExampleSet
The original example set.


generator

private FeatureGenerator generator
The feature generator which should be used to create the individuals.


plotter

private SimplePlotterDialog plotter
The plotter.


criteriaDataTable

private SimpleDataTable criteriaDataTable
The data table containing the individuals criteria data.


lastPopulation

private java.util.List<AggregationIndividual> lastPopulation
The last population.

Constructor Detail

AggregationPopulationPlotter

public AggregationPopulationPlotter(ExampleSet originalExampleSet,
                                    FeatureGenerator generator)
Creates plotter panel which is repainted every generation.

Method Detail

operate

public void operate(java.util.List<AggregationIndividual> pop)

createDataTable

public SimpleDataTable createDataTable(java.util.List<AggregationIndividual> pop)

fillDataTable

public int fillDataTable(SimpleDataTable dataTable,
                         java.util.List<AggregationIndividual> pop)

init

public void init()
Specified by:
init in interface ObjectVisualizer

isCapableToVisualize

public boolean isCapableToVisualize(java.lang.String id)
Specified by:
isCapableToVisualize in interface ObjectVisualizer

getTitle

public java.lang.String getTitle(java.lang.String id)
Specified by:
getTitle in interface ObjectVisualizer

stopVisualization

public void stopVisualization(java.lang.String id)
Specified by:
stopVisualization in interface ObjectVisualizer

startVisualization

public void startVisualization(java.lang.String id)
Specified by:
startVisualization in interface ObjectVisualizer


Copyright © 2001-2006