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

Method isIdentityOrEquivalent

contrib/lambda/ec/gp/lambda/NodeCheck.java:119–128  ·  view source on GitHub ↗

Check if a lambda tree representsthe identity function. @param state @param toBchecked @return true if toBchecked is the identity function.

(final EvolutionState state,
			GPTree toBchecked)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

evaluateMethod · 0.95
evaluateMethod · 0.95

Calls 3

generateFromGPTreeMethod · 0.95
betaReduceMethod · 0.80
getIndexMethod · 0.65

Tested by

no test coverage detected