We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 43b2008 + b3ca216 commit 8fc97c1Copy full SHA for 8fc97c1
README.md
@@ -11,8 +11,15 @@ extern crate datafrog;
11
use datafrog::Iteration;
12
13
fn main() {
14
-
15
- // Create a new iteration context, ...
+ // Prepare initial values, ..
+ let nodes: Vec<(u32,u32)> = vec![
16
+ // ..
17
+ ];
18
+ let edges: Vec<(u32,u32)> = vec![
19
20
21
+
22
+ // Create a new iteration context, ..
23
let mut iteration = Iteration::new();
24
25
// .. some variables, ..
@@ -30,7 +37,7 @@ fn main() {
30
37
}
31
38
32
39
// extract the final results.
33
- let reachable: Vec<(u32,u32)> = variable.complete();
40
+ let reachable: Vec<(u32,u32)> = nodes_var.complete();
34
41
35
42
```
36
43
0 commit comments