Documentation of 'org.jgap.distr.grid.SampleSplitStrategy' Java class
SampleSplitStrategy
org.jgap.distr.grid

Class SampleSplitStrategy

  • All Implemented Interfaces:
    java.io.Serializable, IRequestSplitStrategy


    public class SampleSplitStrategy
    extends java.lang.Object
    implements IRequestSplitStrategy
    Sample implementation of IRequestSplitStrategy. Here, a request is transformed into 20 single requests, each to be computed by a worker.
    Since:
    3.2
    See Also:
    Serialized Form
    • Constructor Detail

      • SampleSplitStrategy

        public SampleSplitStrategy(Configuration a_config)
    • Method Detail

      • split

        public JGAPRequest[] split(JGAPRequest a_request)
                            throws java.lang.Exception
        Creates 20 single requests out of one. The single requests are each processed by one worker at a time.
        Specified by:
        split in interface IRequestSplitStrategy
        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

You see the box below because you did not login.