Macaulay2 Engine
Loading...
Searching...
No Matches
◆
getPatternNumber()
int
SuffixTreeNode::getPatternNumber
(
)
const
inline
Definition at line
140
of file
SuffixTree.hpp
.
141
{
142
// this function should *only* be called on leaves
143
// since internal nodes may correspond to multiple patterns
144
// returns the 0 based index of the pattern corresponding to this leaf
145
return
-*(
mLabel
.end()-1)-1;
146
}
SuffixTreeNode::mLabel
Label mLabel
Definition
SuffixTree.hpp:178
References
mLabel
.
SuffixTreeNode
Generated on
for Macaulay2 Engine by
1.15.0