Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
gtsam::SubgraphBuilder Class Reference

#include <SubgraphBuilder.h>

Public Types

typedef SubgraphBuilder Base
 
typedef std::vector< double > Weights
 

Public Member Functions

virtual Subgraph operator() (const GaussianFactorGraph &jfg) const
 
 SubgraphBuilder (const SubgraphBuilderParameters &p=SubgraphBuilderParameters())
 
virtual ~SubgraphBuilder ()
 

Private Member Functions

std::vector< size_tbfs (const GaussianFactorGraph &gfg) const
 
std::vector< size_tbuildTree (const GaussianFactorGraph &gfg, const std::vector< double > &weights) const
 
std::vector< size_tkruskal (const GaussianFactorGraph &gfg, const std::vector< double > &weights) const
 
std::vector< size_tnatural_chain (const GaussianFactorGraph &gfg) const
 
std::vector< size_tsample (const std::vector< double > &weights, const size_t t) const
 
std::vector< size_tunary (const GaussianFactorGraph &gfg) const
 
Weights weights (const GaussianFactorGraph &gfg) const
 

Private Attributes

SubgraphBuilderParameters parameters_
 

Detailed Description

Definition at line 153 of file SubgraphBuilder.h.

Member Typedef Documentation

◆ Base

Definition at line 155 of file SubgraphBuilder.h.

◆ Weights

typedef std::vector<double> gtsam::SubgraphBuilder::Weights

Definition at line 156 of file SubgraphBuilder.h.

Constructor & Destructor Documentation

◆ SubgraphBuilder()

gtsam::SubgraphBuilder::SubgraphBuilder ( const SubgraphBuilderParameters p = SubgraphBuilderParameters())
inline

Definition at line 158 of file SubgraphBuilder.h.

◆ ~SubgraphBuilder()

virtual gtsam::SubgraphBuilder::~SubgraphBuilder ( )
inlinevirtual

Definition at line 161 of file SubgraphBuilder.h.

Member Function Documentation

◆ bfs()

vector< size_t > gtsam::SubgraphBuilder::bfs ( const GaussianFactorGraph gfg) const
private

Definition at line 272 of file SubgraphBuilder.cpp.

◆ buildTree()

vector< size_t > gtsam::SubgraphBuilder::buildTree ( const GaussianFactorGraph gfg,
const std::vector< double > &  weights 
) const
private

Definition at line 223 of file SubgraphBuilder.cpp.

◆ kruskal()

vector< size_t > gtsam::SubgraphBuilder::kruskal ( const GaussianFactorGraph gfg,
const std::vector< double > &  weights 
) const
private

Definition at line 309 of file SubgraphBuilder.cpp.

◆ natural_chain()

vector< size_t > gtsam::SubgraphBuilder::natural_chain ( const GaussianFactorGraph gfg) const
private

Definition at line 257 of file SubgraphBuilder.cpp.

◆ operator()()

Subgraph gtsam::SubgraphBuilder::operator() ( const GaussianFactorGraph jfg) const
virtual

Definition at line 323 of file SubgraphBuilder.cpp.

◆ sample()

vector< size_t > gtsam::SubgraphBuilder::sample ( const std::vector< double > &  weights,
const size_t  t 
) const
private

Definition at line 315 of file SubgraphBuilder.cpp.

◆ unary()

vector< size_t > gtsam::SubgraphBuilder::unary ( const GaussianFactorGraph gfg) const
private

Definition at line 244 of file SubgraphBuilder.cpp.

◆ weights()

SubgraphBuilder::Weights gtsam::SubgraphBuilder::weights ( const GaussianFactorGraph gfg) const
private

Definition at line 362 of file SubgraphBuilder.cpp.

Member Data Documentation

◆ parameters_

SubgraphBuilderParameters gtsam::SubgraphBuilder::parameters_
private

Definition at line 175 of file SubgraphBuilder.h.


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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:47:12