summaryrefslogtreecommitdiffstats
path: root/src/lib/eina_graph_bfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eina_graph_bfs.c')
-rw-r--r--src/lib/eina_graph_bfs.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/eina_graph_bfs.c b/src/lib/eina_graph_bfs.c
index a7ce983..c2f2f63 100644
--- a/src/lib/eina_graph_bfs.c
+++ b/src/lib/eina_graph_bfs.c
@@ -106,7 +106,7 @@ _eina_graph_bfs_walk(_Eina_Graph *_g, _Eina_Graph_BFS *_bfs,
}
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)
{
Eina_List *path;
Eina_Graph_BFS *bfs;
@@ -116,7 +116,7 @@ eina_graph_bfs_shortest_path(Eina_Graph *g, unsigned int s, unsigned int d)
if (!bfs) return NULL;
_eina_graph_bfs_walk(_g, (_Eina_Graph_BFS *)bfs, s, d);
- path = eina_graph_bfs_path_to(bfs, d);
+ path = eina_graph_bfs_path_get(bfs, d);
eina_graph_bfs_free(bfs);
@@ -148,7 +148,7 @@ eina_graph_bfs_free(Eina_Graph_BFS *bfs)
}
EAPI unsigned int
-eina_graph_bfs_source(Eina_Graph_BFS *bfs)
+eina_graph_bfs_source_get(Eina_Graph_BFS *bfs)
{
_Eina_Graph_BFS *_bfs = (_Eina_Graph_BFS *) bfs;
@@ -156,7 +156,7 @@ eina_graph_bfs_source(Eina_Graph_BFS *bfs)
}
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)
{
_Eina_Graph_BFS *_bfs = (_Eina_Graph_BFS *) bfs;
@@ -170,7 +170,7 @@ eina_graph_bfs_has_path_to(Eina_Graph_BFS *bfs, unsigned int v)
}
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)
{
unsigned int w = v;
Eina_List *path = NULL;
@@ -196,7 +196,7 @@ eina_graph_bfs_path_to(Eina_Graph_BFS *bfs, unsigned int v)
}
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)
{
_Eina_Graph_BFS *_bfs = (_Eina_Graph_BFS *) bfs;