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);
115 fsm(
const char* name);
126 fsm(
int k,
int n,
const std::vector<int>& G);
135 fsm(
int mod_size,
int ch_length);
148 fsm(
int P,
int M,
int L);
166 fsm(
const fsm& FSMo,
const fsm& FSMi,
bool serial);
175 fsm(
const fsm& FSM,
int n);
176 int I()
const {
return d_I; }
177 int S()
const {
return d_S; }
178 int O()
const {
return d_O; }
179 const std::vector<int>&
NS()
const {
return d_NS; }
180 const std::vector<int>&
OS()
const {
return d_OS; }
181 const std::vector<std::vector<int>>&
PS()
const {
return d_PS; }
182 const std::vector<std::vector<int>>&
PI()
const {
return d_PI; }
183 const std::vector<int>&
TMi()
const {
return d_TMi; }
184 const std::vector<int>&
TMl()
const {
return d_TMl; }
192 void write_trellis_svg(std::string filename,
int number_stages);
199 void write_fsm_txt(std::string filename);
const std::vector< int > & NS() const
Definition: fsm.h:179
const std::vector< int > & TMl() const
Definition: fsm.h:184
const std::vector< std::vector< int > > & PS() const
Definition: fsm.h:181
int O() const
Definition: fsm.h:178
const std::vector< std::vector< int > > & PI() const
Definition: fsm.h:182
const std::vector< int > & OS() const
Definition: fsm.h:180
GNU Radio logging wrapper for log4cpp library (C++ port of log4j)
Definition: basic_block.h:43
#define TRELLIS_API
Definition: gr-trellis/include/gnuradio/trellis/api.h:30
int S() const
Definition: fsm.h:177
Finite State Machine Specification class.
Definition: fsm.h:43
int I() const
Definition: fsm.h:176
const std::vector< int > & TMi() const
Definition: fsm.h:183
#define S(x)
Definition: rpcserver_thrift.h:37