Vcsn
2.8
Be Rational
state-map.hh
Go to the documentation of this file.
1
#pragma once
2
3
namespace
vcsn
4
{
6
template
<
typename
Value, Automaton Aut>
7
struct
state_map_t
8
{
9
10
};
11
using
state_map_t
= std::vector<Value>;
12
13
template
<
typename
Value>
14
state_map_t<Value>
15
make_state_map
()
const
16
{
17
return
state_map_t<Value>
(
states_size
());
18
}
19
20
}
// namespace vcsn
vcsn::state_map_t
A map indexed by states.
Definition:
state-map.hh:7
vcsn::detail::states_size
size_t states_size(const Aut &aut)
The largest state number, plus one.
Definition:
automaton.hh:41
vcsn
Definition:
a-star.hh:8
vcsn::make_state_map
state_map_t< Value > make_state_map() const
Definition:
state-map.hh:15
vcsn
core
state-map.hh
Generated by
1.8.13