:py:mod:`desdeo_emo.population.CreateIndividuals`
=================================================

.. py:module:: desdeo_emo.population.CreateIndividuals


Module Contents
---------------


Functions
~~~~~~~~~

.. autoapisummary::

   desdeo_emo.population.CreateIndividuals.create_new_individuals



.. py:function:: create_new_individuals(design, problem, pop_size=None)

   Create new individuals to the population.

   The individuals can be created randomly, by LHS design, or can be passed by the
   user.

   Design does not apply in case of EvoNN and EvoDN2 problem, where neural networks
   are created as individuals.

   :param design: Describe the method of creation of new individuals.
                  "RandomDesign" creates individuals randomly.
                  "LHSDesign" creates individuals using Latin hypercube sampling.
                  "EvoNN" creates Artificial Neural Networks as individuals.
                  "EvoDN2" creates Deep Neural Networks.
   :type design: str, optional
   :param problem: An object of the class Problem
   :type problem: baseProblem
   :param pop_size: Number of individuals in the population. If none, some default population
                    size based on number of objectives is chosen.
   :type pop_size: int, optional

   :returns: **individuals** -- A list of individuals.
   :rtype: list


