20 template <Automaton Aut>
34 unsigned depth = std::numeric_limits<unsigned>::max())
39 ,
ws_{aut->weightset().get()}
bool operator<(const self_t &other) const
Compare weights, used to order nodes in the shortest path heap.
unsigned get_depth() const
typename detail::weightset_t_of_impl< base_t< ValueSet > >::type weightset_t_of
state_t get_state() const
typename detail::state_t_of_impl< base_t< ValueSet > >::type state_t_of
void set_depth(unsigned depth)
void set_weight(weight_t weight)
weight_t get_weight() const
If there is no weight in the node then its weight is the weightset's maximum.
dijkstra_node(const automaton_t &aut, state_t state, state_t parent, weight_t weight=weightset_t::max(), unsigned depth=std::numeric_limits< unsigned >::max())
state_t_of< automaton_t > state_t
weightset_t_of< automaton_t > weightset_t
state_t get_parent() const
Dijkstra Node implementation.
weight_t_of< automaton_t > weight_t
void set_parent(state_t parent)
typename detail::weight_t_of_impl< base_t< ValueSet > >::type weight_t_of
value_impl< detail::weight_tag > weight