Classes | |
| class | Database |
| Immutable input, with dense ranks internally and original IDs externally. More... | |
| class | Projection |
| Suffixes of records supporting the assigned pattern prefix. More... | |
| class | OpenProjection |
| Private prefix projection for a growing list. More... | |
Typedefs | |
| typedef std::vector< std::vector< int > > | Sequences |
Enumerations | |
| enum class | Format { LETTERS , INTEGERS , SPMF } |
| enum class | Language { DEFAULT , NONE , MOTIF , RE10 , RE14 , RE2 } |
Functions | |
| std::vector< int > | read_sequence (const std::string &line, Format format) |
| Read positive integer items or A..Z (represented by item IDs 1..26). | |
| Sequences | read_database (std::istream &stream, Format format) |
| Read one sequence per line, counting duplicate rows as distinct records. | |
| int | minimum_support (const std::string &percent, int sequences) |
| Round the support percentage (at most six decimals) up to a record count. | |
| IntVar | frequent (Home home, OpenIntVarList pattern, const Database &database, int support) |
| Enforce minimum support and return its exact count when the pattern is complete. | |
| REG | language (Language name, const Database &database) |
| Built-in motif and benchmark languages described in CommonPattern. | |
Typedef Documentation
◆ Sequences
| typedef std::vector<std::vector<int> > PatternMining::Sequences |
Definition at line 26 of file common-pattern.hh.
Enumeration Type Documentation
◆ Format
|
strong |
| Enumerator | |
|---|---|
| LETTERS | |
| INTEGERS | |
| SPMF | |
Definition at line 28 of file common-pattern.hh.
◆ Language
|
strong |
| Enumerator | |
|---|---|
| DEFAULT | |
| NONE | |
| MOTIF | |
| RE10 | |
| RE14 | |
| RE2 | |
Definition at line 29 of file common-pattern.hh.
Function Documentation
◆ read_sequence()
|
inline |
Read positive integer items or A..Z (represented by item IDs 1..26).
Definition at line 33 of file common-pattern.hh.
◆ read_database()
Read one sequence per line, counting duplicate rows as distinct records.
Definition at line 79 of file common-pattern.hh.
◆ minimum_support()
|
inline |
Round the support percentage (at most six decimals) up to a record count.
Definition at line 97 of file common-pattern.hh.
◆ frequent()
|
inline |
Enforce minimum support and return its exact count when the pattern is complete.
Definition at line 440 of file common-pattern.hh.
◆ language()
Built-in motif and benchmark languages described in CommonPattern.
Definition at line 456 of file common-pattern.hh.
