Loading...
Searching...
No Matches
FactorOracle2.hpp
154 this->states_[state_m_plus_one].suffix_transition_ = this->states_[k].transition_[iter].last_state_;
155 this->states_[state_m_plus_one].lrs_ = this->LengthCommonSuffix(phi, this->states_[state_m_plus_one].suffix_transition_ - 1) + 1;
162 this->states_[state_m_plus_one].suffix_transition_ = this->states_[k].transition_[iter].last_state_;
163 this->states_[state_m_plus_one].lrs_ = this->LengthCommonSuffix(phi, this->states_[state_m_plus_one].suffix_transition_ - 1) + 1;
177 RevSuffix[this->states_[state_m_plus_one].suffix_transition_].push_back(std::move(state_m_plus_one));
323 static const constexpr auto controls = tuplet::make_tuple(Control::IntSlider{"Sequence length", 1, 64, 8});
336 static void run(const ossia::value_port& in, const ossia::value_port& regen, const ossia::value_port& bangs, int seq_len, ossia::value_port& out, ossia::token_request, ossia::exec_state_facade, State& self)
Definition FactorOracle2.hpp:87
int FindBetter(int i, T alpha, const std::vector< T > word)
Definition FactorOracle2.hpp:194
std::vector< std::vector< int > > RevSuffix
Definition FactorOracle2.hpp:92
std::vector< T > FOGenerate(int &i, std::vector< T > v, float q)
Definition FactorOracle2.hpp:219
void AddLetter(int i, const std::vector< T > word)
Definition FactorOracle2.hpp:101
void FactorOracleStart(const std::vector< T > word)
Definition FactorOracle2.hpp:266
Definition FactorOracle2.hpp:61
std::vector< SingleTransition< T > > transition_
denotes the number of the state
Definition FactorOracle2.hpp:79
Definition FactorOracle2.hpp:306