1
Fork 0
mirror of https://github.com/Jaxan/hybrid-ads.git synced 2025-04-28 07:27:45 +02:00
hybrid-ads/lib/create_splitting_tree.hpp
2015-03-19 17:25:33 +01:00

30 lines
619 B
C++

#pragma once
#include "mealy.hpp"
#include "partition.hpp"
#include "splitting_tree.hpp"
#include <vector>
struct result {
result(size_t N)
: root(N, 0)
, partition(N)
, successor_cache()
, is_complete(true)
{}
// The splitting tree as described in Lee & Yannakakis
splijtboom root;
// The running partition of states
partition_refine partition;
// Encodes f_u : depth -> state -> state, where only the depth of u is of importance
std::vector<std::vector<state>> successor_cache;
// false <-> no adaptive distinguishing sequence
bool is_complete;
};
result create_splitting_tree(Mealy const & m);