23 #ifndef INCLUDED_TRELLIS_FSM_H
24 #define INCLUDED_TRELLIS_FSM_H
57 std::vector<int> d_NS;
61 std::vector<int> d_OS;
64 std::vector< std::vector<int> > d_PS;
70 std::vector< std::vector<int> > d_PI;
75 std::vector<int> d_TMl;
79 std::vector<int> d_TMi;
80 void generate_PS_PI ();
107 fsm(
int I,
int S,
int O,
const std::vector<int> &NS,
const std::vector<int> &OS);
125 fsm(
int k,
int n,
const std::vector<int> &G);
134 fsm(
int mod_size,
int ch_length);
147 fsm(
int P,
int M,
int L);
163 fsm(
const fsm &FSM,
int n);
164 int I()
const {
return d_I; }
165 int S()
const {
return d_S; }
166 int O()
const {
return d_O; }
167 const std::vector<int> &
NS()
const {
return d_NS; }
168 const std::vector<int> &
OS()
const {
return d_OS; }
169 const std::vector< std::vector<int> > &
PS()
const {
return d_PS; }
170 const std::vector< std::vector<int> > &
PI()
const {
return d_PI; }
171 const std::vector<int> &
TMi()
const {
return d_TMi; }
172 const std::vector<int> &
TMl()
const {
return d_TMl; }
180 void write_trellis_svg(std::string filename ,
int number_stages);
187 void write_fsm_txt(std::string filename);
const std::vector< int > & NS() const
Definition: fsm.h:167
const std::vector< int > & TMl() const
Definition: fsm.h:172
const std::vector< std::vector< int > > & PS() const
Definition: fsm.h:169
const std::vector< int > & TMi() const
Definition: fsm.h:171
const std::vector< int > & OS() const
Definition: fsm.h:168
int I() const
Definition: fsm.h:164
const std::vector< std::vector< int > > & PI() const
Definition: fsm.h:170
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:30
int S() const
Definition: fsm.h:165
VOLK_API $kern pname $kern name
A function pointer to the dispatcher implementation.
int O() const
Definition: fsm.h:166
Finite State Machine Specification class.
Definition: fsm.h:43