public interface Traversal
| Modifier and Type | Interface and Description |
|---|---|
static class |
Traversal.Stats |
static interface |
Traversal.Visitor |
| Modifier and Type | Field and Description |
|---|---|
static Traversal |
BFS_MAX
A level-order traversal where the level is the max distance from the root.
|
static Traversal |
BFS_MIN
A level-order traversal where the level is the min distance from the
root.
|
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Node node,
Traversal.Visitor... visitors) |
void |
accept(Ontology ont,
Traversal.Visitor... visitors) |
static final Traversal BFS_MIN
Will visit descendants of start that have paths to the
root not also containing start.
static final Traversal BFS_MAX
Will not visit descendants of start that have paths to the root not also containing start.
void accept(Ontology ont, Traversal.Visitor... visitors)
void accept(Node node, Traversal.Visitor... visitors)
Copyright © 2019 Australian e-Health Research Centre. All Rights Reserved.