DGtal
0.6.devel
|
#include <CUndirectedSimpleLocalGraph.h>
Data Structures | |
struct | VertexMap |
Public Types | |
typedef T::Vertex | Vertex |
typedef T::Size | Size |
typedef T::VertexSet | VertexSet |
Public Member Functions | |
BOOST_CONCEPT_ASSERT ((CInteger< Size >)) | |
BOOST_CONCEPT_USAGE (CUndirectedSimpleLocalGraph) | |
void | checkConstConstraints () const |
Private Attributes | |
T | myX |
Size | mySize |
Vertex | myVertex |
boost::output_iterator_archetype < Vertex > | myOutIt |
Aim: Represents the concept of local graph: each vertex has neighboring vertices, but we do not necessarily know all the vertices.
Description of concept 'CUndirectedSimpleLocalGraph'
- Size: an integral type to count the number of vertices. - Vertex: the type for the vertices of the graph. - VertexSet: the type for storing a set of vertices. - VertexMap: a rebinding structure to associate Value to vertices of model CVertexMap.
X
: A type that is a model of CUndirectedSimpleLocalGraphx
: object of type Xv
: object of type Vertexout
: an output iterator of type OutputIterator (model of boost::OutputIterator).p
: a predicate on vertex of type VertexPredicate (model of CVertexPredicate).Name | Expression | Type requirements | Return type | Precondition | Semantics | Postcondition | Complexity |
Degree | x.degree( v ) | Size | Returns the degree of vertex v | ||||
Best capacity | x.bestCapacity() | Size | Returns the approximate number of neighbors to be expected. Useful to prepare data structures. | ||||
Neighborhood | x.writeNeighbors<OutputIterator>( out, v ) | Writes with the output iterator out the neighboring vertices of v . | |||||
Neighborhood | x.writeNeighbors<OutputIterator,VertexPredicate>( out, v, p ) | Writes with the output iterator out the neighboring vertices of v that satisfy the predicate p . |
- DigitalSurface, LightImplicitDigitalSurface, LightExplicitDigitalSurface, Object, MetricAdjacency, DomainAdjacency
T | the type that should be a model of CUndirectedSimpleLocalGraph. |
Definition at line 144 of file CUndirectedSimpleLocalGraph.h.
typedef T::Size DGtal::CUndirectedSimpleLocalGraph< T >::Size |
Reimplemented in DGtal::CUndirectedSimpleGraph< T >.
Definition at line 154 of file CUndirectedSimpleLocalGraph.h.
typedef T::Vertex DGtal::CUndirectedSimpleLocalGraph< T >::Vertex |
Definition at line 153 of file CUndirectedSimpleLocalGraph.h.
typedef T::VertexSet DGtal::CUndirectedSimpleLocalGraph< T >::VertexSet |
Definition at line 155 of file CUndirectedSimpleLocalGraph.h.
DGtal::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_ASSERT | ( | (CInteger< Size >) | ) |
|
inline |
Definition at line 165 of file CUndirectedSimpleLocalGraph.h.
|
inline |
Reimplemented in DGtal::CUndirectedSimpleGraph< T >.
Definition at line 170 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::CUndirectedSimpleLocalGraph< Adj >::BOOST_CONCEPT_USAGE().
|
mutableprivate |
Definition at line 183 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::CUndirectedSimpleLocalGraph< Adj >::checkConstConstraints().
|
private |
Reimplemented in DGtal::CUndirectedSimpleGraph< T >.
Definition at line 181 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::CUndirectedSimpleLocalGraph< Adj >::checkConstConstraints().
|
private |
Definition at line 182 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::CUndirectedSimpleLocalGraph< Adj >::checkConstConstraints().
|
private |
Reimplemented in DGtal::CUndirectedSimpleGraph< T >.
Definition at line 180 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::CUndirectedSimpleLocalGraph< Adj >::checkConstConstraints().