summaryrefslogtreecommitdiffstats
path: root/src/lib/eina_graph_bfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina_graph_bfs.h')
-rw-r--r--src/lib/eina_graph_bfs.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/eina_graph_bfs.h b/src/lib/eina_graph_bfs.h
index f367cf4..21e5336 100644
--- a/src/lib/eina_graph_bfs.h
+++ b/src/lib/eina_graph_bfs.h
@@ -49,7 +49,7 @@ typedef struct _Eina_Graph_BFS_Opaque Eina_Graph_BFS;
* NULL if v is not reachable.
*/
EAPI Eina_List *
-eina_graph_bfs_shortest_path(Eina_Graph *g, unsigned int s, unsigned int d);
+eina_graph_bfs_shortest_path_get(Eina_Graph *g, unsigned int s, unsigned int d);
/**
* returns a Breadth First Search of the given graph.
@@ -78,7 +78,7 @@ eina_graph_bfs_free(Eina_Graph_BFS *bfs);
* @return the source vertex of the BFS.
*/
EAPI unsigned int
-eina_graph_bfs_source(Eina_Graph_BFS *bfs);
+eina_graph_bfs_source_get(Eina_Graph_BFS *bfs);
/**
* is there a path from the source to the given vertex.
@@ -89,7 +89,7 @@ eina_graph_bfs_source(Eina_Graph_BFS *bfs);
* @return EINA_TRUE if the vertex is reachable from the source.
*/
EAPI Eina_Bool
-eina_graph_bfs_has_path_to(Eina_Graph_BFS *bfs, unsigned int v);
+eina_graph_bfs_path_exists(Eina_Graph_BFS *bfs, unsigned int v);
/*
* return the path to reach the given vertex from the source.
@@ -103,7 +103,7 @@ eina_graph_bfs_has_path_to(Eina_Graph_BFS *bfs, unsigned int v);
* NULL if v is not reachable.
*/
EAPI Eina_List *
-eina_graph_bfs_path_to(Eina_Graph_BFS *bfs, unsigned int v);
+eina_graph_bfs_path_get(Eina_Graph_BFS *bfs, unsigned int v);
/*
* return the distance from the source to the given vertex.
@@ -115,6 +115,6 @@ eina_graph_bfs_path_to(Eina_Graph_BFS *bfs, unsigned int v);
* UINT_MAX in not reachable.
*/
EAPI unsigned int
-eina_graph_bfs_dist_to(Eina_Graph_BFS *bfs, unsigned int v);
+eina_graph_bfs_dist_get(Eina_Graph_BFS *bfs, unsigned int v);
#endif /* _EINA_GRAPH_BFS_H */