public class PISAAlgorithm extends AbstractAlgorithm
Note that some PISA selectors parse the command line arguments using sscanf
sscanf(argv, "%s", filenamebase);On some operating systems, this will not work if the files used by PISA contain whitespace in the filename. It may be necessary to set the JVM property
java.io.tmpdirto a folder with no whitespace in the filename.
|Constructor and Description|
Constructs an adapter for a PISA selector.
|Modifier and Type||Method and Description|
Returns the current best-known result.
Performs any initialization that is required by this algorithm.
Performs one iteration of the algorithm.
Implementations should always invoke
evaluate, evaluateAll, evaluateAll, finalize, getNumberOfEvaluations, getProblem, getState, isInitialized, isTerminated, setState, step
public PISAAlgorithm(String name, Problem problem, Variation variation, Properties properties) throws IOException
name- the name of the PISA selector
problem- the problem being solved
variation- the variation operator
properties- additional properties for the PISA selector configuration file
IOException- if an I/O error occurred
public void initialize()
AbstractAlgorithm.step(), but may also be called manually prior to any invocations of
step. Implementations should always invoke
super.initialize()to ensure the hierarchy is initialized correctly.
public void terminate()
super.terminate()to ensure the hierarchy is terminated correctly. This method is automatically invoked during finalization, and need only be called directly if non-Java resources are in use.
public void iterate()
Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!