|
GraphDom
|
Every set graph created using this library is an instance of a concrete class publicly derived, directly or indirectly, from this polymorphic template class. More...
#include <set_graph.h>


Public Member Functions | |
| ~set_graph () override=default | |
| To be polymorphic, this class has a virtual destructor. | |
| virtual std::pair< typename graph< VertexType >::vertex_handle, bool > | insert_vertex (const VertexType &v_core)=0 |
| virtual std::pair< typename graph< VertexType >::vertex_handle, bool > | insert_vertex (VertexType &&v_core)=0 |
| Public Member Functions inherited from graphdom::graph< VertexType > | |
| virtual | ~graph ()=default |
| To be polymorphic, this class has a virtual destructor. | |
| virtual std::size_t | order () const =0 |
| Returns the order of *this, i.e. the number of vertices inside the graph. | |
| virtual void | erase_vertex (const vertex_const_handle &vertex)=0 |
Removes the vertex identified by vertex. | |
| virtual adj_list_iterator | erase_edge (const adj_list_const_iterator &)=0 |
Every set graph created using this library is an instance of a concrete class publicly derived, directly or indirectly, from this polymorphic template class.
Creating an object of a user-defined class derived, directly or indirectly, from this one will cause undefined behavior.
|
nodiscardpure virtual |
Inserts in *this a vertex having v_core as core, if *this doesn't already contain a vertex with an equivalent core.
| v_core |
Implemented in graphdom::labeled_vertex_set_graph< VertexType, VertexLabelType, VertexLabellerType >, and graphdom::labeled_vertex_set_graph< VertexType, VertexLabelType, default_vertex_labeller< VertexType, VertexLabelType > >.
|
nodiscardpure virtual |
Inserts in *this a vertex having v_core as core, if *this doesn't already contain a vertex with an equivalent core.
| v_core |
Implemented in graphdom::labeled_vertex_set_graph< VertexType, VertexLabelType, VertexLabellerType >.