summaryrefslogtreecommitdiffstats
path: root/src/lib/eina_graph_bfs.c
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-03-30 22:17:56 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-03-30 22:17:56 +0200
commitd44cd9ff53941d72c42c46d1fe73cc36c6969688 (patch)
treeb8e28f6d53856c3d45e226727f79a185b3d6207a /src/lib/eina_graph_bfs.c
parent19390ab685d27f2b2c3153dd53b5661998edcfaf (diff)
downloadeina_graph-d44cd9ff53941d72c42c46d1fe73cc36c6969688.zip
eina_graph-d44cd9ff53941d72c42c46d1fe73cc36c6969688.tar.gz
some API function renamed
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;