Add todos
This commit is contained in:
@@ -20,6 +20,8 @@ struct Graph {
|
|||||||
incidence_vertices: Vec<Vertex>,
|
incidence_vertices: Vec<Vertex>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Add iterator of vertices.
|
||||||
|
// TODO: Add iterator of edges.
|
||||||
// TODO: Add iterator of vertex neighbors, see 'fn add_adjacent()'.
|
// TODO: Add iterator of vertex neighbors, see 'fn add_adjacent()'.
|
||||||
impl Graph {
|
impl Graph {
|
||||||
fn vertex_count(&self) -> usize {
|
fn vertex_count(&self) -> usize {
|
||||||
|
|||||||
Reference in New Issue
Block a user