Adjacency between each pair of cells. More...
#include <Resistance.hpp>
Public Member Functions | |
AdjacencyGraph () | |
Creates an empty adjacency graph. | |
~AdjacencyGraph () | |
std::vector< bool > & | operator[] (int n) |
const std::vector< bool > & | operator[] (int n) const |
Private Attributes | |
std::vector< std::vector< bool > > | m_adj |
Adjacency between each pair of cells.
Definition at line 19 of file Resistance.hpp.
AdjacencyGraph::AdjacencyGraph | ( | ) | [inline] |
Creates an empty adjacency graph.
Definition at line 36 of file Resistance.hpp.
AdjacencyGraph::~AdjacencyGraph | ( | ) | [inline] |
Definition at line 40 of file Resistance.hpp.
const std::vector< bool > & AdjacencyGraph::operator[] | ( | int | n | ) | const [inline] |
Definition at line 48 of file Resistance.hpp.
References m_adj.
std::vector< bool > & AdjacencyGraph::operator[] | ( | int | n | ) | [inline] |
Definition at line 43 of file Resistance.hpp.
References m_adj.
std::vector< std::vector<bool> > AdjacencyGraph::m_adj [private] |
Definition at line 33 of file Resistance.hpp.
Referenced by operator[]().