#include <Assignment.h>
Public Member Functions | |
bool | equals (const Assignment &other, double tol=1e-9) const |
void | print (const std::string &s="Assignment: ") const |
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.
|
inline |
Definition at line 43 of file Assignment.h.
|
inline |
Definition at line 36 of file Assignment.h.