|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectexamples.grid.mathProblemDistributed.MyRequestSplitStrategy
public class MyRequestSplitStrategy
Sample implementation of IRequestSplitStrategy to split a single request into multiple requests for workers.
Constructor Summary | |
---|---|
MyRequestSplitStrategy(GPConfiguration a_config)
|
Method Summary | |
---|---|
GPConfiguration |
getConfiguration()
|
JGAPRequestGP[] |
split(JGAPRequestGP a_request)
Creates single requests to be sent to workers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MyRequestSplitStrategy(GPConfiguration a_config)
Method Detail |
---|
public GPConfiguration getConfiguration()
public JGAPRequestGP[] split(JGAPRequestGP a_request) throws java.lang.Exception
split
in interface IRequestSplitStrategyGP
a_request
- the request to split
java.lang.Exception
|
JGAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |