#include <Graph.h>
Public Member Functions | |
virtual void | add_factor (Factor *factor) |
virtual void | add_node (Node *node) |
void | erase_marked (int &variables_deleted, int &measurements_deleted) |
const std::list< Factor * > & | get_factors () const |
const std::list< Node * > & | get_nodes () const |
Graph () | |
int | num_factors () const |
int | num_nodes () const |
virtual void | print_graph () const |
virtual void | remove_factor (Factor *factor) |
virtual void | remove_node (Node *node) |
virtual void | write (std::ostream &out) const |
virtual | ~Graph () |
Protected Attributes | |
std::list< Factor * > | _factors |
std::list< Node * > | _nodes |
Private Member Functions | |
Graph (const Graph &rhs) | |
const Graph & | operator= (const Graph &rhs) |
isam::Graph::Graph | ( | const Graph & | rhs | ) | [private] |
isam::Graph::Graph | ( | ) | [inline] |
virtual isam::Graph::~Graph | ( | ) | [inline, virtual] |
virtual void isam::Graph::add_factor | ( | Factor * | factor | ) | [inline, virtual] |
Reimplemented in isam::Slam.
virtual void isam::Graph::add_node | ( | Node * | node | ) | [inline, virtual] |
Reimplemented in isam::Slam.
void isam::Graph::erase_marked | ( | int & | variables_deleted, |
int & | measurements_deleted | ||
) | [inline] |
const std::list<Factor*>& isam::Graph::get_factors | ( | ) | const [inline] |
const std::list<Node*>& isam::Graph::get_nodes | ( | ) | const [inline] |
int isam::Graph::num_factors | ( | ) | const [inline] |
int isam::Graph::num_nodes | ( | ) | const [inline] |
virtual void isam::Graph::print_graph | ( | ) | const [inline, virtual] |
virtual void isam::Graph::remove_factor | ( | Factor * | factor | ) | [inline, virtual] |
Reimplemented in isam::Slam.
virtual void isam::Graph::remove_node | ( | Node * | node | ) | [inline, virtual] |
Reimplemented in isam::Slam.
virtual void isam::Graph::write | ( | std::ostream & | out | ) | const [inline, virtual] |
std::list<Factor*> isam::Graph::_factors [protected] |
std::list<Node*> isam::Graph::_nodes [protected] |