#include <orr_graph.h>
Public Types | |
enum | State { ON, OFF, UNDEF } |
Public Member Functions | |
const NodeData & | getData () const |
int | getId () const |
const std::set< Node * > & | getNeighbors () const |
Node (int id) | |
void | setData (const NodeData &data) |
void | setFitness (int fitness) |
void | setId (int id) |
virtual | ~Node () |
Static Public Member Functions | |
static bool | compare (const Node *a, const Node *b) |
Protected Attributes | |
NodeData | data_ |
int | fitness_ |
int | id_ |
std::set< Node * > | neighbors_ |
State | state_ |
Friends | |
class | ORRGraph |
Definition at line 59 of file orr_graph.h.
enum pcl::recognition::ORRGraph::Node::State |
Definition at line 62 of file orr_graph.h.
pcl::recognition::ORRGraph< NodeData >::Node::Node | ( | int | id | ) | [inline] |
Definition at line 64 of file orr_graph.h.
virtual pcl::recognition::ORRGraph< NodeData >::Node::~Node | ( | ) | [inline, virtual] |
Definition at line 69 of file orr_graph.h.
static bool pcl::recognition::ORRGraph< NodeData >::Node::compare | ( | const Node * | a, |
const Node * | b | ||
) | [inline, static] |
Definition at line 108 of file orr_graph.h.
const NodeData& pcl::recognition::ORRGraph< NodeData >::Node::getData | ( | ) | const [inline] |
Definition at line 78 of file orr_graph.h.
int pcl::recognition::ORRGraph< NodeData >::Node::getId | ( | ) | const [inline] |
Definition at line 90 of file orr_graph.h.
const std::set<Node*>& pcl::recognition::ORRGraph< NodeData >::Node::getNeighbors | ( | ) | const [inline] |
Definition at line 72 of file orr_graph.h.
void pcl::recognition::ORRGraph< NodeData >::Node::setData | ( | const NodeData & | data | ) | [inline] |
Definition at line 84 of file orr_graph.h.
void pcl::recognition::ORRGraph< NodeData >::Node::setFitness | ( | int | fitness | ) | [inline] |
Definition at line 102 of file orr_graph.h.
void pcl::recognition::ORRGraph< NodeData >::Node::setId | ( | int | id | ) | [inline] |
Definition at line 96 of file orr_graph.h.
friend class ORRGraph [friend] |
Definition at line 113 of file orr_graph.h.
NodeData pcl::recognition::ORRGraph< NodeData >::Node::data_ [protected] |
Definition at line 117 of file orr_graph.h.
int pcl::recognition::ORRGraph< NodeData >::Node::fitness_ [protected] |
Definition at line 119 of file orr_graph.h.
int pcl::recognition::ORRGraph< NodeData >::Node::id_ [protected] |
Definition at line 118 of file orr_graph.h.
std::set<Node*> pcl::recognition::ORRGraph< NodeData >::Node::neighbors_ [protected] |
Definition at line 116 of file orr_graph.h.
State pcl::recognition::ORRGraph< NodeData >::Node::state_ [protected] |
Definition at line 120 of file orr_graph.h.