/* * Encog(tm) Examples v2.4 * http://www.heatonresearch.com/encog/ * http://code.google.com/p/encog-java/ * * Copyright 2008-2010 by Heaton Research Inc. * * Released under the LGPL. * * This is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation; either version 2.1 of * the License, or (at your option) any later version. * * This software is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this software; if not, write to the Free * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA, or see the FSF site: http://www.fsf.org. * * Encog and Heaton Research are Trademarks of Heaton Research, Inc. * For information on Heaton Research trademarks, visit: * * http://www.heatonresearch.com/copyright.html */ package org.encog.examples.unfinished.maze; public class Constants { final public static int VISION_POINTS = 12; final public static int VISION_POINT_12_OCLOCK = 0; final public static int VISION_POINT_1_OCLOCK = 1; final public static int VISION_POINT_2_OCLOCK = 2; final public static int VISION_POINT_3_OCLOCK = 3; final public static int VISION_POINT_4_OCLOCK = 4; final public static int VISION_POINT_5_OCLOCK = 5; final public static int VISION_POINT_6_OCLOCK = 6; final public static int VISION_POINT_7_OCLOCK = 7; final public static int VISION_POINT_8_OCLOCK = 8; final public static int VISION_POINT_9_OCLOCK = 9; final public static int VISION_POINT_10_OCLOCK = 10; final public static int VISION_POINT_11_OCLOCK = 11; final public static int MOTOR_NORTH = 0; final public static int MOTOR_EAST = 1; final public static int MOTOR_SOUTH = 2; final public static int MOTOR_WEST = 3; public static final int INPUT_NEURON_COUNT = VISION_POINTS; public static final int OUTPUT_NEURON_COUNT = 4; final public static double HI = 0.5; final public static double LO = -0.5; }