4 #include <vcsn/dyn/fwd.hh>
15 template <Automaton Aut>
16 std::enable_if_t<weightset_t_of<Aut>::has_lightening_weights(),
bool>
22 template <Automaton Aut>
23 std::enable_if_t<!weightset_t_of<Aut>::has_lightening_weights(),
bool>
34 template <Automaton Aut>
37 const auto& a = aut->
as<Aut>();
std::enable_if_t< weightset_t_of< Aut >::has_lightening_weights(), bool > has_lightening_cycle(const Aut &aut)
boost::optional< std::vector< transition_t_of< Aut > > > bellman_ford_impl(const Aut &aut, state_t_of< Aut > source)
Bellman-Ford implementation of lightest automaton.
auto & as()
Extract wrapped typed automaton.
bool has_lightening_cycle(const automaton &aut)
Bridge.