Skip to content

Commit 28f4472

Browse files
authored
Update README.md
1 parent 735fc1a commit 28f4472

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The fitness values are represented by single-precision floating point numbers (f
6060
A crossover operation combines data in the hash maps of two parents, and then it creates a vector of slots according to the content of the new hash map. A crossover 'splits' hash maps of both parents in parts of random size. The number of parts is defined by the number of crossover points (plus one) in the chromosome's parameters. Then, it alternately copies parts form parents to the new chromosome, and forms a new list of slots.
6161

6262
# Mutation
63-
A mutation operation is very simple. It just takes a class randomly and moves it to another randomly chosen slot. The nmber of classes which are going to be moved in a single operation is defined by the mutation size in the chromosome's parameters.
63+
A mutation operation is very simple. It just takes a class randomly and moves it to another randomly chosen slot. The number of classes which are going to be moved in a single operation is defined by the mutation size in the chromosome's parameters.
6464

6565
# Algorithm
6666
The genetic algorithm is fairly simple. For each generation, it performs two basic operations:
@@ -113,7 +113,7 @@ If you are using Python, you would call GASchedule as follows:
113113
target_file = str(pathlib.Path().absolute()) + file_name
114114
configuration.parseFile(target_file)
115115

116-
alg = Ngra.Ngra(configuration)
116+
alg = Cso.Cso(configuration)
117117
alg.run()
118118
html_result = HtmlOutput.HtmlOutput.getResult(alg.result)
119119
```

0 commit comments

Comments
 (0)