edu.stanford.rsl.jpop.testing
Class FzeroTest

java.lang.Object
  extended by edu.stanford.rsl.jpop.testing.FzeroTest
All Implemented Interfaces:
SimpleOptimizableFunction

public class FzeroTest
extends java.lang.Object
implements SimpleOptimizableFunction

This class tests the Fzero class.

Version:
.5 --- April 18, 2001 Modified to fit to new API. April 25, 2010
Author:
Steve Verrill, akmaier

Method Summary
 double evaluate(double x)
          Evaluates the function at position x
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(java.lang.String[] args)

evaluate

public double evaluate(double x)
Description copied from interface: SimpleOptimizableFunction
Evaluates the function at position x

Specified by:
evaluate in interface SimpleOptimizableFunction
Parameters:
x - the position
Returns:
the value of the function