original_docstring: 
          Function to create a pool of random solutions of a given size.
          Used in the begining of the GA run to create intial population.
  
          Parameters:
              size (int) - the size of the population.
  
          Returns:
  
              population (list) - list containing 'n' randomly created Solution Objects, where n is the specified size.
          
docstring: Function to create a pool of random solutions of a given size.
  Used in the begining of the GA run to create intial population.
  
  size (int) - the size of the population.
  
  
  
  population (list) - list containing 'n' randomly created Solution Objects, where n is the specified size.
docstring_tokens: Function to create a pool of random solutions of a given size . Used in the begining of the GA run to create intial population . size ( int ) - the size of the population . population ( list ) - list containing ' n ' randomly created Solution Objects where n is the specified size .
code: def initializePopulation(self,size):
          """
          Function to create a pool of random solutions of a given size.
          Used in the begining of the GA run to create intial population.
  
          Parameters:
              size (int) - the size of the population.
  
          Returns:
  
              population (list) - list containing 'n' randomly created Solution Objects, where n is the specified size.
          """
  
          population = []
          
          count = 0
          while count < size:
              #Generate random solution, calculate and set Fst and Fsup values, then append to population list until its of the size we want.
  
              new = Solution.generateRandomSolution(self.students,self.supervisors)
              new.calcFitness(self.students,self.supervisors,self.rankWeights,self.fitnessCache)
              population.append(new)
              count+=1
          return population
code_tokens: def initializePopulation ( self , size ) : population = [ ] count = 0 while count < size : new = Solution . generateRandomSolution ( self . students , self . supervisors ) new . calcFitness ( self . students , self . supervisors , self . rankWeights , self . fitnessCache ) population . append ( new ) count += 1 return population
short_docstring: Function to create a pool of random solutions of a given size.
short_docstring_tokens: Function to create a pool of random solutions of a given size .
comment: """
          Function to create a pool of random solutions of a given size.
          Used in the begining of the GA run to create intial population.
  
          Parameters:
              size (int) - the size of the population.
  
          Returns:
  
              population (list) - list containing 'n' randomly created Solution Objects, where n is the specified size.
          """$SEP$#Generate random solution, calculate and set Fst and Fsup values, then append to population list until its of the size we want.