BlueGit

blue-star cellular-evolution

likely/unlikely mutation effects

timfa Tim · pushed by timfa

Authored 2021-10-09 · 5 years ago

Hash
e370a484f6e6cafb76cdb772baf26c8f4a405f71
Parent
49ad94bc
1 file changed +9 −3
src/dnastring.js +9 −3
@@ -14,9 +14,9 @@
14 14 * - braincell: a cell that acts as a hybrid activator/sensor. It receives inputs like an activator would, but instead of doing something on its own, it has outbound Synapse connections of its own to one or more sensors (or other brain cells)
15 15 *
16 16 * Types of mutations that can occur:
17 * - add or remove connections between sensors and activators
18 * - add or remove cells of any type
19 * - change the strength of Synapses
17 * - add or remove connections between sensors and activators (unlikely)
18 * - add or remove cells of any type (very unlikely)
19 * - change the strength of Synapses (likely)
20 20 *
21 21 * Types of cells:
22 22 * ACTIVATORS
@@ -48,6 +48,12 @@
48 48 * Sigmoid will accept numbers from negative infinity up until positive infinity, and as such the weights of all Synapses need not be clamped. Sigmoid will always output a value between zero and one.
49 49 *
50 50 * Note that any cells which would be disconnected from the heart should be automatically removed from the DNA string
51 *
52 * --
53 *
54 * This file will handle:
55 * - Generating new DNA strings
56 * - Mutating existing DNA strings
51 57 */
52 58
53 59 function sigmoid(z)
@@ -14,9 +14,9 @@
14 * - braincell: a cell that acts as a hybrid activator/sensor. It receives inputs like an activator would, but instead of doing something on its own, it has outbound Synapse connections of its own to one or more sensors (or other brain cells)
14 * - braincell: a cell that acts as a hybrid activator/sensor. It receives inputs like an activator would, but instead of doing something on its own, it has outbound Synapse connections of its own to one or more sensors (or other brain cells)
15 *
15 *
16 * Types of mutations that can occur:
16 * Types of mutations that can occur:
17 * - add or remove connections between sensors and activators
17 * - add or remove connections between sensors and activators (unlikely)
18 * - add or remove cells of any type
18 * - add or remove cells of any type (very unlikely)
19 * - change the strength of Synapses
19 * - change the strength of Synapses (likely)
20 *
20 *
21 * Types of cells:
21 * Types of cells:
22 * ACTIVATORS
22 * ACTIVATORS
@@ -48,6 +48,12 @@
48 * Sigmoid will accept numbers from negative infinity up until positive infinity, and as such the weights of all Synapses need not be clamped. Sigmoid will always output a value between zero and one.
48 * Sigmoid will accept numbers from negative infinity up until positive infinity, and as such the weights of all Synapses need not be clamped. Sigmoid will always output a value between zero and one.
49 *
49 *
50 * Note that any cells which would be disconnected from the heart should be automatically removed from the DNA string
50 * Note that any cells which would be disconnected from the heart should be automatically removed from the DNA string
51 *
52 * --
53 *
54 * This file will handle:
55 * - Generating new DNA strings
56 * - Mutating existing DNA strings
51 */
57 */
52
58
53 function sigmoid(z)
59 function sigmoid(z)