All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ec.app.lid.func.LidX Maven / Gradle / Ivy

Go to download

ECJ, A Java-based Evolutionary Computation Research System. ECJ is a research EC system written in Java. It was designed to be highly flexible, with nearly all classes (and all of their settings) dynamically determined at runtime by a user-provided parameter file. All structures in the system are arranged to be easily modifiable. Even so, the system was designed with an eye toward efficiency. ECJ is developed at George Mason University's ECLab Evolutionary Computation Laboratory. The software has nothing to do with its initials' namesake, Evolutionary Computation Journal. ECJ's sister project is MASON, a multi-agent simulation system which dovetails with ECJ nicely.

The newest version!
/*
  Copyright 2006 by Sean Luke
  Licensed under the Academic Free License version 3.0
  See the file "LICENSE" for more information
*/


package ec.app.lid.func;
import ec.*;
import ec.app.lid.*;
import ec.gp.*;
import ec.util.*;

/*
 * LidX.java
 *
 * Created: Thursday 23 November 2011
 * By: James McDermott
 */

/**
 * @author James McDermott
 */

public class LidX extends GPNode
    {
    public String toString() { return "X"; }

    public int expectedChildren() { return 0; }

    public void eval(final EvolutionState state,
        final int thread,
        final GPData input,
        final ADFStack stack,
        final GPIndividual individual,
        final Problem problem)
        {
        // No need to evaluate or look at children. Lid is only
        // about tree shape/size
        }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy