|
CppAD: A C++ Algorithmic Differentiation Package
20130918
|
Routines for optimizing a tape. More...
Go to the source code of this file.
Classes | |
| class | CppAD::optimize::class_cexp_pair |
| Class used to hold information about one conditional expression. More... | |
| struct | CppAD::optimize::struct_cskip_info |
| CExpOp information that is copied to corresponding CSkipOp. More... | |
| struct | CppAD::optimize::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 | CppAD::optimize::struct_csum_variable |
Structures used by record_csum to hold information about one variable. More... | |
| struct | CppAD::optimize::struct_old_variable |
Structure used by optimize to hold information about one variable. More... | |
| struct | CppAD::optimize::struct_size_pair |
| struct | CppAD::optimize::struct_user_info |
| Connection information for a user atomic function. More... | |
Namespaces | |
| namespace | CppAD |
contains all the variables and functions defined by the CppAD package. | |
| namespace | CppAD::optimize |
Enumerations | |
| enum | CppAD::optimize::enum_connect_type { CppAD::optimize::not_connected, CppAD::optimize::yes_connected, CppAD::optimize::sum_connected, CppAD::optimize::csum_connected, CppAD::optimize::cexp_connected } |
| State for this variable set during reverse sweep. More... | |
Functions | |
| template<class Base > | |
| size_t | CppAD::optimize::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_pair > | CppAD::optimize::intersection (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 | CppAD::optimize::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 | CppAD::optimize::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 | CppAD::optimize::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 | CppAD::optimize::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 | CppAD::optimize::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 | CppAD::optimize::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 | CppAD::optimize::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. | |
Routines for optimizing a tape.
Definition in file optimize.hpp.