Package dsc_suite :: Package opt :: Module evolutionary_algorithm
[hide private]
[frames] | no frames]

Module evolutionary_algorithm

source code

module evolutionary_algorithm


Author: Tobias Heimpold

Functions [hide private]
 
generate_evolution_data(functions, parameters, file_info, time_check=False)
generate_evolution_data parameter: - functions: dictionary with functions from datastructure essential keys: - "randomSolution" : returns a random representation - "changeSolution" : returns a function to change the given representation - "costEvaluation" : returns the calculated costs for the given representation - "recombineSolutions" : returns list of new representations created from the two given representations
source code
Variables [hide private]
  __package__ = 'dsc_suite.opt'
Function Details [hide private]

generate_evolution_data(functions, parameters, file_info, time_check=False)

source code 
generate_evolution_data
parameter:
- functions: dictionary with functions from datastructure
  essential keys:
   - "randomSolution" : returns a random representation
   - "changeSolution" : returns a function to change the given
                        representation
   - "costEvaluation" : returns the calculated costs for the
                        given representation
   - "recombineSolutions" : returns list of new representations created
                            from the two given representations
                            
- parameters : dictionary with algorithm parameters
  essential keys:
   - "parents" : number of parent individuals each generation
   - "children" : number of children individuals each generation
   - "generations" : number of generated generations

- file_info: dictionary with information about the file names of the data files
  essential keys:
   - "trial_name" : name of trial given in GUI
   - "file_name_list" : additional information included in file name (can be empty string)
   
- time_check: boolean
  True: estimates runtime with reduced samples
  False: full calculation with saving data to files