Skip to content

Commit d935bdb

Browse files
README.md
1 parent 36d25a8 commit d935bdb

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,28 @@ genetic.evolve({
160160

161161
## Prefix
162162

163+
Prefix Expression Notation
164+
165+
```
166+
+8+*8+7-80-38
167+
```
168+
169+
Postfix Expression Notation
170+
171+
```
172+
88780-+*38-++
173+
```
174+
175+
Infix Translation
176+
177+
```text
178+
Step 1: 7 + 8 = 15
179+
Step 2: 8 * 15 = 120
180+
Step 3: 3 - 8 = -5
181+
Step 4: 120 + -5 = 115
182+
Step 5: 8 + 115 = 123
183+
```
184+
163185
## Variable
164186

165187
## License

hello.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,5 +86,5 @@ genetic.evolve({
8686
mutation: 0.3,
8787
skip: 10 /* frequency for notifications */
8888
}, {
89-
solution: 'Hola, como estas? Yo espero tu sientas mas bien.'
89+
solution: 'Hello World'
9090
})

0 commit comments

Comments
 (0)