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

Public Member Functions

bool augmentPath (Enode< Base > &i) override final
 
void setLogger (SimpleLogger &logger)
 
SimpleLoggergetLogger () const
 

Protected Types

using CGBase = CppAD::cg::CG< Base >
 
using ADCG = CppAD::AD< CGBase >
 

Protected Attributes

SimpleLogger defaultLogger_
 
SimpleLoggerlogger_
 

Detailed Description

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

An augment path algorithm based on MC21A. This procedure is depth-first search algorithm with an additional look ahead mechanism to find an unmatched variable for equation node before going deeper.

Definition at line 31 of file augment_path_depth_lookahead.hpp.

Member Function Documentation

◆ augmentPath()

template<class Base>
bool CppAD::cg::AugmentPathDepthLookahead< Base >::augmentPath ( Enode< Base > &  i)
inlinefinaloverridevirtual
Parameters
iThe equation node
Returns
true if an augmented path was found

Implements CppAD::cg::AugmentPath< Base >.

Definition at line 37 of file augment_path_depth_lookahead.hpp.

Referenced by CppAD::cg::DummyDerivatives< Base >::matchVars2Eqs4Elimination().


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