1
Fork 0
mirror of https://github.com/Jaxan/hybrid-ads.git synced 2025-04-27 15:07:45 +02:00
hybrid-ads/lib/transfer_sequences.hpp

18 lines
488 B
C++

#pragma once
#include "types.hpp"
struct mealy;
// state -> sequence going to that state
using transfer_sequences = std::vector<word>;
struct transfer_options {
bool randomized;
};
const transfer_options randomized_transfer_sequences{true};
const transfer_options canonical_transfer_sequences{false};
transfer_sequences create_transfer_sequences(transfer_options const & opt, mealy const & machine,
state s, uint_fast32_t random_seed);