Macaulay2 Engine
Loading...
Searching...
No Matches

◆ patternLeaves()

auto SuffixTree::patternLeaves ( SuffixTreeNode * v,
std::vector< int > & output ) const->void

Definition at line 397 of file SuffixTree.cpp.

398{
399 if (v->numChildren() == 0) return;
400 for(auto x : patternLeavesWorker(v))
401 {
402 output.push_back(x->getPatternNumber());
403 }
404 return;
405}
auto patternLeavesWorker(SuffixTreeNode *v) const -> std::vector< SuffixTreeNode * >
size_t numChildren() const
volatile int x

References patternLeavesWorker(), and x.

Referenced by insert().