Immutable input, with dense ranks internally and original IDs externally. More...
#include <examples/common-pattern.hh>
Public Member Functions | |
| Database (const Sequences &input) | |
| IntSet | domain (void) const |
| int | max_length (void) const |
| int | support (const std::vector< int > &pattern) const |
| Count supporting records, rather than embeddings within a record. | |
Public Attributes | |
| IntSharedArray | items |
| Concatenated item ranks. | |
| IntSharedArray | ends |
| Exclusive record ends in items. | |
| IntSharedArray | alphabet |
| Rank-to-ID mapping. | |
| IntSharedArray | last_positions |
| Each item's last position per record, in decreasing position order. | |
| IntSharedArray | last_ends |
| Exclusive record ends in last_positions. | |
Detailed Description
Immutable input, with dense ranks internally and original IDs externally.
Definition at line 121 of file common-pattern.hh.
Constructor & Destructor Documentation
◆ Database()
|
inlineexplicit |
Definition at line 134 of file common-pattern.hh.
Member Function Documentation
◆ domain()
|
inline |
Definition at line 178 of file common-pattern.hh.
◆ max_length()
|
inline |
Definition at line 180 of file common-pattern.hh.
◆ support()
|
inline |
Count supporting records, rather than embeddings within a record.
Definition at line 191 of file common-pattern.hh.
Member Data Documentation
◆ items
| IntSharedArray PatternMining::Database::items |
Concatenated item ranks.
Definition at line 124 of file common-pattern.hh.
◆ ends
| IntSharedArray PatternMining::Database::ends |
Exclusive record ends in items.
Definition at line 126 of file common-pattern.hh.
◆ alphabet
| IntSharedArray PatternMining::Database::alphabet |
Rank-to-ID mapping.
Definition at line 128 of file common-pattern.hh.
◆ last_positions
| IntSharedArray PatternMining::Database::last_positions |
Each item's last position per record, in decreasing position order.
Definition at line 130 of file common-pattern.hh.
◆ last_ends
| IntSharedArray PatternMining::Database::last_ends |
Exclusive record ends in last_positions.
Definition at line 132 of file common-pattern.hh.
The documentation for this class was generated from the following file:
- examples/common-pattern.hh
