Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

SymbolicFactor

A SymbolicFactor represents the connectivity (topology) between variables in a factor graph without any specific numerical function associated with it. It’s primarily to illustrate symbolic elimination. Internally, GTSAM does analyze the structure of other factor graph types without explicitly converting to a symbolic factor graph.

It inherits from gtsam.Factor and stores the keys (indices) of the variables it connects.

Open In Colab

Creating SymbolicFactors

SymbolicFactors can be created by specifying the keys they involve.

Unary Factor f0: 
  x0
Binary Factor f1: 
  x0 x1
Ternary Factor f2: 
  x1 x2 x0
Factor f3 from KeyVector: 
  x0 x1 x2