MCPcopy Create free account
hub / github.com/eclab/edisyn / crossover

Method crossover

edisyn/Model.java:1429–1459  ·  view source on GitHub ↗

Crosses over (potentially) only the keys provided, leaving the others alone. Crossover works as follows. For each key, we first see if we're permitted to mutate it (no immutable status, other model doesn't have the key). If so, then: We do a coin toss with WE

(Random random, Model model, String[] keys, double weight, boolean postCoinToss)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

performMixMethod · 0.95
initializeMethod · 0.80

Calls 10

getStatusMethod · 0.95
isStringMethod · 0.95
coinTossMethod · 0.95
setMethod · 0.95
reviseMutatedValueMethod · 0.95
getMethod · 0.95
setWillPushMethod · 0.80
existsMethod · 0.80
pushMethod · 0.45
fixMethod · 0.45

Tested by

no test coverage detected