Public Member Functions | Protected Attributes | Friends
gmvl_connection_cache Class Reference

#include <gmvl_connection_cache.h>

List of all members.

Public Member Functions

 gmvl_connection_cache ()
 ~gmvl_connection_cache ()
void add (const gmvl_node_sptr node1, const gmvl_node_sptr node2)
vcl_vector< int > get_connected_nodes (const gmvl_node_sptr node) const
vcl_vector< int > get_connected_nodes (const gmvl_node_sptr node1, const gmvl_node_sptr node2) const
vcl_vector< int > get_connected_nodes (const gmvl_node_sptr node1, const gmvl_node_sptr node2, const gmvl_node_sptr node3) const
vcl_vector< int > get_connected_nodes (const vcl_vector< gmvl_node_sptr > nodes) const
void rebuild ()

Protected Attributes

vcl_vector< gmvl_connection_sptrconnections_
vcl_vector< vcl_vector< int > > cache_
vbl_bit_array_2d cachebool_

Friends

vcl_ostream & operator<< (vcl_ostream &os, const gmvl_connection_cache &c)

Detailed Description

Definition at line 17 of file gmvl_connection_cache.h.


Constructor & Destructor Documentation

gmvl_connection_cache::gmvl_connection_cache ( )

Definition at line 17 of file gmvl_connection_cache.cxx.

gmvl_connection_cache::~gmvl_connection_cache ( )

Definition at line 21 of file gmvl_connection_cache.cxx.


Member Function Documentation

void gmvl_connection_cache::add ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2 
)

Definition at line 27 of file gmvl_connection_cache.cxx.

vcl_vector<int> gmvl_connection_cache::get_connected_nodes ( const gmvl_node_sptr  node) const [inline]

Definition at line 29 of file gmvl_connection_cache.h.

vcl_vector< int > gmvl_connection_cache::get_connected_nodes ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2 
) const

Definition at line 60 of file gmvl_connection_cache.cxx.

vcl_vector< int > gmvl_connection_cache::get_connected_nodes ( const gmvl_node_sptr  node1,
const gmvl_node_sptr  node2,
const gmvl_node_sptr  node3 
) const

Definition at line 73 of file gmvl_connection_cache.cxx.

vcl_vector< int > gmvl_connection_cache::get_connected_nodes ( const vcl_vector< gmvl_node_sptr nodes) const

Definition at line 88 of file gmvl_connection_cache.cxx.

void gmvl_connection_cache::rebuild ( )

Definition at line 112 of file gmvl_connection_cache.cxx.


Friends And Related Function Documentation

vcl_ostream& operator<< ( vcl_ostream &  os,
const gmvl_connection_cache c 
) [friend]

Definition at line 151 of file gmvl_connection_cache.cxx.


Member Data Documentation

vcl_vector<vcl_vector<int> > gmvl_connection_cache::cache_ [protected]

Definition at line 48 of file gmvl_connection_cache.h.

Definition at line 51 of file gmvl_connection_cache.h.

Definition at line 45 of file gmvl_connection_cache.h.


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