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

Leaf Expression, if no chart is given, assume default chart and value_type is just the plain value. More...

#include <ExpressionNode.h>

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

Public Member Functions

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 *traceStorage) const override
 Construct an execution trace for reverse AD. More...
 
T value (const Values &values) const override
 Return value. More...
 
 ~LeafExpression () override
 Destructor. More...
 
- Public Member Functions inherited from gtsam::internal::ExpressionNode< T >
size_t traceSize () const
 
virtual ~ExpressionNode ()
 Destructor. More...
 

Private Types

typedef T value_type
 

Private Member Functions

 LeafExpression (Key key)
 Constructor with a single key. More...
 

Private Attributes

Key key_
 The key into values. More...
 

Friends

class Expression< T >
 

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<typename T>
class gtsam::internal::LeafExpression< T >

Leaf Expression, if no chart is given, assume default chart and value_type is just the plain value.

Definition at line 159 of file ExpressionNode.h.

Member Typedef Documentation

template<typename T >
typedef T gtsam::internal::LeafExpression< T >::value_type
private

Definition at line 160 of file ExpressionNode.h.

Constructor & Destructor Documentation

template<typename T >
gtsam::internal::LeafExpression< T >::LeafExpression ( Key  key)
inlineprivate

Constructor with a single key.

Definition at line 166 of file ExpressionNode.h.

template<typename T >
gtsam::internal::LeafExpression< T >::~LeafExpression ( )
inlineoverride

Destructor.

Definition at line 175 of file ExpressionNode.h.

Member Function Documentation

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

Return dimensions for each argument.

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

Definition at line 191 of file ExpressionNode.h.

template<typename T >
std::set<Key> gtsam::internal::LeafExpression< T >::keys ( ) const
inlineoverridevirtual

Return keys that play in this expression.

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

Definition at line 184 of file ExpressionNode.h.

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

Print.

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

Definition at line 179 of file ExpressionNode.h.

template<typename T >
T gtsam::internal::LeafExpression< T >::traceExecution ( const Values values,
ExecutionTrace< T > &  trace,
ExecutionTraceStorage traceStorage 
) const
inlineoverridevirtual

Construct an execution trace for reverse AD.

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

Definition at line 201 of file ExpressionNode.h.

template<typename T >
T gtsam::internal::LeafExpression< T >::value ( const Values values) const
inlineoverridevirtual

Return value.

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

Definition at line 196 of file ExpressionNode.h.

Friends And Related Function Documentation

template<typename T >
friend class Expression< T >
friend

Definition at line 170 of file ExpressionNode.h.

Member Data Documentation

template<typename T >
Key gtsam::internal::LeafExpression< T >::key_
private

The key into values.

Definition at line 163 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