Class PopulationInfo


  • public final class PopulationInfo
    extends java.lang.Object
    Container for size and extra attribute (e.g. gene length average) for the whole population
    Author:
    Daniela Butano
    • Constructor Summary

      Constructors 
      Constructor Description
      PopulationInfo​(int size, float extraAttribute)
      Constructor
    • Constructor Detail

      • PopulationInfo

        public PopulationInfo​(int size,
                              float extraAttribute)
        Constructor
        Parameters:
        size - the size of the population.
        extraAttribute - The extra attribute.
    • Method Detail

      • getSize

        public int getSize()
        Returns:
        the size of the population
      • getExtraAttribute

        public float getExtraAttribute()
        Returns:
        the value of the extra attribute.