JGAP

org.jgap.distr.grid
Interface IRequestSplitStrategy

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FitnessSplitStrategy, MyRequestSplitStrategy, MyRequestSplitStrategy, SampleSplitStrategy

public interface IRequestSplitStrategy
extends java.io.Serializable

Interface for a strategy how to split a work request into parts. Each part will be sent to a worker as an individual work request.

Since:
3.2

Field Summary
static java.lang.String CVS_REVISION
          String containing the CVS revision.
 
Method Summary
 JGAPRequest[] split(JGAPRequest a_request)
          Creates single requests to be sent to workers.
 

Field Detail

CVS_REVISION

static final java.lang.String CVS_REVISION
String containing the CVS revision. Read out via reflection!

See Also:
Constant Field Values
Method Detail

split

JGAPRequest[] split(JGAPRequest a_request)
                    throws java.lang.Exception
Creates single requests to be sent to workers. This is done by splitting a single request into several parts. Each parts is sort of a modified clone of the original (super) request

Parameters:
a_request - the request to split
Returns:
single requests to be computed by workers
Throws:
java.lang.Exception
Since:
3.2

JGAP