Public Member Functions | Public Attributes | List of all members
gtsam::partition::GenericFactor2D Struct Reference

#include <GenericGraph.h>

Public Member Functions

 GenericFactor2D (const size_t index1, const char type1, const size_t index2, const char type2, const int index_=-1, const int weight_=1)
 
 GenericFactor2D (const size_t index1, const GenericNode2DType type1, const size_t index2, const GenericNode2DType type2, const int index_=-1, const int weight_=1)
 

Public Attributes

int index
 
GenericNode2D key1
 
GenericNode2D key2
 
int weight
 

Detailed Description

a factor always involves two nodes/variables for now

Definition at line 36 of file GenericGraph.h.

Constructor & Destructor Documentation

◆ GenericFactor2D() [1/2]

gtsam::partition::GenericFactor2D::GenericFactor2D ( const size_t  index1,
const GenericNode2DType  type1,
const size_t  index2,
const GenericNode2DType  type2,
const int  index_ = -1,
const int  weight_ = 1 
)
inline

Definition at line 41 of file GenericGraph.h.

◆ GenericFactor2D() [2/2]

gtsam::partition::GenericFactor2D::GenericFactor2D ( const size_t  index1,
const char  type1,
const size_t  index2,
const char  type2,
const int  index_ = -1,
const int  weight_ = 1 
)
inline

Definition at line 43 of file GenericGraph.h.

Member Data Documentation

◆ index

int gtsam::partition::GenericFactor2D::index

Definition at line 39 of file GenericGraph.h.

◆ key1

GenericNode2D gtsam::partition::GenericFactor2D::key1

Definition at line 37 of file GenericGraph.h.

◆ key2

GenericNode2D gtsam::partition::GenericFactor2D::key2

Definition at line 38 of file GenericGraph.h.

◆ weight

int gtsam::partition::GenericFactor2D::weight

Definition at line 40 of file GenericGraph.h.


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


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:16:45