org.apache.commons.math.optimization
Class NelderMeadTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.math.optimization.NelderMeadTest
All Implemented Interfaces:
junit.framework.Test

public class NelderMeadTest
extends junit.framework.TestCase


Constructor Summary
NelderMeadTest(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testCostExceptions()
           
 void testPowell()
           
 void testRosenbrock()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NelderMeadTest

public NelderMeadTest(java.lang.String name)
Method Detail

testCostExceptions

public void testCostExceptions()
                        throws org.apache.commons.math.ConvergenceException
Throws:
org.apache.commons.math.ConvergenceException

testRosenbrock

public void testRosenbrock()
                    throws org.apache.commons.math.optimization.CostException,
                           org.apache.commons.math.ConvergenceException,
                           org.apache.commons.math.random.NotPositiveDefiniteMatrixException
Throws:
org.apache.commons.math.optimization.CostException
org.apache.commons.math.ConvergenceException
org.apache.commons.math.random.NotPositiveDefiniteMatrixException

testPowell

public void testPowell()
                throws org.apache.commons.math.optimization.CostException,
                       org.apache.commons.math.ConvergenceException
Throws:
org.apache.commons.math.optimization.CostException
org.apache.commons.math.ConvergenceException

suite

public static junit.framework.Test suite()


Copyright © 2003-2008 The Apache Software Foundation. All Rights Reserved.