Changeset 1114
- Timestamp:
- 03/24/21 22:27:53 (4 years ago)
- Location:
- framspy
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/FramsticksLib.py
r1102 r1114 26 26 EVALUATION_SETTINGS_FILE = "eval-allcriteria.sim" # MUST be compatible with the standard-eval expdef 27 27 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 28 36 29 37 def __init__(self, frams_path, frams_lib_name, simsettings): -
framspy/eval-allcriteria.sim
r1093 r1114 335 335 ncl_S1:1 336 336 ncl_Thr:1 337 # "type" is deprecated since rc19, to be removed338 type:1339 337 simil_type:1 340 338 simil_greedy_parts:0.0 -
framspy/evolalg/base/lambda_step.py
r1113 r1114 4 4 class LambdaStep(Step): 5 5 """ 6 Wrapper for lambda expressions. In "normal" mode each step is given whole population to work with. This class6 Wrapper for lambda expressions. In "normal" mode each step is given the entire population to work with. This class 7 7 helps with any Callable that accepts individuals. 8 8 -
framspy/frams-test.py
r1112 r1114 36 36 print(extValueDetails(e)) 37 37 38 print(" Now let's play with the Framsticks simulator. Let's create a Genotype object and set fields in its custom 'data' dictionary.")38 print("\nNow let's play with the Framsticks simulator. Let's create a Genotype object and set fields in its custom 'data' dictionary.") 39 39 g = frams.GenePools[0].add('X') 40 40 g.name = "Snakis Py"
Note: See TracChangeset
for help on using the changeset viewer.