Documentation of 'org.jgap.eval.PopulationHistoryIndexed' Java class
PopulationHistoryIndexed
org.jgap.eval

Class PopulationHistoryIndexed

  • All Implemented Interfaces:
    java.io.Serializable


    public class PopulationHistoryIndexed
    extends java.lang.Object
    implements java.io.Serializable
    Manages populations. See class EvolutionMonitor for a description of events and how populations are tracked.
    Since:
    3.5
    See Also:
    Serialized Form
    • Constructor Detail

      • PopulationHistoryIndexed

        public PopulationHistoryIndexed()
        Since:
        3.5
    • Method Detail

      • addPopulation

        public void addPopulation(int a_index,
                                  int a_event,
                                  PopulationContext a_pop)
        Parameters:
        a_index - evolution number or any other appropriate index
        a_event - unique identifier of an event (if needed). See class EvolutionMonitor for event constants
        a_pop - the population to add
        Since:
        3.5
      • getPopulations

        public java.util.Map<java.lang.Integer,PopulationContext> getPopulations(int a_index)
        Parameters:
        a_index - evolution number or any other appropriate index
        Returns:
        Map with tuples
        Since:
        3.5
      • getPopulationsHistory

        public java.util.Map<java.lang.Integer,java.util.Map> getPopulationsHistory()
        Returns:
        complete population history
        Since:
        3.5
      • getPopulation

        public PopulationContext getPopulation(int a_index,
                                               int a_event)
        Parameters:
        a_index - evolution number or any other appropriate index
        a_event - unique identifier of an event (if needed). See class EvolutionMonitor for event constants
        Returns:
        the population together with its context
        Since:
        3.5

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.