code
stringlengths
3
1.18M
language
stringclasses
1 value
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Created on Apr 12, 2005 by Philip Tucker */ package com.anji.ttt; import com.anji.tournament.Player; /** * @author Philip Tucker */ public interface BoardPlayer extends Player { /** * @param boardState * @return next move */ public int move( int[] boardState ); }
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
package com.anji.roshambo; /* * Roshambo competition bot "Mohammed Kaasch", by Tim Harbers (NL), November 2003. * * Mohammed Kaasch is partly based on Dan Egnor's "Iocaine Powder" and "Urza", made by Enno * Peter and Martijn Muurman. Thanks to them for providing lots of good ideas. * * * Working of Mohammed ...
Java
/* * Copyright (C) 2005 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
package com.anji.roshambo; import org.apache.log4j.Logger; import org.apache.log4j.PropertyConfigurator; import com.anji.Copyright; import com.anji.tournament.Game; import com.anji.tournament.GameConfiguration; import com.anji.tournament.GameResults; import com.anji.tournament.Player; import com.anji.tournament.Scori...
Java
package com.anji.roshambo; /** * This subject playes randomly with equal probabilities * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class RandomPlayer implements RoshamboPlayer { /** * @see com.anji.tournament.Player#reset() */ public void reset() { reset( 0 ); } /** * @see com.anji.roshamb...
Java
package com.anji.roshambo; import java.util.TreeMap; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ * TODO - reset fields */ public class Muto5Player implements RoshamboPlayer { int myHistory[], oppHistory[]; int lastMove; MyMethod[] methods; int trials; int score = 0; int lossStreak = 0; int las...
Java
package com.anji.roshambo; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class Tris3Player implements RoshamboPlayer { private static final int HISTORY_LENGTH = 10; // set to something between 0 and 7ish maybe int myLastMove; private int hisLastMove; private int cTrial; private HistorySta...
Java
package com.anji.roshambo; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ * TODO - reset fields */ public class MarshalbotPlayer implements RoshamboPlayer { private final int historylength = 1000; private final int nrofpatterns = 50; /** * @see com.anji.tournament.Player#reset() */ public void reset...
Java
package com.anji.roshambo; /* * ------------------------------------------------------------------------- * * GnoBot: ======= * * Toby Hudson (Australia, studying in the UK), 2003 * * This is an overhaul of Iocaine Powder by Dan Egnor (detail below) which was translated to * Java by Jeroen Donkers. * * A...
Java
package com.anji.roshambo; import com.anji.util.Configurable; import com.anji.util.Properties; /** * This subject copies the opponent's move. http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class CopyingPlayer implements RoshamboPlayer, Configurable { private final static String RAND_KEY = "copyingpl...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
package com.anji.roshambo; import com.anji.tournament.IteratedPlayer; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public interface RoshamboPlayer extends IteratedPlayer { /** * enumerated value for rock */ public final static int ROCK = 0; /** * enumerated value for paper */ public final stat...
Java
package com.anji.roshambo; import java.util.LinkedList; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class WizardexpPlayer implements RoshamboPlayer { private final static int[] LENGTHS = new int[] { 1, 5, 10, 25, 50, 100, 250, 500 }; /** * @see com.anji.tournament.Player#reset() */ publi...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
package com.anji.roshambo; /** * Urza roshambo bot by Martijn Muurman and Enno Peters 6-2002 * @author Martijn Muurman and Enno Peters */ public class UrzaPlayer implements RoshamboPlayer { private final static String NAME = "Urza"; /** * Interne structuur benodigd voor het opbouwen van een 'historie-boom' Elke ...
Java
package com.anji.roshambo; import java.util.Random; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class Coin { /** * flip biased coin: pr = probability of getting 1 * @param pr probability of returning 1 * @return 0 or 1 */ public static int flip( double pr ) { double p = rand.nextDouble...
Java
package com.anji.roshambo; /* * Entrant: Iocaine Powder (1) Dan Egnor (USA) * * Winner of the First International RoShamBo Programming Competition * * Iocaine Powder (from: http://ofb.net/~egnor/iocaine.html) * * They were both poisoned. * * Iocaine Powder is a heuristically designed compilation of strate...
Java
/* * Copyright (C) 2005 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
package com.anji.roshambo; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class DeanPlayer implements RoshamboPlayer { private final static String NAME = "Dean"; private static final int TT = 21; private Ladder in = new Ladder(), ex = new Ladder(); private int mymv; /** * @...
Java
package com.anji.roshambo; import java.util.Arrays; /** * http://www.cs.unimaas.nl/~donkers/games/roshambo03/ */ public class EnigmaPlayer implements RoshamboPlayer { int games = 0; int numberOfGames = 0; int moves = 0; int randomMoves = 0; int moveType = 0; int lookBack = 1; int lookBackSize = 16; byte res...
Java
/* * Copyright (C) 2005 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/** * ----------------------------------------------------------------------------| * Created on Apr 12, 2003 */ package com.anji.util; import java.util.ArrayList; import java.util.List; import java.util.Random; import org.jgap.ChromosomeMaterial; import org.jgap.Configuration; import org.jgap.InvalidConfiguration...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/** * ----------------------------------------------------------------------------| Created on Apr * 12, 2003 */ package com.anji.util; import java.util.Iterator; import java.util.List; import java.util.Random; import org.jgap.BulkFitnessFunction; import org.jgap.Chromosome; /** * @author Philip Tucker */ publi...
Java
/** * ----------------------------------------------------------------------------| Created on Apr * 12, 2003 */ package com.anji.util; import java.util.List; import org.jgap.Chromosome; import org.jgap.Configuration; import org.jgap.ReproductionOperator; /** * @author Philip Tucker */ public class DummyReprodu...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/* * Copyright (C) 2008 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2008 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2008 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
package com.anji.dilemma; public enum Choice { COOPERATE, DEFECT }
Java
/* * Copyright (C) 2008 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2...
Java
/* * Created on Apr 12, 2005 by Philip Tucker */ package com.anji.dilemma; import com.anji.tournament.Player; /** * @author Philip Tucker */ public interface DilemmaPlayer extends Player { /** * @param opponentPreviousChoice Opponent's previous choice. * @return Next choice. */ public Choice choose(...
Java
/* * Copyright (C) 2008 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI (Another NEAT Java * Implementation). ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software Foundation; either * version 2 of the License, o...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker This file is part of ANJI * (Another NEAT Java Implementation). ANJI is free software; you can * redistribute it and/or modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either version 2 of the * License...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the...
Java
/* * Created on Apr 10, 2005 by Philip Tucker */ package com.anji.tournament; import com.anji.util.Configurable; import com.anji.util.Properties; /** * @author Philip Tucker */ public class ScoringWeights implements Configurable { private static final String WIN_VALUE_KEY = "win.value"; private static final...
Java
/** * ----------------------------------------------------------------------------| Created on Apr * 12, 2003 */ package org.jgap.test; import java.util.Set; import org.jgap.ChromosomeMaterial; import org.jgap.Configuration; import org.jgap.MutationOperator; /** * @author Philip Tucker */ public class DummyMuta...
Java
/** * ----------------------------------------------------------------------------| * Created on Apr 12, 2003 */ package org.jgap.test; import java.util.List; import java.util.Properties; import java.util.Random; import org.jgap.BulkFitnessFunction; import org.jgap.Chromosome; /** * @author Philip Tucker */ pub...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright 2001-2003 Neil Rotstan Copyright (C) 2004 Derek James and Philip * Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser Public License as published by the Free Software * Foundation; either version 2.1 of t...
Java
/* * Copyright 2001-2003 Neil Rotstan * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of ANJI (Another NEAT Java Implementation). * * ANJI is free software; you can redistribute it and/or modify it under the terms of the GNU * General Public License as published by the Free Software Foundation; either version 2 of the *...
Java
/* * Copyright 2001-2003 Neil Rotstan Copyright (C) 2004 Derek James and Philip * Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser Public License as published by the Free Software * Foundation; either version 2.1 of t...
Java
/* * Copyright 2001-2003 Neil Rotstan Copyright (C) 2004 Derek James and Philip * Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser Public License as published by the Free Software * Foundation; either version 2.1 of t...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify * it under the terms of the GNU Lesser Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) an...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify it under the terms of the GNU * Lesser Public License as published by the Free Software Foundation; either version 2.1 of the * License, or (at your option) any ...
Java
/* * Copyright (C) 2004 Derek James and Philip Tucker * * This file is part of JGAP. * * JGAP is free software; you can redistribute it and/or modify it under the * terms of the GNU Lesser Public License as published by the Free Software * Foundation; either version 2.1 of the License, or (at your option) any ...
Java