public class EntropyGrid extends HyperHeuristicGrid
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
gridName
The name of the grid
|
errorFeedback, gridSolution, gridType, lib
Constructor and Description |
---|
EntropyGrid(java.lang.String separator)
Create a new instance of EntropyGrid.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
getClusterIndexes()
Get the grouped index sets for the input data, for each cluster.
|
java.util.ArrayList |
getClusters()
Get the list of concepts grouped together into each cluster.
|
java.util.ArrayList |
getGridCells()
Get the array of grid cell values.
|
Result |
getGridSolution()
Get the list of solutions that are part of a best match.
|
protected void |
initialiseData()
Initialise the data for solving.
|
void |
resetValues()
Reset some values
|
void |
setGridCells(java.util.ArrayList theGridCells)
Set the array of grid of cell values to process.
|
void |
setGridName(java.lang.String theGridName)
Set the name of the grid.
|
void |
solve()
Solve the currently saved grid.
|
getErrorFeedback, getGridName, getGridType
public EntropyGrid(java.lang.String separator)
separator
- the dataset value tokenizer.public void resetValues()
public void solve() throws java.lang.Exception
solve
in class HyperHeuristicGrid
java.lang.Exception
- any error.protected void initialiseData() throws java.lang.Exception
java.lang.Exception
- any error.public void setGridName(java.lang.String theGridName)
setGridName
in class HyperHeuristicGrid
theGridName
- the name of the grid.public void setGridCells(java.util.ArrayList theGridCells)
theGridCells
- the array of cell values.public java.util.ArrayList getGridCells()
public java.util.ArrayList getClusters()
public java.util.ArrayList getClusterIndexes()
public Result getGridSolution()
getGridSolution
in class HyperHeuristicGrid