OPTPP::AppLauncher Class Reference

#include <AppLauncher.h>

List of all members.

Public Member Functions

 AppLauncher ()
 AppLauncher (DOMElement *appXML, bool createDir)
 AppLauncher (DOMElement *appXML, VariableList &variables, bool createDir)
void init_app (int ndim, NEWMAT::ColumnVector &x)
void run_app (int ndim, const NEWMAT::ColumnVector &x, double &fx, int &result)
void run_app_nlncon (int ndim, int nlncons, const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &fx, int &result)
void RunFunctionEvaluation (int ndim, const NEWMAT::ColumnVector &x)
int setupin (int ndim, const NEWMAT::ColumnVector &x, const char *fileName)
int substitute_value (char *newLine, char *line, const char *pattern, double value)

Static Public Member Functions

static void init_app (int ndim, NEWMAT::ColumnVector &x, AppLauncher *launcher)
static void run_app (int ndim, const NEWMAT::ColumnVector &x, double &fx, int &result, AppLauncher *launcher)
static void run_app_nlncon (int ndim, int nlncons, const NEWMAT::ColumnVector &x, NEWMAT::ColumnVector &fx, int &result, AppLauncher *launcher)

Private Attributes

string appName_
string appInput_
string appOutput_
VariableListvariables_

Static Private Attributes

static string appDir_ = ""


Constructor & Destructor Documentation

OPTPP::AppLauncher::AppLauncher (  )  [inline]

no-arg Constructor

OPTPP::AppLauncher::AppLauncher ( DOMElement *  appXML,
bool  createDir 
)

no-variable Constructor

OPTPP::AppLauncher::AppLauncher ( DOMElement *  appXML,
VariableList variables,
bool  createDir 
)

main constructor


Member Function Documentation

static void OPTPP::AppLauncher::init_app ( int  ndim,
NEWMAT::ColumnVector &  x,
AppLauncher launcher 
) [inline, static]

Static method for init_app which can be used by OPT++

void OPTPP::AppLauncher::init_app ( int  ndim,
NEWMAT::ColumnVector &  x 
)

Returns the initial Values in x

static void OPTPP::AppLauncher::run_app ( int  ndim,
const NEWMAT::ColumnVector &  x,
double &  fx,
int &  result,
AppLauncher launcher 
) [inline, static]

static method for run_app which can be used by OPT++

void OPTPP::AppLauncher::run_app ( int  ndim,
const NEWMAT::ColumnVector &  x,
double &  fx,
int &  result 
)

Evaluates the Application function

static void OPTPP::AppLauncher::run_app_nlncon ( int  ndim,
int  nlncons,
const NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  fx,
int &  result,
AppLauncher launcher 
) [inline, static]

Static method for run_app_nlncon which can be used by OPT++

void OPTPP::AppLauncher::run_app_nlncon ( int  ndim,
int  nlncons,
const NEWMAT::ColumnVector &  x,
NEWMAT::ColumnVector &  fx,
int &  result 
)

Evaluates an Application NonLinearConstraint

void OPTPP::AppLauncher::RunFunctionEvaluation ( int  ndim,
const NEWMAT::ColumnVector &  x 
)

Actually Launches the Application and gathers results

int OPTPP::AppLauncher::setupin ( int  ndim,
const NEWMAT::ColumnVector &  x,
const char *  fileName 
)

int OPTPP::AppLauncher::substitute_value ( char *  newLine,
char *  line,
const char *  pattern,
double  value 
)


Member Data Documentation

string OPTPP::AppLauncher::appDir_ = "" [static, private]

string OPTPP::AppLauncher::appInput_ [private]

string OPTPP::AppLauncher::appName_ [private]

string OPTPP::AppLauncher::appOutput_ [private]

VariableList* OPTPP::AppLauncher::variables_ [private]


The documentation for this class was generated from the following files:
Bug Reports    OPT++ Developers    Copyright Information    GNU Lesser General Public License
Documentation, generated by , last revised August 30, 2006.