10 template <
typename Aut>
17 return d(a->pre(), a->post());
25 template <
typename Aut>
29 const auto& a = aut->as<Aut>();
31 const auto&
ctx = a->context();
auto weight_series(const Aut &a) -> weight_t_of< Aut >
weight weight_series(const automaton &aut)
Bridge.
static dyn::context ctx(const driver &d)
Get the context of the driver.
std::shared_ptr< const detail::weight_base > weight
weight make_weight(const WeightSet &ws, const typename WeightSet::value_t &w)
std::shared_ptr< detail::automaton_base > automaton
Wrapper struct to provide the state distance function.
typename detail::weight_t_of_impl< base_t< ValueSet >>::type weight_t_of