org.neat4j.neat.utils
Class MathUtils

java.lang.Object
  extended by org.neat4j.neat.utils.MathUtils

public class MathUtils
extends java.lang.Object

Author:
msimmerson Provides some useful maths utility methods used for creating and modifying wieghts etc

Method Summary
static double euclideanDist(double[] ePointOne, double[] ePoint2)
           
static double nextClampedDouble(double minus, double plus)
           
static double nextDouble()
           
static double nextPlusMinusOne()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextClampedDouble

public static double nextClampedDouble(double minus,
                                       double plus)

nextDouble

public static double nextDouble()

nextPlusMinusOne

public static double nextPlusMinusOne()

euclideanDist

public static double euclideanDist(double[] ePointOne,
                                   double[] ePoint2)