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 FastMap< Key, size_t > &ordering, const std::vector< double > &weights) const
 
std::vector< size_tkruskal (const GaussianFactorGraph &gfg, const FastMap< Key, size_t > &ordering, 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 147 of file SubgraphBuilder.h.

Member Typedef Documentation

Definition at line 149 of file SubgraphBuilder.h.

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

Definition at line 150 of file SubgraphBuilder.h.

Constructor & Destructor Documentation

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

Definition at line 152 of file SubgraphBuilder.h.

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

Definition at line 155 of file SubgraphBuilder.h.

Member Function Documentation

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

Definition at line 288 of file SubgraphBuilder.cpp.

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

Definition at line 238 of file SubgraphBuilder.cpp.

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

Definition at line 325 of file SubgraphBuilder.cpp.

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

Definition at line 273 of file SubgraphBuilder.cpp.

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

Definition at line 366 of file SubgraphBuilder.cpp.

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

Definition at line 358 of file SubgraphBuilder.cpp.

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

Definition at line 260 of file SubgraphBuilder.cpp.

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

Definition at line 405 of file SubgraphBuilder.cpp.

Member Data Documentation

SubgraphBuilderParameters gtsam::SubgraphBuilder::parameters_
private

Definition at line 171 of file SubgraphBuilder.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:58:30