org.jgap.distr.grid
Interface IRequestSplitStrategy
-
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- SampleSplitStrategy
public interface IRequestSplitStrategy extends java.io.SerializableInterface 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
Fields Modifier and Type Field and Description static java.lang.StringCVS_REVISIONString containing the CVS revision.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description 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
-
-
DMelt 3.0 © DataMelt by jWork.ORG