AI 24/25 Project Software
Documentation for the AI 24/25 course programming project software
Loading...
Searching...
No Matches
types.h
1#ifndef PDBS_TYPES_H
2#define PDBS_TYPES_H
3
4#include <memory>
5#include <vector>
6
7namespace pdbs {
8class PatternDatabase;
9using Pattern = std::vector<int>;
10using PatternCollection = std::vector<Pattern>;
11using PDBCollection = std::vector<std::shared_ptr<PatternDatabase>>;
12using PatternID = int;
13/* NOTE: pattern cliques are often called maximal additive pattern subsets
14 in the literature. A pattern clique is an additive set of patterns,
15 represented by their IDs (indices) in a pattern collection. */
16using PatternClique = std::vector<PatternID>;
17}
18
19#endif