Vcsn  2.0
Be Rational
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
push-weights.cc
Go to the documentation of this file.
3 #include <vcsn/dyn/algos.hh>
4 #include <vcsn/dyn/automaton.hh>
5 
6 namespace vcsn
7 {
8  /*--------------.
9  | push weight. |
10  `--------------*/
11 
12  namespace dyn
13  {
14  REGISTER_DEFINE(push_weights);
15 
16  automaton
17  push_weights(const automaton& aut)
18  {
19  return detail::push_weights_registry().call(aut);
20  }
21  }
22 }
std::shared_ptr< detail::automaton_base > automaton
Definition: automaton.hh:71
automaton push_weights(const automaton &aut)
The weight pushing automaton of aut.
Definition: push-weights.cc:17