org.moeaframework.algorithm.pisa
Class PISAAlgorithm

Algorithm for interfacing with an external PISA selector. The PISA
framework is a platform and programming language independent interface for
search algorithms. PISA separates search algorithms into selectors,
describing the optimization algorithm, and variators, describing
the optimization problem. PISA uses a file-based communication channel
between selectors and variators, which may result in excessive
communication costs, file system bottlenecks and file name collisions.
See the PISA homepage for detailed instructions.

Note that some PISA selectors parse the command line arguments using sscanf

sscanf(argv[2], "%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.tmpdir to a folder with no whitespace in the
filename.

initialize

Performs any initialization that is required by this algorithm. This
method is called automatically by the first invocation of
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.

terminate

Implementations should always invoke 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.