Lumiera
0.pre.03
»edit your freedom«
|
Definition at line 104 of file iter-chain-search-test.cpp.
Private Member Functions | |
void | backtracking () |
void | chainedIteration () |
virtual void | run (Arg) |
void | simpleSearch () |
|
inlineprivate |
Definition at line 118 of file iter-chain-search-test.cpp.
References lib::iter::chainSearch().
|
inlineprivate |
In the general case, each step in the chain is a function working on a copy of the current filter state. Since each such step configures its own copy of the complete pipeline, it may reconfigure this filter pipeline in arbitrary ways. After exhausting the last layer, the evaluation returns to the previous layer, but immediately re-applies the configuration step on the then next element.
Definition at line 153 of file iter-chain-search-test.cpp.
References lib::iter::chainSearch().
|
inlineprivate |
This becomes relevant when a given search condition can be "too greedy" for the complete chain to succeed. Most notably this is the case when the search is fundamentally reconfigured in some steps, e.g. by switching the search orientation. To demonstrate this, we use a "gear switching" iterator, which allows us to reverse the direction and to search backwards from the current position. We configure the second condition in the chain such that it can not succeed when starting from the first match on the first condition
Definition at line 191 of file iter-chain-search-test.cpp.