![]() |
Vcsn
2.8
Be Rational
|
Explicit path representation. More...
#include <path.hh>
Public Member Functions | |
weight_t | path_sum (const automaton_t &aut, const std::vector< transition_t > &elts) |
path (const automaton_t &aut, const std::vector< transition_t > &elts={}) | |
void | push_back (transition_t tr, weight_t weight) |
template<typename... Args> | |
void | emplace_back (weight_t weight, Args &&... args) |
bool | operator< (const path &other) const |
template<typename PolynomialSet > | |
auto | make_monomial (const PolynomialSet &ps) const -> typename PolynomialSet::monomial_t |
Construct a monomial from the path. More... | |
const path_t & | get_path () const |
Private Types | |
using | automaton_t = Aut |
using | weight_t = weight_t_of< Aut > |
using | transition_t = transition_t_of< automaton_t > |
using | state_t = state_t_of< automaton_t > |
using | path_t = std::vector< transition_t > |
Private Attributes | |
path_t | path_ |
weight_t | weight_ |
const automaton_t & | aut_ |
const weightset_t_of< automaton_t > & | ws_ |
Explicit path representation.
Held in the resulting Eppstein vector. Represented by the actual vector of transitions and the total weight of the path.
|
private |
|
private |
|
private |
|
private |
|
private |
|
inline |
Definition at line 34 of file path.hh.
References vcsn::detail::path< Aut >::aut_, vcsn::detail::path< Aut >::path_, vcsn::detail::path< Aut >::path_sum(), vcsn::detail::path< Aut >::weight_, and vcsn::detail::path< Aut >::ws_.
|
inline |
Definition at line 49 of file path.hh.
References vcsn::detail::path< Aut >::path_, vcsn::detail::path< Aut >::weight_, and vcsn::detail::path< Aut >::ws_.
|
inline |
Definition at line 82 of file path.hh.
References vcsn::detail::path< Aut >::path_.
Referenced by vcsn::detail::implicit_path< Aut >::explicit_path().
|
inline |
Construct a monomial from the path.
Definition at line 64 of file path.hh.
References vcsn::detail::path< Aut >::aut_, and vcsn::detail::path< Aut >::path_.
|
inline |
Definition at line 56 of file path.hh.
References vcsn::detail::path< Aut >::weight_, and vcsn::detail::path< Aut >::ws_.
|
inline |
Definition at line 26 of file path.hh.
References vcsn::res, and vcsn::detail::path< Aut >::ws_.
Referenced by vcsn::detail::path< Aut >::path().
|
inline |
Definition at line 42 of file path.hh.
References vcsn::detail::path< Aut >::path_, vcsn::detail::path< Aut >::weight_, and vcsn::detail::path< Aut >::ws_.
|
private |
Definition at line 90 of file path.hh.
Referenced by vcsn::detail::path< Aut >::make_monomial(), and vcsn::detail::path< Aut >::path().
|
private |
Definition at line 88 of file path.hh.
Referenced by vcsn::detail::path< Aut >::emplace_back(), vcsn::detail::path< Aut >::get_path(), vcsn::detail::path< Aut >::make_monomial(), vcsn::detail::path< Aut >::path(), and vcsn::detail::path< Aut >::push_back().
|
private |
Definition at line 89 of file path.hh.
Referenced by vcsn::detail::path< Aut >::emplace_back(), vcsn::detail::path< Aut >::operator<(), vcsn::detail::path< Aut >::path(), and vcsn::detail::path< Aut >::push_back().
|
private |
Definition at line 91 of file path.hh.
Referenced by vcsn::detail::path< Aut >::emplace_back(), vcsn::detail::path< Aut >::operator<(), vcsn::detail::path< Aut >::path(), vcsn::detail::path< Aut >::path_sum(), and vcsn::detail::path< Aut >::push_back().