Changeset 1306 for framspy/evolalg/tests


Ignore:
Timestamp:
05/13/24 03:59:10 (7 months ago)
Author:
Maciej Komosinski
Message:

Introduced symbolic names for dissimilarity estimation methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • framspy/evolalg/tests/test_diferent_settings.py

    r1296 r1306  
    33import numpy as np
    44
    5 from FramsticksLib import FramsticksLib
     5from FramsticksLib import FramsticksLib, DissimMethod
    66
    77from ..frams_base.experiment_frams_niching import ExperimentFramsNiching
     
    1414
    1515
    16 GENERATIONS = 10 
     16GENERATIONS = 10
    1717
    1818SETTINGS_TO_TEST_NUMERIC = {
     
    4747    'hof_size': [0, 10],
    4848    'normalize': ['none', 'max', 'sum'],
    49     'dissim': [-2, -1, 1, 2],
     49    'dissim': [DissimMethod.GENE_LEVENSHTEIN, DissimMethod.PHENE_STRUCT_OPTIM, DissimMethod.PHENE_DESCRIPTORS, DissimMethod.PHENE_DENSITY_FREQ],
    5050    'fit': ['niching', 'novelty', 'nsga2', 'nslc', 'raw'],
    5151    'genformat': ['1'],
Note: See TracChangeset for help on using the changeset viewer.