![]() |
0.11.4
|
An object that visits every processor in a chain, from a processor used as a starting point.
Currently, this crawler is only used to clone GroupProcessors.
Definition at line 33 of file PipeCrawler.java.
Public Member Functions | |
| void | crawl (Processor start) |
| Crawls a graph from some starting point. | |
| abstract void | visit (Processor p) |
| Do something on a processor. | |
Static Protected Attributes | |
| static final int | s_maxCrawls = 10000 |
| The maximum number of loops that the crawler can do during a traversal. | |
| void ca.uqac.lif.cep.PipeCrawler.crawl | ( | Processor | start | ) |
Crawls a graph from some starting point.
| start | The processor to start from |
Reimplemented in ca.uqac.lif.cep.GroupProcessor.CopyCrawler.
Definition at line 47 of file PipeCrawler.java.
|
abstract |
Do something on a processor.
Upon a call to crawl(Processor), this method is called exactly once for every reachable processor in the pipe graph.
| p | A processor |
Reimplemented in ca.uqac.lif.cep.GroupProcessor.CollectCrawler, and ca.uqac.lif.cep.GroupProcessor.CopyCrawler.
|
staticprotected |
The maximum number of loops that the crawler can do during a traversal.
This is intended as a safety measure to make sure that method crawl(Processor) always terminates.
Definition at line 40 of file PipeCrawler.java.