MOEA Framework 2.12
API Specification

Package org.moeaframework.util.distributed

Classes to enable distributed computing.


Class Summary
DistributedProblem Distributes the DistributedProblem.evaluate(Solution) method across multiple threads, cores or compute nodes using the provided ExecutorService.
FutureSolution Represents a Solution evaluated asynchronously.

Package org.moeaframework.util.distributed Description

Classes to enable distributed computing. Algorithms that are naturally parallel can be parallelized using this package without altering the algorithm. This is feasible using the Future concept of blocking only when attempting to read the result and the evaluation has not yet completed. As long as the algorithm submits multiple jobs to the evaluate method prior to reading the results, the objectives and constraints, the algorithm is naturally parallel.

To use, an ExecutorService is required that will distributed the jobs to asynchronous threads, cores or compute nodes. Java frameworks such as JPPF and GridGain provide ExecutorService interfaces out-of-the-box. Then, the desired Problem is decorated with the DistributedProblem to enable parallel execution.

MOEA Framework 2.12
API Specification

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!