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

Method mutate

edisyn/Model.java:1049–1052  ·  view source on GitHub ↗

Mutates (potentially) all keys. Mutation works as follows. For each key, we first see if we're permitted to mutate it (no immutable status, no strings). If so, we divide the range into the METRIC and NON-METRIC regions. If it's all NON-METRIC, then with WEIGHT probability

(Random random, double weight)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

doNudgeMethod · 0.80
doMutateMethod · 0.80
actionPerformedMethod · 0.80
initializeMethod · 0.80
produceMethod · 0.80
constrictMethod · 0.80
randomizeCategoryMethod · 0.80

Calls 15

getKeysMethod · 0.95
existsMethod · 0.95
getStatusMethod · 0.95
isStringMethod · 0.95
minExistsMethod · 0.95
maxExistsMethod · 0.95
getMinMethod · 0.95
getMaxMethod · 0.95
metricMinExistsMethod · 0.95
metricMaxExistsMethod · 0.95
getMetricMaxMethod · 0.95
getMetricMinMethod · 0.95

Tested by

no test coverage detected