Description Usage Arguments Examples
Breadth-first search (BFS)
1 2 |
x |
An object coercable to a GraphFrame (typically, a
|
from_expr |
Spark SQL expression specifying valid starting vertices for the BFS. |
to_expr |
Spark SQL expression specifying valid target vertices for the BFS. |
max_path_length |
Limit on the length of paths. |
edge_filter |
Spark SQL expression specifying edges which may be used in the search. |
... |
Optional arguments, currently not used. |
1 2 3 4 5 | ## Not run:
g <- gf_friends(sc)
gf_bfs(g, from_expr = "name = 'Esther'", to_expr = "age < 32")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.