Last change
on this file since 11194 was
6152,
checked in by bfarka, 14 years ago
|
added ecj and custom statistics to communicate with the okb services #1441
|
File size:
867 bytes
|
Rev | Line | |
---|
[6152] | 1 | /* |
---|
| 2 | Copyright 2006 by Sean Luke |
---|
| 3 | Licensed under the Academic Free License version 3.0 |
---|
| 4 | See the file "LICENSE" for more information |
---|
| 5 | */ |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | package ec.gp; |
---|
| 9 | import java.io.Serializable; |
---|
| 10 | |
---|
| 11 | /* |
---|
| 12 | * GPNodeGatherer.java |
---|
| 13 | * |
---|
| 14 | * Created: Fri Nov 5 17:01:13 1999 |
---|
| 15 | * By: Sean Luke |
---|
| 16 | */ |
---|
| 17 | |
---|
| 18 | /** |
---|
| 19 | * GPNodeGatherer is a small container object for the GPNode.nodeInPosition(...) |
---|
| 20 | * method and GPNode.numNodes(...) method. |
---|
| 21 | * It may be safely reused without being reinitialized. |
---|
| 22 | * |
---|
| 23 | * @author Sean Luke |
---|
| 24 | * @version 1.0 |
---|
| 25 | */ |
---|
| 26 | |
---|
| 27 | public class GPNodeGatherer implements Serializable |
---|
| 28 | { |
---|
| 29 | public GPNode node; |
---|
| 30 | |
---|
| 31 | /** Returns true if thisNode is the kind of node to be considered in the |
---|
| 32 | gather count for nodeInPosition(...) and GPNode.numNodes(GPNodeGatherer). |
---|
| 33 | The default form simply returns true. */ |
---|
| 34 | public boolean test(final GPNode thisNode) { return true; } |
---|
| 35 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.