CinderPeak Contribution Ideas Phase II: Adjacency Storage #63
SharonIV0x86
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I’m excited to announce that CinderPeak is steadily approaching a stable release. At this stage, only a few core components remain before we can fully implement the Algorithms Module, which is a key part of any graph library.
Before diving into algorithms, a few foundational tasks need to be completed. If you’d like to contribute, you can pick any of the tasks below and open an issue with your proposed implementation plan.
Vertex Management in Adjacency Storage
impl_removeVertex(const VertexType &v)
: Remove a vertex and all its incident edges.impl_hasVertex(const VertexType &v)
: Check if a vertex exists (shortcut for find != end).impl_numVertices()
: Return the total number of vertices.impl_clearVertices()
: Reset or clear all vertices.Edge Management in Adjacency Storage
Edge Management
impl_removeEdge(const VertexType &src, const VertexType &dest)
: Delete a specific edge.impl_updateEdge(const VertexType &src, const VertexType &dest, const EdgeType &newWeight)
: Update an edge’s weight without recreating it.impl_numEdges()
: Return the total number of edges.impl_clearEdges()
: Remove all edges while keeping the vertices intact.Regards
Anirudh Lakhanpal
Beta Was this translation helpful? Give feedback.
All reactions