Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
genetic-algorithms
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lennart Eichhorn
genetic-algorithms
Commits
009776c2
Commit
009776c2
authored
5 years ago
by
istkabra
Browse files
Options
Downloads
Patches
Plain Diff
* Continuing massive refactor
* Sorting and organizing properties file
parent
28054820
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/resources/genetic.properties
+52
-27
52 additions, 27 deletions
src/main/resources/genetic.properties
with
52 additions
and
27 deletions
src/main/resources/genetic.properties
+
52
−
27
View file @
009776c2
logfilePath
=
log.txt
populationSize
=
10
# Do NOT go OVER 1_000_000 generations, as the filenames don't play nice then
noGenerations
=
10
# proportional OR tournament OR onlybest
selection
=
proportional
# curl, straight, random
initializationMethod
=
curl
# Number of tournament participants
k
=
5
pointsPerBond
=
1
### Basic Initialization settings
# Variant used for the encoding [NESW | FRL]
encodingVatiant
=
NESW
# Seed for the random number generator, -1 for none
seed
=
0123210
# Guaranteed mutation in the first generation
mutationAttemptsPerCandidate
=
1
mutationChance
=
1.0
# Decline in mutation probability with generations -> ex with 0.05: 2nd 0.95, 3rd 0.9025, 4th 0.857
mutationDecline
=
0.001
crossoverAttemptsPerCandidate
=
1
crossoverChance
=
0.6
crossoverDecline
=
0.005
# For video
imageSequencePath
=
./visualization/series
videoPathAndFile
=
./visualization/video.mp4
# ms between images
imgInterval
=
100
### Algorithm settings
# Size of the population in one generation
populationSize
=
10
# Number of generations to run the algorithm for [0 - 1.000.000] -> because of filename sorting
noGenerations
=
10
# Type of population initialization [curl | straight | random]
initializationMethod
=
curl
# Type of selection that should be used [proportional | tournament | onlybest]
selection
=
proportional
# Number of tournament participants, only relevant when selection is set to tournament
k
=
5
# Type(s) of mutators to use in the algorithm, separated by comma [singlePoint / crossover]
mutatorsToUse
=
singlePoint,crossover
# Points each HH bond gives
pointsPerBond
=
1
# TODO:
createVideo
=
true
randomSeed
=
0123210
\ No newline at end of file
### Mutation settings
# How often a single point mutation should be attempted per candidate
mutationAttemptsPerCandidate
=
1
# Chance for a successful single point mutation [1.0 = 100%]
mutationChance
=
1.0
# Multiplicand for mutation probability with each generation -> ex with 0.05: 1st 1.0, 2nd 0.95, 3rd 0.9025, 4th 0.857
mutationDecline
=
0.001
# How often a crossover should be attempted per candidate
crossoverAttemptsPerCandidate
=
1
# Chance for a successful crossover [1.0 = 100%]
crossoverChance
=
0.6
# Multiplicand for mutation probability with each generation -> ex with -0.05: 1st 1.0, 2nd 1.05, 3rd 1,1025, 4th 1,157
crossoverDecline
=
0.005
### Output settings
# Path and filename for the log file, always active
logfilePath
=
log.txt
# Type(s) of visualization to enable, separated with comma [console / image / video]
visualizerType
=
image,video
# Path for the image sequence
imageSequencePath
=
./visualization/series
# Path and filename for the resulting video file
videoPathAndFile
=
./visualization/video.mp4
# ms between images in the beginning of the video
imgInterval
=
100
# Decline of interval between images to speed up later generations
imgIntervalDecline
=
0.01
# Minimum time between images
imgIntervalMin
=
10
# Zoom to the appropriate size, once no bigger proteins are going to follow
zoom
=
false
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment