Graph node with an adjacency list; the vertex type the graph algorithms operate on. More...
#include <cl_Graph_Vertex.hpp>
Public Member Functions | |
| Vertex ()=default | |
| virtual | ~Vertex () |
| void | set_id (const id_t aID) |
| id_t | id () const |
| virtual void | set_index (const index_t aIndex) |
| virtual index_t | index () const |
| virtual void | set_owner (const proc_t aOwner) |
| virtual proc_t | owner () const |
| index_t | level () const |
| void | set_level (const index_t aLevel) |
| virtual void | flag (const uint8_t aIndex=0) |
| virtual void | unflag (const uint8_t aIndex=0) |
| virtual bool | is_flagged (const uint8_t aIndex=0) const |
| void | increment_vertex_counter () |
| void | init_vertex_container () |
| void | init_vertex_container (const uint aSize) |
| void | reset_vertex_container () |
| void | insert_vertex (Vertex *aVertex) |
| uint | number_of_vertices () const |
| virtual Vertex * | vertex (const uint aIndex) |
| virtual auto | vertex (const uint aIndex) const -> decltype(this) |
| virtual void | init_element_container () |
| virtual void | reset_element_container () |
| void | sort_vertices () |
| sorts the vertices according to their index | |
| void | reverse_vertices () |
Protected Attributes | |
| uint32_t | mVertexCounter = 0 |
| Vertex ** | mVertices = nullptr |
Graph node with an adjacency list; the vertex type the graph algorithms operate on.
|
default |
|
virtual |
Reimplemented in belfem::mesh::Vertex.
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
virtual |
| void belfem::graph::Vertex::init_vertex_container | ( | ) |
| void belfem::graph::Vertex::init_vertex_container | ( | const uint | aSize | ) |
|
inline |
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
virtual |
Reimplemented in belfem::mesh::ControlPoint, belfem::mesh::Element, and belfem::mesh::Vertex.
| void belfem::graph::Vertex::reset_vertex_container | ( | ) |
| void belfem::graph::Vertex::reverse_vertices | ( | ) |
|
inline |
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
inline |
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
| void belfem::graph::Vertex::sort_vertices | ( | ) |
sorts the vertices according to their index
sorts the connected vertices according to their index
|
inlinevirtual |
Reimplemented in belfem::mesh::Facet.
|
inlinevirtual |
|
protected |
|
protected |