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

#include <bipartite_nodes.hpp>

Inheritance diagram for CppAD::cg::BiPGraphNode< Base >:
Inheritance graph
Collaboration diagram for CppAD::cg::BiPGraphNode< Base >:
Collaboration graph

Public Member Functions

 BiPGraphNode (size_t index)
 
void color (std::ostream &out=std::cout, Verbosity verbosity=Verbosity::None)
 
void uncolor ()
 
bool isColored () const
 
size_t index () const
 
void setIndex (size_t index)
 
virtual const std::string & name () const =0
 
virtual std::string nodeType ()=0
 

Protected Attributes

size_t index_
 
bool colored_
 

Detailed Description

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

Bipartite graph node

Definition at line 31 of file bipartite_nodes.hpp.

Constructor & Destructor Documentation

◆ BiPGraphNode()

template<class Base >
CppAD::cg::BiPGraphNode< Base >::BiPGraphNode ( size_t  index)
inline

Definition at line 37 of file bipartite_nodes.hpp.

◆ ~BiPGraphNode()

template<class Base >
virtual CppAD::cg::BiPGraphNode< Base >::~BiPGraphNode ( )
inlinevirtual

Definition at line 70 of file bipartite_nodes.hpp.

Member Function Documentation

◆ color()

template<class Base >
void CppAD::cg::BiPGraphNode< Base >::color ( std::ostream &  out = std::cout,
Verbosity  verbosity = Verbosity::None 
)
inline

Definition at line 42 of file bipartite_nodes.hpp.

◆ index()

template<class Base >
size_t CppAD::cg::BiPGraphNode< Base >::index ( ) const
inline

Definition at line 58 of file bipartite_nodes.hpp.

◆ isColored()

template<class Base >
bool CppAD::cg::BiPGraphNode< Base >::isColored ( ) const
inline

Definition at line 54 of file bipartite_nodes.hpp.

◆ setIndex()

template<class Base >
void CppAD::cg::BiPGraphNode< Base >::setIndex ( size_t  index)
inline

Definition at line 62 of file bipartite_nodes.hpp.

◆ uncolor()

template<class Base >
void CppAD::cg::BiPGraphNode< Base >::uncolor ( )
inline

Definition at line 50 of file bipartite_nodes.hpp.

Member Data Documentation

◆ colored_

template<class Base >
bool CppAD::cg::BiPGraphNode< Base >::colored_
protected

Definition at line 34 of file bipartite_nodes.hpp.

◆ index_

template<class Base >
size_t CppAD::cg::BiPGraphNode< Base >::index_
protected

Definition at line 33 of file bipartite_nodes.hpp.


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