Cache the outgoing transitions of an automaton as efficient maps label -> vector<(weight, dst)>.
More...
#include <transition_map.hh>
template<typename Aut, typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
struct awali::sttc::internal::transition_map< Aut, WeightSet, Deterministic, AllOut >
Cache the outgoing transitions of an automaton as efficient maps label -> vector<(weight, dst)>.
Easy to zip.
- Template Parameters
-
Aut | The automaton type. |
WeightSet | The set of weights into which the weights will be converted. |
Deterministic | Whether the automaton is guaranteed to be deterministic. If it is, transition_map[state][label] returns a single result, otherwise a vector. |
AllOut | Whether even the transitions to post() (via the special label) are to be included. |
◆ awali::sttc::internal::transition_map::transition
struct awali::sttc::internal::transition_map::transition |
template<typename Aut, typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
struct awali::sttc::internal::transition_map< Aut, WeightSet, Deterministic, AllOut >::transition
◆ map_t
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ maps_t
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ transitions_t
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ weight_t
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ weightset_t
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ transition_map() [1/2]
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ transition_map() [2/2]
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ build_map_()
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
Build and return the transition map for state s, store at res.
Insert it in the cache.
◆ insert_() [1/2]
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
template<bool Deterministic_>
◆ insert_() [2/2]
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
template<bool Deterministic_>
◆ operator[]()
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ aut_
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
The automaton whose transitions are cached.
◆ maps_
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
◆ ws_
template<typename Aut , typename WeightSet = weightset_t_of<Aut>, bool Deterministic = false, bool AllOut = false>
The documentation for this struct was generated from the following file: