RootNode Class Reference

Class for the root node of the tree. More...

Inheritance diagram for RootNode:

Inheritance graph
[legend]
Collaboration diagram for RootNode:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 RootNode (const int nmbAssets, const double initWealth)
void make_objective_function ()
 This is the public interface to the protected make_obj_function_().

Public Attributes

MP_constraint initialBudget
 initial budget constraint


Detailed Description

Class for the root node of the tree.

Definition at line 77 of file investment.cpp.


Constructor & Destructor Documentation

RootNode::RootNode ( const int  nmbAssets,
const double  initWealth 
) [inline]

Definition at line 81 of file investment.cpp.

References StageNode::ASSETS, initialBudget, and StageNode::x.


Member Function Documentation

void RootNode::make_objective_function (  )  [inline]

This is the public interface to the protected make_obj_function_().

This is to prevent the user to call make_obj_function_() for other nodes than the root, which does not make sense.

Definition at line 90 of file investment.cpp.

References StageNode::make_obj_function_().

Referenced by main().

Here is the call graph for this function:


Member Data Documentation

MP_constraint RootNode::initialBudget

initial budget constraint

Definition at line 79 of file investment.cpp.

Referenced by RootNode().


The documentation for this class was generated from the following file:
Generated on Mon Jan 26 10:53:12 2009 for investment by  doxygen 1.5.4