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

Class JGAPResult

  • All Implemented Interfaces:
    java.io.Serializable


    public class JGAPResult
    extends org.homedns.dade.jcgrid.WorkResult
    Holds the result of a worker.
    Since:
    3.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      JGAPResult(java.lang.String name, int id, IChromosome a_fittestChrom, long a_unitdone)
      Deprecated. 
      use other constructor with Population parameter instead
      JGAPResult(java.lang.String name, int id, Population a_chromosomes, long a_unitdone)
      Constructor: Takes a Population as result of a worker's computation.
    • Constructor Detail

      • JGAPResult

        public JGAPResult(java.lang.String name,
                          int id,
                          IChromosome a_fittestChrom,
                          long a_unitdone)
        Deprecated. use other constructor with Population parameter instead
        Parameters:
        name - String
        id - int
        a_fittestChrom - IChromosome
        a_unitdone - long
      • JGAPResult

        public JGAPResult(java.lang.String name,
                          int id,
                          Population a_chromosomes,
                          long a_unitdone)
        Constructor: Takes a Population as result of a worker's computation.
        Parameters:
        name - arbritrary session name to distinct from other results
        id - ID of the result, should be unique must need not
        a_chromosomes - the result of a worker's computation
        a_unitdone - number of units done
        Since:
        3.2
    • Method Detail

      • getFittest

        public IChromosome getFittest()
        Deprecated. use getPopulation instead
        Returns:
        IChromosome
      • getPopulation

        public Population getPopulation()
        Returns:
        the Population as a result from a worker's computation
        Since:
        3.2
      • getUnitDone

        public long getUnitDone()
        Specified by:
        getUnitDone in class org.homedns.dade.jcgrid.WorkResult

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.