Changeset 1114 for framspy


Ignore:
Timestamp:
03/24/21 22:27:53 (4 years ago)
Author:
Maciej Komosinski
Message:

Cosmetic

Location:
framspy
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • framspy/FramsticksLib.py

    r1102 r1114  
    2626        EVALUATION_SETTINGS_FILE = "eval-allcriteria.sim"  # MUST be compatible with the standard-eval expdef
    2727
     28
     29        # This function is not needed because in python, "For efficiency reasons, each module is only imported once per interpreter session."
     30        # @staticmethod
     31        # def getFramsModuleInstance():
     32        #       """If some other party needs access to the frams module to directly access or modify Framsticks objects,
     33        #       use this function to avoid importing the "frams" module multiple times and avoid potentially initializing
     34        #       it many times."""
     35        #       return frams
    2836
    2937        def __init__(self, frams_path, frams_lib_name, simsettings):
  • framspy/eval-allcriteria.sim

    r1093 r1114  
    335335ncl_S1:1
    336336ncl_Thr:1
    337 # "type" is deprecated since rc19, to be removed
    338 type:1
    339337simil_type:1
    340338simil_greedy_parts:0.0
  • framspy/evolalg/base/lambda_step.py

    r1113 r1114  
    44class LambdaStep(Step):
    55    """
    6     Wrapper for lambda expressions. In "normal" mode each step is given whole population to work with. This class
     6    Wrapper for lambda expressions. In "normal" mode each step is given the entire population to work with. This class
    77    helps with any Callable that accepts individuals.
    88
  • framspy/frams-test.py

    r1112 r1114  
    3636        print(extValueDetails(e))
    3737
    38 print("Now let's play with the Framsticks simulator. Let's create a Genotype object and set fields in its custom 'data' dictionary.")
     38print("\nNow let's play with the Framsticks simulator. Let's create a Genotype object and set fields in its custom 'data' dictionary.")
    3939g = frams.GenePools[0].add('X')
    4040g.name = "Snakis Py"
Note: See TracChangeset for help on using the changeset viewer.