Skip to content

Commit

Permalink
+ serialize structure mutation rate
Browse files Browse the repository at this point in the history
+ examples renamed
  • Loading branch information
chrxh committed Apr 17, 2023
1 parent 2a59fb9 commit 2d2fce5
Show file tree
Hide file tree
Showing 21 changed files with 9 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 8 additions & 1 deletion source/EngineInterface/AuxiliaryDataParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,14 @@ namespace
spot.values.cellFunctionConstructorMutationPropertiesProbability,
spot.activatedValues.cellFunctionConstructorMutationPropertiesProbability,
defaultSpot.values.cellFunctionConstructorMutationPropertiesProbability,
base + " cell.function.constructor.mutation probability.data ",
base + "cell.function.constructor.mutation probability.data ",
parserTask);
encodeDecodeSpotProperty(
tree,
spot.values.cellFunctionConstructorMutationStructureProbability,
spot.activatedValues.cellFunctionConstructorMutationStructureProbability,
defaultSpot.values.cellFunctionConstructorMutationStructureProbability,
base + "cell.function.constructor.mutation probability.structure",
parserTask);
encodeDecodeSpotProperty(
tree,
Expand Down
2 changes: 1 addition & 1 deletion source/Gui/SimulationParametersWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,7 @@ void _SimulationParametersWindow::processBase(
.min(0.00f)
.max(1.0f)
.defaultValue(origSimParameters.cellFunctionConstructorPumpEnergyFactor)
.tooltip("This parameter controls the energy pump system. It describes the fraction of energy cost for the offspring which a constructor "
.tooltip("This parameter controls the energy pump system. It describes the fraction of the energy cost for a offspring which a constructor "
"can get for free. The additional energy is obtain from radiation."),
simParameters.cellFunctionConstructorPumpEnergyFactor);
AlienImGui::SliderFloat(
Expand Down

0 comments on commit 2d2fce5

Please sign in to comment.