}
public MLMethod decode(final NEATPopulation pop, final Substrate substrate,
final Genome genome) {
// obtain the CPPN
final NEATCODEC neatCodec = new NEATCODEC();
final NEATNetwork cppn = (NEATNetwork) neatCodec.decode(genome);
final List<NEATLink> linkList = new ArrayList<NEATLink>();
final ActivationFunction[] afs = new ActivationFunction[substrate
.getNodeCount()];