MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / eval

Method eval

src/main/java/fieldcef/plugins/Interventions.kt:165–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163
164
165 }
166
167 private fun eval(box: Box, cv: Double): Double {
168 val t = time(box)
169 return box.properties.getOr(Taps.evalInterpolation, { Function<Double, Double> { cv } }).apply(t)
170 }
171

Callers 11

engineevalMethod · 0.80
injectMethod · 0.80
completionMethod · 0.80
importsMethod · 0.80
NashornMethod · 0.80
NashornClass · 0.80
readLineMethod · 0.80
readLineMethod · 0.80
evaluateMethod · 0.80
exec2Method · 0.80

Calls 3

timeFunction · 0.85
getOrMethod · 0.80
applyMethod · 0.65

Tested by

no test coverage detected