Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
gtsam::Subgraph Class Reference

#include <SubgraphBuilder.h>

Classes

struct  Edge
 

Public Types

typedef Edges::const_iterator const_iterator
 
typedef std::vector< size_tEdgeIndices
 
typedef std::vector< EdgeEdges
 
typedef Edges::iterator iterator
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
EdgeIndices edgeIndices () const
 
const Edgesedges () const
 
iterator end ()
 
const_iterator end () const
 
void save (const std::string &fn) const
 
size_t size () const
 
 Subgraph ()
 
 Subgraph (const Subgraph &subgraph)
 
 Subgraph (const Edges &edges)
 
 Subgraph (const std::vector< size_t > &indices)
 

Static Public Member Functions

static Subgraph load (const std::string &fn)
 

Protected Attributes

Edges edges_
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int)
 

Friends

class boost::serialization::access
 
std::ostream & operator<< (std::ostream &os, const Subgraph &subgraph)
 

Detailed Description

Definition at line 43 of file SubgraphBuilder.h.

Member Typedef Documentation

typedef Edges::const_iterator gtsam::Subgraph::const_iterator

Definition at line 63 of file SubgraphBuilder.h.

typedef std::vector<size_t> gtsam::Subgraph::EdgeIndices

Definition at line 61 of file SubgraphBuilder.h.

typedef std::vector<Edge> gtsam::Subgraph::Edges

Definition at line 60 of file SubgraphBuilder.h.

typedef Edges::iterator gtsam::Subgraph::iterator

Definition at line 62 of file SubgraphBuilder.h.

Constructor & Destructor Documentation

gtsam::Subgraph::Subgraph ( )
inline

Definition at line 69 of file SubgraphBuilder.h.

gtsam::Subgraph::Subgraph ( const Subgraph subgraph)
inline

Definition at line 70 of file SubgraphBuilder.h.

gtsam::Subgraph::Subgraph ( const Edges edges)
inline

Definition at line 71 of file SubgraphBuilder.h.

gtsam::Subgraph::Subgraph ( const std::vector< size_t > &  indices)

Definition at line 76 of file SubgraphBuilder.cpp.

Member Function Documentation

iterator gtsam::Subgraph::begin ( )
inline

Definition at line 78 of file SubgraphBuilder.h.

const_iterator gtsam::Subgraph::begin ( ) const
inline

Definition at line 79 of file SubgraphBuilder.h.

vector< size_t > gtsam::Subgraph::edgeIndices ( ) const

Definition at line 85 of file SubgraphBuilder.cpp.

const Edges& gtsam::Subgraph::edges ( ) const
inline

Definition at line 74 of file SubgraphBuilder.h.

iterator gtsam::Subgraph::end ( )
inline

Definition at line 80 of file SubgraphBuilder.h.

const_iterator gtsam::Subgraph::end ( ) const
inline

Definition at line 81 of file SubgraphBuilder.h.

Subgraph gtsam::Subgraph::load ( const std::string &  fn)
static

Definition at line 103 of file SubgraphBuilder.cpp.

void gtsam::Subgraph::save ( const std::string &  fn) const

Definition at line 95 of file SubgraphBuilder.cpp.

template<class Archive >
void gtsam::Subgraph::serialize ( Archive &  ar,
const unsigned  int 
)
inlineprivate

Definition at line 90 of file SubgraphBuilder.h.

size_t gtsam::Subgraph::size ( ) const
inline

Definition at line 75 of file SubgraphBuilder.h.

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Definition at line 88 of file SubgraphBuilder.h.

std::ostream& operator<< ( std::ostream &  os,
const Subgraph subgraph 
)
friend

Member Data Documentation

Edges gtsam::Subgraph::edges_
protected

Definition at line 66 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