|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jgap.distr.grid.gp.GridConfigurationGPBase
examples.grid.mathProblemDistributed.GridConfiguration
public class GridConfiguration
Main configuration for defining the problem and the way it is solved in the grid. Thus, the most important class in a JGAP Grid!
Constructor Summary | |
---|---|
GridConfiguration()
|
Method Summary | |
---|---|
Variable |
getVariable()
|
void |
initialize(GridNodeClientConfig a_gridconfig)
Write your initialization of the private attributes here! |
void |
setVariable(Variable a_var)
|
void |
validate()
Called immediately before starting the grid computation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GridConfiguration()
Method Detail |
---|
public void initialize(GridNodeClientConfig a_gridconfig) throws java.lang.Exception
GridConfigurationGPBase
initialize
in interface IGridConfigurationGP
initialize
in class GridConfigurationGPBase
a_gridconfig
- current grid node client configuration (provided via
the command line at startup)
java.lang.Exception
- in case of any errorpublic void validate() throws java.lang.Exception
GridConfigurationGPBase
validate
in interface IGridConfigurationGP
validate
in class GridConfigurationGPBase
java.lang.Exception
public Variable getVariable()
public void setVariable(Variable a_var)
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |