NLPInterfacePack_test_nlp_direct.hpp File Reference

#include <iosfwd>
#include "NLPInterfacePack_Types.hpp"

Include dependency graph for NLPInterfacePack_test_nlp_direct.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OptionsFromStreamPack
namespace  NLPInterfacePack

Functions

bool test_nlp_direct (NLPDirect *nlp, OptionsFromStreamPack::OptionsFromStream *options, std::ostream *out)
 Test an NLPDirect object.


Function Documentation

bool NLPInterfacePack::test_nlp_direct NLPDirect *  nlp,
OptionsFromStreamPack::OptionsFromStream options,
std::ostream *  out
 

Test an NLPDirect object.

Parameters:
nlp [in/out] NLP object being tested.
options [in] If options != NULL then the options to use are extracted from *options. If options == NULL then a default set of options will be used that will be appropriate for even the largest NLP (see below).
out [in/out] If out != NULL then output will be set to *out. The amount of output sent to *out depends on the options selected. If out == NULL then no output is produced.
This function uses the testing classes VectorSpaceTester NLPTester and NLPDirectTester to perform many thorough tests of an input NLPDirect object. The vector spaces exposed by NLP are thoroughly tested by the VectorSpaceTester class.

The options groups "VectorSpaceTester" (see VectorSpaceTesterSetOptions), "%NLPTester" (see NLPTesterSetOptions), "%CalcFiniteDiffProd" (see CalcFiniteDiffProdSetOptions) and "%NLPDirectTester" (see NLPDirectTesterSetOptions) are looked for in in *options (if options != NULL) in order to extract options to use for this testing function and the other testing objects.

Definition at line 48 of file NLPInterfacePack_test_nlp_direct.cpp.


Generated on Thu Sep 18 12:35:58 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1