CppADCodeGen  HEAD
A C++ Algorithmic Differentiation Package with Source Code Generation
CppAD::cg::IndependentNodeSorter< Base > Class Template Reference
Collaboration diagram for CppAD::cg::IndependentNodeSorter< Base >:
Collaboration graph

Public Member Functions

bool operator() (const OperationNode< Base > *node1, const OperationNode< Base > *node2) const
 

Detailed Description

template<class Base>
class CppAD::cg::IndependentNodeSorter< Base >

Class used to sort independent variable nodes in ascending order according to their index (saved in the info vector of the nodes)

Definition at line 26 of file independent_node_sorter.hpp.

Member Function Documentation

◆ operator()()

template<class Base >
bool CppAD::cg::IndependentNodeSorter< Base >::operator() ( const OperationNode< Base > *  node1,
const OperationNode< Base > *  node2 
) const
inline
Returns
true if the first node goes before the second node

Definition at line 32 of file independent_node_sorter.hpp.


The documentation for this class was generated from the following file: