Package ec.gp

# Class GPNodeGatherer

java.lang.Object
ec.gp.GPNodeGatherer

All Implemented Interfaces:
  `Serializable`

public abstract class GPNodeGatherer extends Object implements Serializable
GPNodeGatherer is a small container object for the GPNode.nodeInPosition(...) method and GPNode.numNodes(...) method. It may be safely reused without being reinitialized.

See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GPNodeGatherer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `test(GPNode thisNode)`
  Returns true if thisNode is the kind of node to be considered in the gather count for nodeInPosition(...) and GPNode.numNodes(GPNodeGatherer).

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### GPNodeGatherer

    public GPNodeGatherer()

- ## Method Details

  - ### test

    public boolean test(GPNode thisNode)
    Returns true if thisNode is the kind of node to be considered in the gather count for nodeInPosition(...) and GPNode.numNodes(GPNodeGatherer). The default form simply returns true.