CAPD RedHom Library
|
#include <capd/graph/GridGraph.h>
Classes | |
struct | rebind |
Public Types | |
typedef VertexValidatorT | VertexValidator |
typedef boost::filtered_range< VertexValidator, const typename Base::Indexer::AllIndices > | Vertices |
typedef homAux::MultiArrayIndexer< DIM > | Indexer |
typedef Indexer::Index | Index |
typedef Indexer::Coordinates | Coordinates |
typedef Indexer::Value | Id |
typedef std::pair< Vertex, Coordinates > | VertexPair |
typedef homAux::SmallVector< Edge, NeighberhoodSize > | OutEdges |
typedef homAux::SmallVector< int, NeighberhoodSize > | PrecomputedNeighboursDiff |
Public Member Functions | |
template<typename Shape > | |
GridGraph (const Shape &shape, VertexValidator vertexValidator) | |
template<typename OtherVertexValidator > | |
GridGraph (const GridGraph< DIM, OtherVertexValidator > &other, VertexValidator vertexValidator) | |
template<typename OtherVertexValidator > | |
rebind< OtherVertexValidator >::type | changeValidator (OtherVertexValidator vertexValidator) const |
Vertices | vertices () const |
Base::OutEdges | edges (typename Base::Index v) const |
template<typename Callback > | |
void | edges (typename Base::Index v, Callback cb) const |
bool | isValid (const Vertex &v) const |
void | forAllEdges (Callback cb) const |
const Indexer & | indexer () const |
size_t | size () const |
View< NDims >::type | operator[] (const boost::detail::multi_array::index_gen< Indexer::DIM, NDims > &indices) const |
Static Public Attributes | |
static const int | DIM |
static const int | NeighberhoodSize |
Protected Member Functions | |
OutEdges | vertexPairOutEdges (const VertexPair &v) const |
void | edgesImpl (VertexPairs vertexPairs, Callback callback) const |
void | computeNeighbours (Indices &indices, Callback callback) const |
Protected Attributes | |
Indexer | _indexer |
VertexValidatorT | _vertexValidator |
Index | _maxVertex |
PrecomputedNeighboursDiff | _precomputedNeighboursDiff |
CAPD_CLASS_LOGGER | |
Friends | |
template<int DIM2, typename OtherVertexValidator > | |
class | GridGraph |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
inherited |
|
inherited |
typedef VertexValidatorT capd::graph::GridGraph< DIM, VertexValidatorT >::VertexValidator |
typedef boost::filtered_range< VertexValidator, const typename Base::Indexer::AllIndices> capd::graph::GridGraph< DIM, VertexValidatorT >::Vertices |
|
inline |
|
inline |
|
inline |
|
inlineprotectedinherited |
|
inline |
|
inline |
|
inlineprotectedinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
|
inline |
|
friend |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
|
staticinherited |