MCPcopy Create free account
hub / github.com/GMUEClab/ecj / evaluate

Method evaluate

ecj/src/main/java/ec/gp/ge/GEProblem.java:129–174  ·  view source on GitHub ↗

Default version assumes that every individual is a GEIndividual. The underlying problem.evaluate() must be prepared for the possibility that some GPIndividuals handed it are in fact null, meaning that they couldn't be extracted from the GEIndividual string. You should assign

(final EvolutionState state,
        final Individual[] ind,  // the individuals to evaluate together
        final boolean[] updateFitness,  // should this individuals' fitness be updated?
        final boolean countVictoriesOnly, // don't bother updating Fitness with socres, just victories
        final int[] subpops,
        final int threadnum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 5

mapMethod · 0.95
fatalMethod · 0.80
warnOnceMethod · 0.80
evaluateMethod · 0.65

Tested by

no test coverage detected