gtsam  4.0.0
gtsam
gtsam::Assignment< L > Class Template Reference

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.

+ Inheritance diagram for gtsam::Assignment< L >:

Public Member Functions

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

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