CppAD: A C++ Algorithmic Differentiation Package  20130918
CppAD::optimize Namespace Reference

Classes

class  class_cexp_pair
 Class used to hold information about one conditional expression. More...
struct  struct_cskip_info
 CExpOp information that is copied to corresponding CSkipOp. More...
struct  struct_csum_stacks
 Structure used to pass work space from optimize to record_csum (so that stacks do not start from zero size every time). More...
struct  struct_csum_variable
 Structures used by record_csum to hold information about one variable. More...
struct  struct_old_variable
 Structure used by optimize to hold information about one variable. More...
struct  struct_size_pair
struct  struct_user_info
 Connection information for a user atomic function. More...

Enumerations

enum  enum_connect_type {
  not_connected, yes_connected, sum_connected, csum_connected,
  cexp_connected
}
 State for this variable set during reverse sweep. More...

Functions

template<class Base >
size_t binary_match (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, const CppAD::vector< size_t > &hash_table_var, unsigned short &code)
 Check a binary operator for a complete match with a previous operator,.
std::set< class_cexp_pairintersection (std::set< class_cexp_pair > &left, std::set< class_cexp_pair > &right)
 Compute intersection of two sets of class_cexp_pair elements.
template<class Base >
void optimize_run (size_t n, CppAD::vector< size_t > &dep_taddr, player< Base > *play, recorder< Base > *rec)
 Convert a player object to an optimized recorder object.
template<class Base >
void prototype (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par)
 Shared documentation for optimization helper functions (not called).
template<class Base >
struct_size_pair record_csum (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, recorder< Base > *rec, struct_csum_stacks &work)
 Recording a cummulative cummulative summation starting at its highest parrent.
template<class Base >
struct_size_pair record_pv (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, recorder< Base > *rec, OpCode op, const addr_t *arg)
 Record an operation of the form (parameter op variable).
template<class Base >
struct_size_pair record_vp (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, recorder< Base > *rec, OpCode op, const addr_t *arg)
 Record an operation of the form (variable op parameter).
template<class Base >
struct_size_pair record_vv (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, recorder< Base > *rec, OpCode op, const addr_t *arg)
 Record an operation of the form (variable op variable).
template<class Base >
size_t unary_match (const CppAD::vector< struct struct_old_variable > &tape, size_t current, size_t npar, const Base *par, const CppAD::vector< size_t > &hash_table_var, unsigned short &code)
 Check a unary operator for a complete match with a previous operator.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines