|
DGtal 1.4.2
|
Aim: Represents the concept of local graph: each vertex has neighboring vertices, but we do not necessarily know all the vertices. More...
#include <DGtal/graph/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 ((CIntegralNumber< Size >)) | |
| BOOST_CONCEPT_ASSERT ((boost::DefaultConstructible< Vertex >)) | |
| BOOST_CONCEPT_ASSERT ((boost::Assignable< Vertex >)) | |
| BOOST_CONCEPT_ASSERT ((boost::CopyConstructible< Vertex >)) | |
| BOOST_CONCEPT_USAGE (CUndirectedSimpleLocalGraph) | |
| void | checkConstConstraints () const |
Private Attributes | |
| T | myX |
| Size | mySize |
| Vertex | myVertex |
| boost::output_iterator_archetype< Vertex > | myOutIt |
| CVertexPredicateArchetype< Vertex > | myVPred |
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'
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 | Post condition | Complexity |
|---|---|---|---|---|---|---|---|
| Degree | x.degree(v) | Size | Returns the degree of vertex v | ||||
| Capacity | x.bestCapacity() | Size | Returns the approximate number of neighbors to be expected. Useful to prepare data structures. | ||||
| Neighbourhood | 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. |
| T | the type that should be a model of CUndirectedSimpleLocalGraph. |
Definition at line 100 of file CUndirectedSimpleLocalGraph.h.
| T::Size DGtal::concepts::CUndirectedSimpleLocalGraph< T >::Size |
Definition at line 106 of file CUndirectedSimpleLocalGraph.h.
| T::Vertex DGtal::concepts::CUndirectedSimpleLocalGraph< T >::Vertex |
Definition at line 105 of file CUndirectedSimpleLocalGraph.h.
| T::VertexSet DGtal::concepts::CUndirectedSimpleLocalGraph< T >::VertexSet |
Definition at line 107 of file CUndirectedSimpleLocalGraph.h.
| DGtal::concepts::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_ASSERT | ( | (boost::Assignable< Vertex >) | ) |
| DGtal::concepts::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_ASSERT | ( | (boost::CopyConstructible< Vertex >) | ) |
| DGtal::concepts::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_ASSERT | ( | (boost::DefaultConstructible< Vertex >) | ) |
| DGtal::concepts::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_ASSERT | ( | (CIntegralNumber< Size >) | ) |
|
inline |
Definition at line 120 of file CUndirectedSimpleLocalGraph.h.
References DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().
|
inline |
Definition at line 125 of file CUndirectedSimpleLocalGraph.h.
References DGtal::concepts::CUndirectedSimpleLocalGraph< T >::myOutIt, DGtal::concepts::CUndirectedSimpleLocalGraph< T >::mySize, DGtal::concepts::CUndirectedSimpleLocalGraph< T >::myVertex, DGtal::concepts::CUndirectedSimpleLocalGraph< T >::myVPred, DGtal::concepts::CUndirectedSimpleLocalGraph< T >::myX, and DGtal::concepts::ConceptUtils::sameType().
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::BOOST_CONCEPT_USAGE().
|
mutableprivate |
Definition at line 138 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().
|
private |
Definition at line 136 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().
|
private |
Definition at line 137 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().
|
private |
Definition at line 139 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().
|
private |
Definition at line 135 of file CUndirectedSimpleLocalGraph.h.
Referenced by DGtal::concepts::CUndirectedSimpleLocalGraph< T >::checkConstConstraints().