Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

AdjacencyGraph Class Reference

Adjacency between each pair of cells. More...

#include <Resistance.hpp>

List of all members.

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

Detailed Description

Adjacency between each pair of cells.

Definition at line 19 of file Resistance.hpp.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.


Member Data Documentation

std::vector< std::vector<bool> > AdjacencyGraph::m_adj [private]

Definition at line 33 of file Resistance.hpp.

Referenced by operator[]().


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


6 Jan 2011 Doxygen 1.6.3