CppADCodeGen 2.4.3
A C++ Algorithmic Differentiation Package with Source Code Generation
Loading...
Searching...
No Matches
CppAD::cg::AugmentPathDepthLookahead< Base > Class Template Reference

#include <augment_path_depth_lookahead.hpp>

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 Typedef Documentation

◆ ADCG

template<class Base >
using CppAD::cg::AugmentPathDepthLookahead< Base >::ADCG = CppAD::AD<CGBase>
protected

Definition at line 34 of file augment_path_depth_lookahead.hpp.

◆ CGBase

template<class Base >
using CppAD::cg::AugmentPathDepthLookahead< Base >::CGBase = CppAD::cg::CG<Base>
protected

Definition at line 33 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::AugmentPathDepthLookahead< Base >::augmentPath(), and CppAD::cg::DummyDerivatives< Base >::matchVars2Eqs4Elimination().

◆ getLogger()

template<class Base >
SimpleLogger & CppAD::cg::AugmentPath< Base >::getLogger ( ) const
inlineinherited

Definition at line 57 of file augment_path.hpp.

◆ setLogger()

template<class Base >
void CppAD::cg::AugmentPath< Base >::setLogger ( SimpleLogger logger)
inlineinherited

Definition at line 53 of file augment_path.hpp.

Member Data Documentation

◆ defaultLogger_

template<class Base >
SimpleLogger CppAD::cg::AugmentPath< Base >::defaultLogger_
protectedinherited

Definition at line 35 of file augment_path.hpp.

◆ logger_

template<class Base >
SimpleLogger* CppAD::cg::AugmentPath< Base >::logger_
protectedinherited

Definition at line 37 of file augment_path.hpp.


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