Public Member Functions | List of all members
gtsam::Assignment< L > Class Template Reference

#include <Assignment.h>

Inheritance diagram for gtsam::Assignment< L >:
Inheritance graph
[legend]

Public Member Functions

bool equals (const Assignment &other, double tol=1e-9) const
 
void print (const std::string &s="Assignment: ") const
 

Detailed Description

template<class L>
class gtsam::Assignment< L >

An assignment from labels to value index (size_t). Assigns to each label a value. Implemented as a simple map. A discrete factor takes an Assignment and returns a value.

Definition at line 34 of file Assignment.h.

Member Function Documentation

template<class L>
bool gtsam::Assignment< L >::equals ( const Assignment< L > &  other,
double  tol = 1e-9 
) const
inline

Definition at line 43 of file Assignment.h.

template<class L>
void gtsam::Assignment< L >::print ( const std::string &  s = "Assignment< L >: ") const
inline

Definition at line 36 of file Assignment.h.


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


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