#include <SubgraphBuilder.h>
Classes | |
struct | Edge |
Public Types | |
typedef Edges::const_iterator | const_iterator |
typedef std::vector< size_t > | EdgeIndices |
typedef std::vector< Edge > | Edges |
typedef Edges::iterator | iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
EdgeIndices | edgeIndices () const |
const Edges & | edges () 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) |
Definition at line 43 of file SubgraphBuilder.h.
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.
|
inline |
Definition at line 69 of file SubgraphBuilder.h.
|
inline |
Definition at line 70 of file SubgraphBuilder.h.
|
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.
|
inline |
Definition at line 78 of file SubgraphBuilder.h.
|
inline |
Definition at line 79 of file SubgraphBuilder.h.
vector< size_t > gtsam::Subgraph::edgeIndices | ( | ) | const |
Definition at line 85 of file SubgraphBuilder.cpp.
|
inline |
Definition at line 74 of file SubgraphBuilder.h.
|
inline |
Definition at line 80 of file SubgraphBuilder.h.
|
inline |
Definition at line 81 of file SubgraphBuilder.h.
|
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.
|
inlineprivate |
Definition at line 90 of file SubgraphBuilder.h.
|
inline |
Definition at line 75 of file SubgraphBuilder.h.
|
friend |
Definition at line 88 of file SubgraphBuilder.h.
|
friend |
|
protected |
Definition at line 66 of file SubgraphBuilder.h.