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

Method nodeInPosition

ecj/src/main/java/ec/gp/GPNode.java:536–540  ·  view source on GitHub ↗

Returns the p'th node, constrained by nodesearch, in the subtree for which this GPNode is root. Use numNodes(nodesearch) to determine the total number. g.test(...) is used as the constraining predicate. p ranges from 0 to this number minus 1. O(n). The resul

(int p, GPNodeGatherer g)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

getSemanticOutputMethod · 0.45
pickNodeMethod · 0.45
pickDemotableNodeMethod · 0.45

Calls 1

testMethod · 0.45

Tested by

no test coverage detected