|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfg.oc.logfileanalyzer.DataElement
public class DataElement
A DataElement
stores all classifiers sets (i. e. population,
match set, and action set) of one iteration. Each classifier set is stored in
a DefaultTableModel
that can be directly displayed in the user
interface. Furthermore, a DataElement
contains references to the
DataElement
s of the previous and next iteration.
Field Summary | |
---|---|
private DefaultTableModel |
actionSet
Contains the action set. |
private String |
input
The LCS input |
private double |
iteration
The iteration number |
private DefaultTableModel |
matchSet
Contains the match set. |
private DataElement |
nextElement
Reference to the DataElement of the next iteration |
private DefaultTableModel |
population
Contains the classifier population. |
private DataElement |
previousElement
Reference to the DataElement of the previous iteration |
Constructor Summary | |
---|---|
DataElement()
Creates an empty DataElement . |
Method Summary | |
---|---|
DefaultTableModel |
getActionSet()
Returns the DefaultTableModel containing the action set. |
String |
getInput()
Returns the input of this DataElement . |
double |
getIteration()
Returns the iteration of this DataElement . |
DefaultTableModel |
getMatchSet()
Returns the DefaultTableModel containing the match set. |
DataElement |
getNextElement()
Returns a reference to the DataElement containing the
classifier sets for the next iteration. |
DefaultTableModel |
getPopulation()
Returns the DefaultTableModel containing the population. |
DataElement |
getPreviousElement()
Returns a reference to the DataElement containing the
classifier sets for the previous iteration. |
void |
setActionSet(DefaultTableModel _actionSet)
Sets the DefaultTableModel containing the action set. |
void |
setInput(String input)
Sets the input of this DataElement . |
void |
setIteration(double _iteration)
Sets the iteration number. |
void |
setMatchSet(DefaultTableModel _matchSet)
Sets the DefaultTableModel containing the match set. |
void |
setNextElement(DataElement _element)
Sets the reference to the DataElement containing the
classifier sets for the next iteration. |
void |
setPopulation(DefaultTableModel _population)
Sets the DefaultTableModel containing the population. |
void |
setPreviousElement(DataElement _element)
Sets the reference to the DataElement containing the
classifier sets for the previous iteration. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private double iteration
private String input
private DefaultTableModel population
private DefaultTableModel matchSet
private DefaultTableModel actionSet
private DataElement nextElement
DataElement
of the next iteration
private DataElement previousElement
DataElement
of the previous iteration
Constructor Detail |
---|
public DataElement()
DataElement
.
Method Detail |
---|
public double getIteration()
DataElement
.
DataElement
public DefaultTableModel getPopulation()
DefaultTableModel
containing the population.
DefaultTableModel
containing the populationpublic DefaultTableModel getMatchSet()
DefaultTableModel
containing the match set.
DefaultTableModel
containing the match setpublic DefaultTableModel getActionSet()
DefaultTableModel
containing the action set.
DefaultTableModel
containing the action setpublic DataElement getNextElement()
DataElement
containing the
classifier sets for the next iteration. If there is no next element, the
reference points to this
. References are managed by the
DataMemory
.
DataElement
containing the classifier sets for
the next iterationpublic DataElement getPreviousElement()
DataElement
containing the
classifier sets for the previous iteration. If there is no previous
element, the reference points to this
. References are
managed by the DataMemory
.
DataElement
containing the classifier sets for
the previous iterationpublic void setNextElement(DataElement _element)
DataElement
containing the
classifier sets for the next iteration.
_element
- reference to the DataElement
containing the
classifier sets for the next iterationpublic void setPreviousElement(DataElement _element)
DataElement
containing the
classifier sets for the previous iteration.
_element
- reference to the DataElement
containing the
classifier sets for the previous iterationpublic void setIteration(double _iteration)
_iteration
- the iteration numberpublic void setPopulation(DefaultTableModel _population)
DefaultTableModel
containing the population.
_population
- the DefaultTableModel
containing the populationpublic void setMatchSet(DefaultTableModel _matchSet)
DefaultTableModel
containing the match set.
_matchSet
- the DefaultTableModel
containing the match setpublic void setActionSet(DefaultTableModel _actionSet)
DefaultTableModel
containing the action set.
_actionSet
- the DefaultTableModel
containing the action setpublic String getInput()
DataElement
.
DataElement
public void setInput(String input)
DataElement
.
input
- the input of this DataElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |