public static class NestedNode.NestedNodeCrawler extends Crawler
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Node> |
m_allNodes
The list of all visited nodes.
|
protected java.util.List<Node> |
m_leaves
The list of nodes that are leaves.
|
m_allowBackward, m_allowForward, m_start
Constructor and Description |
---|
NestedNodeCrawler(Node start)
Creates a new crawler.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
getLeaves()
Gets the list of visited nodes that are leaves.
|
java.util.List<Node> |
getNodes()
Gets the list of all visited nodes.
|
void |
visit(Node n)
Visits a node in the graph.
|
protected java.util.List<Node> m_leaves
protected java.util.List<Node> m_allNodes
public NestedNodeCrawler(Node start)
start
- The starting point of the crawlpublic void visit(Node n)
Crawler
public java.util.List<Node> getLeaves()
public java.util.List<Node> getNodes()
Copyright © Sylvain HallĂ©. All Rights Reserved.