mirror of
https://github.com/Jaxan/hybrid-ads.git
synced 2025-04-27 23:17:44 +02:00
23 lines
350 B
C++
23 lines
350 B
C++
#pragma once
|
|
|
|
#include "mealy.hpp"
|
|
|
|
#include <vector>
|
|
#include <utility>
|
|
|
|
struct dist_seq {
|
|
dist_seq(size_t N, size_t depth)
|
|
: CI(N)
|
|
, depth(depth)
|
|
{
|
|
for(size_t i = 0; i < N; ++i)
|
|
CI[i] = {i, i};
|
|
}
|
|
|
|
// current, initial
|
|
std::vector<std::pair<state, state>> CI;
|
|
std::vector<input> word;
|
|
std::vector<dist_seq> children;
|
|
size_t depth;
|
|
};
|
|
|