|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.features.PopulationPlotter
public class PopulationPlotter
Plots all individuals in performance space, i.e. the dimensions of the plot (color for the third dimension) corresponds to performance criteria.
| Field Summary | |
|---|---|
private SimpleDataTable |
criteriaDataTable
The data table containing the individuals criteria data. |
private boolean |
drawDominated
Indicates if dominated points should also be drawn. |
private Population |
lastPopulation
The last population. |
private int |
plotGenerations
Indicates in which generations the plot should be updated. |
private SimplePlotterDialog |
plotter
The plotter. |
private boolean |
setDrawRange
Indicates if the draw range should be set. |
| Constructor Summary | |
|---|---|
PopulationPlotter()
Creates plotter panel which is repainted every generation. |
|
PopulationPlotter(int plotGenerations,
boolean setDrawRange,
boolean drawDominated)
Creates plotter panel which is repainted each plotGenerations generations. |
|
| Method Summary | |
|---|---|
static SimpleDataTable |
createDataTable(Population pop)
|
static int |
fillDataTable(SimpleDataTable dataTable,
Population pop,
boolean drawDominated)
|
java.lang.String |
getTitle(java.lang.String id)
|
void |
init()
|
boolean |
isCapableToVisualize(java.lang.String id)
|
void |
operate(Population pop)
Modifies the population. |
boolean |
performOperation(int generation)
Returns true if the current generation modulo the plotGenerations parameter is zero. |
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 |
|---|
private int plotGenerations
private SimplePlotterDialog plotter
private SimpleDataTable criteriaDataTable
private boolean setDrawRange
private boolean drawDominated
private Population lastPopulation
| Constructor Detail |
|---|
public PopulationPlotter()
public PopulationPlotter(int plotGenerations,
boolean setDrawRange,
boolean drawDominated)
| Method Detail |
|---|
public boolean performOperation(int generation)
performOperation in interface PopulationOperatorpublic void operate(Population pop)
PopulationOperator
operate in interface PopulationOperatorpublic static SimpleDataTable createDataTable(Population pop)
public static int fillDataTable(SimpleDataTable dataTable,
Population pop,
boolean drawDominated)
public void init()
init in interface ObjectVisualizerpublic boolean isCapableToVisualize(java.lang.String id)
isCapableToVisualize in interface ObjectVisualizerpublic java.lang.String getTitle(java.lang.String id)
getTitle in interface ObjectVisualizerpublic void stopVisualization(java.lang.String id)
stopVisualization in interface ObjectVisualizerpublic void startVisualization(java.lang.String id)
startVisualization in interface ObjectVisualizer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||