Link list. More...
#include <fvar.hpp>
Public Member Functions | |
| dlist () | |
| Default constructor. | |
| ~dlist () | |
| Destructor. | |
| dlink * | append (dlink *link) |
| Append link to list. | |
| void | check_list (void) |
| Check link list integrity. | |
| dlink * | create () |
| Create unlinked new node. | |
| void | initialize () |
| dlink * | last_remove () |
| If list is not empty, pop and return last node. | |
| void | restore_variables () |
| Restore variables from buffer. | |
| void | save_variables () |
| Save variables to a buffer. | |
| size_t | total_addresses () const |
| Get total addresses stored. | |
Private Attributes | |
| char * | ddlist_space |
| dlink ** | dlink_addresses |
| dlink * | last |
| unsigned int | nlinks |
| double * | variables_save |
Friends | |
| void | allocate_dvariable_space (void) |
| Description not yet available. | |
| void | df_check_derivative_values (void) |
| Description not yet available. | |
| void | df_check_derivative_values_indexed (void) |
| Description not yet available. | |
| void | df_check_derivative_values_indexed_break (void) |
| Description not yet available. | |
| void | funnel_derivatives (void) |
| Description not yet available. | |
| void | funnel_gradcalc (void) |
| Description not yet available. | |
| void | gradcalc (int nvar, const dvector &g) |
| Compute the gradient from the data stored in the global gradient_structure. | |
| void | gradient_structure::jacobcalc (int nvar, const dmatrix &jac) |
| void | gradient_structure::jacobcalc (int nvar, const ofstream &jac) |
| void | gradient_structure::jacobcalc (int nvar, const uostream &jac) |
| void | gradient_structure::restore_variables () |
| void | gradient_structure::save_variables () |
| void | gradloop () |
| double_and_int * | gradnew () |
| Creates an entry in the gradient structure linked list. | |
| void | slave_gradcalc (void) |
| dlist::dlist | ( | ) |
Default constructor.
Definition at line 17 of file ddlist.cpp.
| dlist::~dlist | ( | ) |
Destructor.
Definition at line 54 of file ddlist.cpp.
| dlink * dlist::append | ( | dlink * | link | ) |
Append link to list.
| link | node |
Definition at line 116 of file ddlist.cpp.
Referenced by gradfree().
| void dlist::check_list | ( | void | ) |
Check link list integrity.
Definition at line 183 of file ddlist.cpp.
| dlink * dlist::create | ( | ) |
| void dlist::initialize | ( | void | ) |
Definition at line 128 of file ddlist.cpp.
Referenced by funnel_gradcalc(), and gradcalc().
| dlink * dlist::last_remove | ( | ) |
If list is not empty, pop and return last node.
Definition at line 101 of file ddlist.cpp.
Referenced by gradnew().
| void dlist::restore_variables | ( | ) |
Restore variables from buffer.
Definition at line 154 of file ddlist.cpp.
| void dlist::save_variables | ( | ) |
Save variables to a buffer.
Definition at line 140 of file ddlist.cpp.
| size_t dlist::total_addresses | ( | ) | const |
Get total addresses stored.
Definition at line 168 of file ddlist.cpp.
| void allocate_dvariable_space | ( | void | ) | [friend] |
| void df_check_derivative_values | ( | void | ) | [friend] |
| void df_check_derivative_values_indexed | ( | void | ) | [friend] |
| void df_check_derivative_values_indexed_break | ( | void | ) | [friend] |
| void funnel_derivatives | ( | void | ) | [friend] |
Description not yet available.
| void funnel_gradcalc | ( | void | ) | [friend] |
Compute the gradient from the data stored in the global gradient_structure.
| nvar | Number of variables in the gradient. |
| _g | Vector from 1 to nvar. On return contains the gradient. |
Definition at line 86 of file sgradclc.cpp.
| void gradient_structure::jacobcalc | ( | int | nvar, |
| const dmatrix & | jac | ||
| ) | [friend] |
| void gradient_structure::jacobcalc | ( | int | nvar, |
| const ofstream & | jac | ||
| ) | [friend] |
| void gradient_structure::jacobcalc | ( | int | nvar, |
| const uostream & | jac | ||
| ) | [friend] |
| void gradient_structure::restore_variables | ( | ) | [friend] |
| void gradient_structure::save_variables | ( | ) | [friend] |
| void gradloop | ( | ) | [friend] |
| double_and_int* gradnew | ( | ) | [friend] |
Creates an entry in the gradient structure linked list.
| void slave_gradcalc | ( | void | ) | [friend] |
char* dlist::ddlist_space [private] |
dlink** dlist::dlink_addresses [private] |
Definition at line 801 of file fvar.hpp.
Referenced by allocate_dvariable_space(), create(), df_check_derivative_values(), df_check_derivative_values_indexed_break(), dlist(), initialize(), restore_variables(), save_variables(), total_addresses(), and ~dlist().
dlink* dlist::last [private] |
Definition at line 799 of file fvar.hpp.
Referenced by allocate_dvariable_space(), append(), check_list(), dlist(), and last_remove().
unsigned int dlist::nlinks [private] |
Definition at line 800 of file fvar.hpp.
Referenced by check_list(), create(), df_check_derivative_values(), df_check_derivative_values_indexed(), df_check_derivative_values_indexed_break(), dlist(), funnel_gradcalc(), initialize(), restore_variables(), and save_variables().
double* dlist::variables_save [private] |
Definition at line 803 of file fvar.hpp.
Referenced by dlist(), restore_variables(), save_variables(), and ~dlist().
|
|
Generated on Tue Mar 8 2016 19:51:39 for ADMB Documentation by 1.8.0
|