Classes | Public Member Functions | Private Types | Private Attributes | List of all members
gtsam::internal::BinarySumNode< T > Class Template Reference

Binary Sum Expression. More...

#include <ExpressionNode.h>

Inheritance diagram for gtsam::internal::BinarySumNode< T >:
Inheritance graph
[legend]

Classes

struct  Record
 

Public Member Functions

 BinarySumNode ()
 
 BinarySumNode (const Expression< T > &e1, const Expression< T > &e2)
 Constructor with a binary function f, and two input arguments. More...
 
void dims (std::map< Key, int > &map) const override
 Return dimensions for each argument. More...
 
std::set< Keykeys () const override
 Return keys that play in this expression. More...
 
void print (const std::string &indent="") const override
 Print. More...
 
T traceExecution (const Values &values, ExecutionTrace< T > &trace, ExecutionTraceStorage *ptr) const override
 Construct an execution trace for reverse AD. More...
 
T value (const Values &values) const override
 Return value. More...
 
 ~BinarySumNode () override
 Destructor. More...
 
- Public Member Functions inherited from gtsam::internal::ExpressionNode< T >
size_t traceSize () const
 
virtual ~ExpressionNode ()
 Destructor. More...
 

Private Types

typedef ExpressionNode< TNodeT
 

Private Attributes

boost::shared_ptr< ExpressionNode< T > > expression1_
 
boost::shared_ptr< ExpressionNode< T > > expression2_
 

Additional Inherited Members

- Protected Member Functions inherited from gtsam::internal::ExpressionNode< T >
 ExpressionNode (size_t traceSize=0)
 Constructor, traceSize is size of the execution trace of expression rooted here. More...
 
- Protected Attributes inherited from gtsam::internal::ExpressionNode< T >
size_t traceSize_
 

Detailed Description

template<class T>
class gtsam::internal::BinarySumNode< T >

Binary Sum Expression.

Definition at line 644 of file ExpressionNode.h.

Member Typedef Documentation

template<class T >
typedef ExpressionNode<T> gtsam::internal::BinarySumNode< T >::NodeT
private

Definition at line 645 of file ExpressionNode.h.

Constructor & Destructor Documentation

template<class T >
gtsam::internal::BinarySumNode< T >::BinarySumNode ( )
inlineexplicit

Definition at line 650 of file ExpressionNode.h.

template<class T >
gtsam::internal::BinarySumNode< T >::BinarySumNode ( const Expression< T > &  e1,
const Expression< T > &  e2 
)
inline

Constructor with a binary function f, and two input arguments.

Definition at line 655 of file ExpressionNode.h.

template<class T >
gtsam::internal::BinarySumNode< T >::~BinarySumNode ( )
inlineoverride

Destructor.

Definition at line 662 of file ExpressionNode.h.

Member Function Documentation

template<class T >
void gtsam::internal::BinarySumNode< T >::dims ( std::map< Key, int > &  map) const
inlineoverridevirtual

Return dimensions for each argument.

Reimplemented from gtsam::internal::ExpressionNode< T >.

Definition at line 685 of file ExpressionNode.h.

template<class T >
std::set<Key> gtsam::internal::BinarySumNode< T >::keys ( ) const
inlineoverridevirtual

Return keys that play in this expression.

Reimplemented from gtsam::internal::ExpressionNode< T >.

Definition at line 677 of file ExpressionNode.h.

template<class T >
void gtsam::internal::BinarySumNode< T >::print ( const std::string &  indent = "") const
inlineoverridevirtual

Print.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 665 of file ExpressionNode.h.

template<class T >
T gtsam::internal::BinarySumNode< T >::traceExecution ( const Values values,
ExecutionTrace< T > &  trace,
ExecutionTraceStorage ptr 
) const
inlineoverridevirtual

Construct an execution trace for reverse AD.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 720 of file ExpressionNode.h.

template<class T >
T gtsam::internal::BinarySumNode< T >::value ( const Values values) const
inlineoverridevirtual

Return value.

Implements gtsam::internal::ExpressionNode< T >.

Definition at line 672 of file ExpressionNode.h.

Member Data Documentation

template<class T >
boost::shared_ptr<ExpressionNode<T> > gtsam::internal::BinarySumNode< T >::expression1_
private

Definition at line 646 of file ExpressionNode.h.

template<class T >
boost::shared_ptr<ExpressionNode<T> > gtsam::internal::BinarySumNode< T >::expression2_
private

Definition at line 647 of file ExpressionNode.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:37