|
CppAD: A C++ Algorithmic Differentiation Package
20171217
|
class for maintaining subgraph information attached to on ADFun object. More...
Public Member Functions | |
| template<typename Base > | |
| bool | check_map_user_op (const player< Base > *play) const |
| check that the value of map_user_op is OK for this operation sequence More... | |
| const pod_vector< addr_t > & | entire_graph (void) const |
| entire graph represented as a sorted subgraph More... | |
| template<typename Base > | |
| void | get_rev (const player< Base > *play, const vector< size_t > &dep_taddr, addr_t i_dep, pod_vector< addr_t > &subgraph) |
| Get the subgraph corresponding to a dependent variables (and a selected set of independent variables). More... | |
| pod_vector< addr_t > & | in_subgraph (void) |
| flag which operators that are in the subgraph More... | |
| template<typename Base , typename BoolVector > | |
| void | init_rev (const player< Base > *play, const BoolVector &select_domain) |
| Initialize in_subgraph corresponding to a single dependent variable (and a selected set of independent variables). More... | |
| const pod_vector< addr_t > & | map_user_op (void) const |
| map user atomic function calls to first operator in the call More... | |
| size_t | memory (void) const |
| amount of memory corresonding to this object More... | |
| size_t | n_dep (void) const |
| number of dependent variables More... | |
| size_t | n_ind (void) const |
| number of independent variables More... | |
| size_t | n_op (void) const |
| number of operators More... | |
| size_t | n_var (void) const |
| void | operator= (const subgraph_info &info) |
| assignment operator More... | |
| const pod_vector< bool > & | process_range (void) const |
| dependent variables that have been processed since previous init_rev More... | |
| void | resize (size_t n_ind, size_t n_dep, size_t n_op, size_t n_var) |
| set sizes for this object (the default sizes are zero) More... | |
| const pod_vector< bool > & | select_domain (void) const |
| previous select_domain argument to init_rev More... | |
| template<typename Base > | |
| void | set_map_user_op (const player< Base > *play) |
| set the value of map_user_op for this operation sequence More... | |
| subgraph_info (void) | |
| default constructor (all sizes are zero) More... | |
Private Attributes | |
| pod_vector< addr_t > | entire_graph_ |
| the entire operation sequence as a subgraph (size n_op_). More... | |
| pod_vector< addr_t > | in_subgraph_ |
| flags which operatiors are in subgraph (size zero or n_op_). More... | |
| pod_vector< addr_t > | map_user_op_ |
| Mapping atomic call operators to UserOp that begins call sequence, other operators are not changed by the map. (size zero after construtor or resize) More... | |
| size_t | n_dep_ |
| number of dependent variables for this function More... | |
| size_t | n_ind_ |
| number of independent variables for this function More... | |
| size_t | n_op_ |
| number of operatros in operation sequence More... | |
| size_t | n_var_ |
| number of variables in operation sequence More... | |
| pod_vector< bool > | process_range_ |
| flags which dependent variables have been processed since the previous init_rev More... | |
| pod_vector< bool > | select_domain_ |
| flags which dependent variables are selected More... | |
class for maintaining subgraph information attached to on ADFun object.