# This file was automatically generated by SWIG (http://www.swig.org).
# Version 1.3.31
#
# Don't modify this file, modify the SWIG interface instead.

import _trellis
import new
new_instancemethod = new.instancemethod
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'PySwigObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static) or hasattr(self,name):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError,name

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

import types
try:
    _object = types.ObjectType
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0
del types


def _swig_setattr_nondynamic_method(set):
    def set_attr(self,name,value):
        if (name == "thisown"): return self.this.own(value)
        if hasattr(self,name) or (name == "this"):
            set(self,name,value)
        else:
            raise AttributeError("You cannot add attributes to %s" % self)
    return set_attr


class fsm(object):
    """Proxy of C++ fsm class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> fsm
        __init__(self, fsm FSM) -> fsm
        __init__(self, int I, int S, int O, __dummy_3__ NS, __dummy_3__ OS) -> fsm
        __init__(self, char name) -> fsm
        __init__(self, int k, int n, __dummy_3__ G) -> fsm
        __init__(self, int mod_size, int ch_length) -> fsm
        """
        this = _trellis.new_fsm(*args)
        try: self.this.append(this)
        except: self.this = this
    def I(*args):
        """I(self) -> int"""
        return _trellis.fsm_I(*args)

    def S(*args):
        """S(self) -> int"""
        return _trellis.fsm_S(*args)

    def O(*args):
        """O(self) -> int"""
        return _trellis.fsm_O(*args)

    def NS(*args):
        """NS(self) -> __dummy_3__"""
        return _trellis.fsm_NS(*args)

    def OS(*args):
        """OS(self) -> __dummy_3__"""
        return _trellis.fsm_OS(*args)

    def PS(*args):
        """PS(self) -> __dummy_3__"""
        return _trellis.fsm_PS(*args)

    def PI(*args):
        """PI(self) -> __dummy_3__"""
        return _trellis.fsm_PI(*args)

    def TMi(*args):
        """TMi(self) -> __dummy_3__"""
        return _trellis.fsm_TMi(*args)

    def TMl(*args):
        """TMl(self) -> __dummy_3__"""
        return _trellis.fsm_TMl(*args)

    __swig_destroy__ = _trellis.delete_fsm
    __del__ = lambda self : None;
fsm_swigregister = _trellis.fsm_swigregister
fsm_swigregister(fsm)

class interleaver(object):
    """Proxy of C++ interleaver class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> interleaver
        __init__(self, interleaver INTERLEAVER) -> interleaver
        __init__(self, int K, __dummy_3__ INTER) -> interleaver
        __init__(self, char name) -> interleaver
        __init__(self, int K, unsigned int seed) -> interleaver
        """
        this = _trellis.new_interleaver(*args)
        try: self.this.append(this)
        except: self.this = this
    def K(*args):
        """K(self) -> int"""
        return _trellis.interleaver_K(*args)

    def INTER(*args):
        """INTER(self) -> __dummy_3__"""
        return _trellis.interleaver_INTER(*args)

    def DEINTER(*args):
        """DEINTER(self) -> __dummy_3__"""
        return _trellis.interleaver_DEINTER(*args)

    __swig_destroy__ = _trellis.delete_interleaver
    __del__ = lambda self : None;
interleaver_swigregister = _trellis.interleaver_swigregister
interleaver_swigregister(interleaver)

class trellis_permutation_sptr(object):
    """Proxy of C++ trellis_permutation_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_permutation_sptr
        __init__(self,  p) -> trellis_permutation_sptr
        """
        this = _trellis.new_trellis_permutation_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_permutation_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_permutation_sptr
    __del__ = lambda self : None;
    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_permutation_sptr_K(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_3__"""
        return _trellis.trellis_permutation_sptr_TABLE(*args)

    def SYMS_PER_BLOCK(*args):
        """SYMS_PER_BLOCK(self) -> int"""
        return _trellis.trellis_permutation_sptr_SYMS_PER_BLOCK(*args)

    def NBYTES_INOUT(*args):
        """NBYTES_INOUT(self) -> size_t"""
        return _trellis.trellis_permutation_sptr_NBYTES_INOUT(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_permutation_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_permutation_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_permutation_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_permutation_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_permutation_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_permutation_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_permutation_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_permutation_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_permutation_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_permutation_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_permutation_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_permutation_sptr_set_detail(*args)

trellis_permutation_sptr_swigregister = _trellis.trellis_permutation_sptr_swigregister
trellis_permutation_sptr_swigregister(trellis_permutation_sptr)


def trellis_permutation_block(*args):
  """trellis_permutation_block(trellis_permutation_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_permutation_block(*args)
trellis_permutation_sptr.block = lambda self: trellis_permutation_block (self)
trellis_permutation_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def permutation(*args):
  """permutation(int K, __dummy_3__ TABLE, int SYMS_PER_BLOCK, size_t NBYTES_INOUT) -> trellis_permutation_sptr"""
  return _trellis.permutation(*args)
class trellis_siso_f_sptr(object):
    """Proxy of C++ trellis_siso_f_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_siso_f_sptr
        __init__(self,  p) -> trellis_siso_f_sptr
        """
        this = _trellis.new_trellis_siso_f_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_siso_f_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_siso_f_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_siso_f_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_siso_f_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_siso_f_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_siso_f_sptr_SK(*args)

    def POSTI(*args):
        """POSTI(self) -> bool"""
        return _trellis.trellis_siso_f_sptr_POSTI(*args)

    def POSTO(*args):
        """POSTO(self) -> bool"""
        return _trellis.trellis_siso_f_sptr_POSTO(*args)

    def SISO_TYPE(*args):
        """SISO_TYPE(self) -> int"""
        return _trellis.trellis_siso_f_sptr_SISO_TYPE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_siso_f_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_siso_f_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_siso_f_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_siso_f_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_siso_f_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_siso_f_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_siso_f_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_siso_f_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_siso_f_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_siso_f_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_siso_f_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_siso_f_sptr_set_detail(*args)

trellis_siso_f_sptr_swigregister = _trellis.trellis_siso_f_sptr_swigregister
trellis_siso_f_sptr_swigregister(trellis_siso_f_sptr)


def trellis_siso_f_block(*args):
  """trellis_siso_f_block(trellis_siso_f_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_siso_f_block(*args)
trellis_siso_f_sptr.block = lambda self: trellis_siso_f_block (self)
trellis_siso_f_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def siso_f(*args):
  """
    siso_f(fsm FSM, int K, int S0, int SK, bool POSTI, bool POSTO, 
        trellis_siso_type_t SISO_TYPE) -> trellis_siso_f_sptr
    """
  return _trellis.siso_f(*args)
class trellis_siso_combined_f_sptr(object):
    """Proxy of C++ trellis_siso_combined_f_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_siso_combined_f_sptr
        __init__(self,  p) -> trellis_siso_combined_f_sptr
        """
        this = _trellis.new_trellis_siso_combined_f_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_siso_combined_f_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_siso_combined_f_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_siso_combined_f_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_SK(*args)

    def POSTI(*args):
        """POSTI(self) -> bool"""
        return _trellis.trellis_siso_combined_f_sptr_POSTI(*args)

    def POSTO(*args):
        """POSTO(self) -> bool"""
        return _trellis.trellis_siso_combined_f_sptr_POSTO(*args)

    def SISO_TYPE(*args):
        """SISO_TYPE(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_SISO_TYPE(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_D(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_4__"""
        return _trellis.trellis_siso_combined_f_sptr_TABLE(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_TYPE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_siso_combined_f_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_siso_combined_f_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_siso_combined_f_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_siso_combined_f_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_siso_combined_f_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_siso_combined_f_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_siso_combined_f_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_siso_combined_f_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_siso_combined_f_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_siso_combined_f_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_siso_combined_f_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_siso_combined_f_sptr_set_detail(*args)

trellis_siso_combined_f_sptr_swigregister = _trellis.trellis_siso_combined_f_sptr_swigregister
trellis_siso_combined_f_sptr_swigregister(trellis_siso_combined_f_sptr)


def trellis_siso_combined_f_block(*args):
  """trellis_siso_combined_f_block(trellis_siso_combined_f_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_siso_combined_f_block(*args)
trellis_siso_combined_f_sptr.block = lambda self: trellis_siso_combined_f_block (self)
trellis_siso_combined_f_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def siso_combined_f(*args):
  """
    siso_combined_f(fsm FSM, int K, int S0, int SK, bool POSTI, bool POSTO, 
        trellis_siso_type_t SISO_TYPE, int D, __dummy_4__ TABLE, 
        trellis_metric_type_t TYPE) -> trellis_siso_combined_f_sptr
    """
  return _trellis.siso_combined_f(*args)
TRELLIS_EUCLIDEAN = _trellis.TRELLIS_EUCLIDEAN
TRELLIS_HARD_SYMBOL = _trellis.TRELLIS_HARD_SYMBOL
TRELLIS_HARD_BIT = _trellis.TRELLIS_HARD_BIT
TRELLIS_MIN_SUM = _trellis.TRELLIS_MIN_SUM
TRELLIS_SUM_PRODUCT = _trellis.TRELLIS_SUM_PRODUCT
class trellis_encoder_bb_sptr(object):
    """Proxy of C++ trellis_encoder_bb_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_bb_sptr
        __init__(self,  p) -> trellis_encoder_bb_sptr
        """
        this = _trellis.new_trellis_encoder_bb_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_bb_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_bb_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_bb_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_bb_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_bb_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bb_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bb_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_bb_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_bb_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_bb_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_bb_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_bb_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_bb_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_bb_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_bb_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_bb_sptr_set_detail(*args)

trellis_encoder_bb_sptr_swigregister = _trellis.trellis_encoder_bb_sptr_swigregister
trellis_encoder_bb_sptr_swigregister(trellis_encoder_bb_sptr)


def trellis_encoder_bb_block(*args):
  """trellis_encoder_bb_block(trellis_encoder_bb_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_bb_block(*args)
trellis_encoder_bb_sptr.block = lambda self: trellis_encoder_bb_block (self)
trellis_encoder_bb_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_bb(*args):
  """encoder_bb(fsm FSM, int ST) -> trellis_encoder_bb_sptr"""
  return _trellis.encoder_bb(*args)
class trellis_encoder_bi_sptr(object):
    """Proxy of C++ trellis_encoder_bi_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_bi_sptr
        __init__(self,  p) -> trellis_encoder_bi_sptr
        """
        this = _trellis.new_trellis_encoder_bi_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_bi_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_bi_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_bi_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_bi_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_bi_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bi_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bi_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_bi_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_bi_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_bi_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_bi_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_bi_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_bi_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_bi_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_bi_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_bi_sptr_set_detail(*args)

trellis_encoder_bi_sptr_swigregister = _trellis.trellis_encoder_bi_sptr_swigregister
trellis_encoder_bi_sptr_swigregister(trellis_encoder_bi_sptr)


def trellis_encoder_bi_block(*args):
  """trellis_encoder_bi_block(trellis_encoder_bi_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_bi_block(*args)
trellis_encoder_bi_sptr.block = lambda self: trellis_encoder_bi_block (self)
trellis_encoder_bi_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_bi(*args):
  """encoder_bi(fsm FSM, int ST) -> trellis_encoder_bi_sptr"""
  return _trellis.encoder_bi(*args)
class trellis_encoder_bs_sptr(object):
    """Proxy of C++ trellis_encoder_bs_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_bs_sptr
        __init__(self,  p) -> trellis_encoder_bs_sptr
        """
        this = _trellis.new_trellis_encoder_bs_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_bs_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_bs_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_bs_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_bs_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_bs_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bs_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_bs_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_bs_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_bs_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_bs_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_bs_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_bs_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_bs_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_bs_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_bs_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_bs_sptr_set_detail(*args)

trellis_encoder_bs_sptr_swigregister = _trellis.trellis_encoder_bs_sptr_swigregister
trellis_encoder_bs_sptr_swigregister(trellis_encoder_bs_sptr)


def trellis_encoder_bs_block(*args):
  """trellis_encoder_bs_block(trellis_encoder_bs_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_bs_block(*args)
trellis_encoder_bs_sptr.block = lambda self: trellis_encoder_bs_block (self)
trellis_encoder_bs_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_bs(*args):
  """encoder_bs(fsm FSM, int ST) -> trellis_encoder_bs_sptr"""
  return _trellis.encoder_bs(*args)
class trellis_encoder_ii_sptr(object):
    """Proxy of C++ trellis_encoder_ii_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_ii_sptr
        __init__(self,  p) -> trellis_encoder_ii_sptr
        """
        this = _trellis.new_trellis_encoder_ii_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_ii_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_ii_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_ii_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_ii_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_ii_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_ii_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_ii_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_ii_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_ii_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_ii_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_ii_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_ii_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_ii_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_ii_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_ii_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_ii_sptr_set_detail(*args)

trellis_encoder_ii_sptr_swigregister = _trellis.trellis_encoder_ii_sptr_swigregister
trellis_encoder_ii_sptr_swigregister(trellis_encoder_ii_sptr)


def trellis_encoder_ii_block(*args):
  """trellis_encoder_ii_block(trellis_encoder_ii_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_ii_block(*args)
trellis_encoder_ii_sptr.block = lambda self: trellis_encoder_ii_block (self)
trellis_encoder_ii_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_ii(*args):
  """encoder_ii(fsm FSM, int ST) -> trellis_encoder_ii_sptr"""
  return _trellis.encoder_ii(*args)
class trellis_encoder_si_sptr(object):
    """Proxy of C++ trellis_encoder_si_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_si_sptr
        __init__(self,  p) -> trellis_encoder_si_sptr
        """
        this = _trellis.new_trellis_encoder_si_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_si_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_si_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_si_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_si_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_si_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_si_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_si_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_si_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_si_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_si_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_si_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_si_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_si_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_si_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_si_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_si_sptr_set_detail(*args)

trellis_encoder_si_sptr_swigregister = _trellis.trellis_encoder_si_sptr_swigregister
trellis_encoder_si_sptr_swigregister(trellis_encoder_si_sptr)


def trellis_encoder_si_block(*args):
  """trellis_encoder_si_block(trellis_encoder_si_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_si_block(*args)
trellis_encoder_si_sptr.block = lambda self: trellis_encoder_si_block (self)
trellis_encoder_si_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_si(*args):
  """encoder_si(fsm FSM, int ST) -> trellis_encoder_si_sptr"""
  return _trellis.encoder_si(*args)
class trellis_encoder_ss_sptr(object):
    """Proxy of C++ trellis_encoder_ss_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_encoder_ss_sptr
        __init__(self,  p) -> trellis_encoder_ss_sptr
        """
        this = _trellis.new_trellis_encoder_ss_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_encoder_ss_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_encoder_ss_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_encoder_ss_sptr_FSM(*args)

    def ST(*args):
        """ST(self) -> int"""
        return _trellis.trellis_encoder_ss_sptr_ST(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_encoder_ss_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_ss_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_encoder_ss_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_encoder_ss_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_encoder_ss_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_encoder_ss_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_encoder_ss_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_encoder_ss_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_encoder_ss_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_encoder_ss_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_encoder_ss_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_encoder_ss_sptr_set_detail(*args)

trellis_encoder_ss_sptr_swigregister = _trellis.trellis_encoder_ss_sptr_swigregister
trellis_encoder_ss_sptr_swigregister(trellis_encoder_ss_sptr)


def trellis_encoder_ss_block(*args):
  """trellis_encoder_ss_block(trellis_encoder_ss_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_encoder_ss_block(*args)
trellis_encoder_ss_sptr.block = lambda self: trellis_encoder_ss_block (self)
trellis_encoder_ss_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def encoder_ss(*args):
  """encoder_ss(fsm FSM, int ST) -> trellis_encoder_ss_sptr"""
  return _trellis.encoder_ss(*args)
class trellis_metrics_c_sptr(object):
    """Proxy of C++ trellis_metrics_c_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_metrics_c_sptr
        __init__(self,  p) -> trellis_metrics_c_sptr
        """
        this = _trellis.new_trellis_metrics_c_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_metrics_c_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_metrics_c_sptr
    __del__ = lambda self : None;
    def O(*args):
        """O(self) -> int"""
        return _trellis.trellis_metrics_c_sptr_O(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_metrics_c_sptr_D(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_metrics_c_sptr_TYPE(*args)

    def TABLE(*args):
        """TABLE(self) -> std::vector<(gr_complex,std::allocator<(gr_complex)>)>"""
        return _trellis.trellis_metrics_c_sptr_TABLE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_metrics_c_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_c_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_c_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_metrics_c_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_metrics_c_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_metrics_c_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_metrics_c_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_metrics_c_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_metrics_c_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_metrics_c_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_metrics_c_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_metrics_c_sptr_set_detail(*args)

trellis_metrics_c_sptr_swigregister = _trellis.trellis_metrics_c_sptr_swigregister
trellis_metrics_c_sptr_swigregister(trellis_metrics_c_sptr)


def trellis_metrics_c_block(*args):
  """trellis_metrics_c_block(trellis_metrics_c_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_metrics_c_block(*args)
trellis_metrics_c_sptr.block = lambda self: trellis_metrics_c_block (self)
trellis_metrics_c_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def metrics_c(*args):
  """
    metrics_c(int O, int D, std::vector<(gr_complex,std::allocator<(gr_complex)>)> TABLE, 
        trellis_metric_type_t TYPE) -> trellis_metrics_c_sptr
    """
  return _trellis.metrics_c(*args)
class trellis_metrics_f_sptr(object):
    """Proxy of C++ trellis_metrics_f_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_metrics_f_sptr
        __init__(self,  p) -> trellis_metrics_f_sptr
        """
        this = _trellis.new_trellis_metrics_f_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_metrics_f_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_metrics_f_sptr
    __del__ = lambda self : None;
    def O(*args):
        """O(self) -> int"""
        return _trellis.trellis_metrics_f_sptr_O(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_metrics_f_sptr_D(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_metrics_f_sptr_TYPE(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_4__"""
        return _trellis.trellis_metrics_f_sptr_TABLE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_metrics_f_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_f_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_f_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_metrics_f_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_metrics_f_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_metrics_f_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_metrics_f_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_metrics_f_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_metrics_f_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_metrics_f_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_metrics_f_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_metrics_f_sptr_set_detail(*args)

trellis_metrics_f_sptr_swigregister = _trellis.trellis_metrics_f_sptr_swigregister
trellis_metrics_f_sptr_swigregister(trellis_metrics_f_sptr)


def trellis_metrics_f_block(*args):
  """trellis_metrics_f_block(trellis_metrics_f_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_metrics_f_block(*args)
trellis_metrics_f_sptr.block = lambda self: trellis_metrics_f_block (self)
trellis_metrics_f_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def metrics_f(*args):
  """metrics_f(int O, int D, __dummy_4__ TABLE, trellis_metric_type_t TYPE) -> trellis_metrics_f_sptr"""
  return _trellis.metrics_f(*args)
class trellis_metrics_i_sptr(object):
    """Proxy of C++ trellis_metrics_i_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_metrics_i_sptr
        __init__(self,  p) -> trellis_metrics_i_sptr
        """
        this = _trellis.new_trellis_metrics_i_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_metrics_i_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_metrics_i_sptr
    __del__ = lambda self : None;
    def O(*args):
        """O(self) -> int"""
        return _trellis.trellis_metrics_i_sptr_O(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_metrics_i_sptr_D(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_metrics_i_sptr_TYPE(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_3__"""
        return _trellis.trellis_metrics_i_sptr_TABLE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_metrics_i_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_i_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_i_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_metrics_i_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_metrics_i_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_metrics_i_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_metrics_i_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_metrics_i_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_metrics_i_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_metrics_i_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_metrics_i_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_metrics_i_sptr_set_detail(*args)

trellis_metrics_i_sptr_swigregister = _trellis.trellis_metrics_i_sptr_swigregister
trellis_metrics_i_sptr_swigregister(trellis_metrics_i_sptr)


def trellis_metrics_i_block(*args):
  """trellis_metrics_i_block(trellis_metrics_i_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_metrics_i_block(*args)
trellis_metrics_i_sptr.block = lambda self: trellis_metrics_i_block (self)
trellis_metrics_i_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def metrics_i(*args):
  """metrics_i(int O, int D, __dummy_3__ TABLE, trellis_metric_type_t TYPE) -> trellis_metrics_i_sptr"""
  return _trellis.metrics_i(*args)
class trellis_metrics_s_sptr(object):
    """Proxy of C++ trellis_metrics_s_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_metrics_s_sptr
        __init__(self,  p) -> trellis_metrics_s_sptr
        """
        this = _trellis.new_trellis_metrics_s_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_metrics_s_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_metrics_s_sptr
    __del__ = lambda self : None;
    def O(*args):
        """O(self) -> int"""
        return _trellis.trellis_metrics_s_sptr_O(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_metrics_s_sptr_D(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_metrics_s_sptr_TYPE(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_2__"""
        return _trellis.trellis_metrics_s_sptr_TABLE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_metrics_s_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_s_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_metrics_s_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_metrics_s_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_metrics_s_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_metrics_s_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_metrics_s_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_metrics_s_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_metrics_s_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_metrics_s_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_metrics_s_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_metrics_s_sptr_set_detail(*args)

trellis_metrics_s_sptr_swigregister = _trellis.trellis_metrics_s_sptr_swigregister
trellis_metrics_s_sptr_swigregister(trellis_metrics_s_sptr)


def trellis_metrics_s_block(*args):
  """trellis_metrics_s_block(trellis_metrics_s_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_metrics_s_block(*args)
trellis_metrics_s_sptr.block = lambda self: trellis_metrics_s_block (self)
trellis_metrics_s_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def metrics_s(*args):
  """metrics_s(int O, int D, __dummy_2__ TABLE, trellis_metric_type_t TYPE) -> trellis_metrics_s_sptr"""
  return _trellis.metrics_s(*args)
class trellis_viterbi_b_sptr(object):
    """Proxy of C++ trellis_viterbi_b_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_b_sptr
        __init__(self,  p) -> trellis_viterbi_b_sptr
        """
        this = _trellis.new_trellis_viterbi_b_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_b_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_b_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_b_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_b_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_b_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_b_sptr_SK(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_b_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_b_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_b_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_b_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_b_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_b_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_b_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_b_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_b_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_b_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_b_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_b_sptr_set_detail(*args)

trellis_viterbi_b_sptr_swigregister = _trellis.trellis_viterbi_b_sptr_swigregister
trellis_viterbi_b_sptr_swigregister(trellis_viterbi_b_sptr)


def trellis_viterbi_b_block(*args):
  """trellis_viterbi_b_block(trellis_viterbi_b_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_b_block(*args)
trellis_viterbi_b_sptr.block = lambda self: trellis_viterbi_b_block (self)
trellis_viterbi_b_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_b(*args):
  """viterbi_b(fsm FSM, int K, int S0, int SK) -> trellis_viterbi_b_sptr"""
  return _trellis.viterbi_b(*args)
class trellis_viterbi_combined_b_sptr(object):
    """Proxy of C++ trellis_viterbi_combined_b_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_combined_b_sptr
        __init__(self,  p) -> trellis_viterbi_combined_b_sptr
        """
        this = _trellis.new_trellis_viterbi_combined_b_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_combined_b_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_combined_b_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_combined_b_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_SK(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_D(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_4__"""
        return _trellis.trellis_viterbi_combined_b_sptr_TABLE(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_TYPE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_combined_b_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_b_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_b_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_combined_b_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_combined_b_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_combined_b_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_combined_b_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_combined_b_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_combined_b_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_combined_b_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_combined_b_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_combined_b_sptr_set_detail(*args)

trellis_viterbi_combined_b_sptr_swigregister = _trellis.trellis_viterbi_combined_b_sptr_swigregister
trellis_viterbi_combined_b_sptr_swigregister(trellis_viterbi_combined_b_sptr)


def trellis_viterbi_combined_b_block(*args):
  """trellis_viterbi_combined_b_block(trellis_viterbi_combined_b_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_combined_b_block(*args)
trellis_viterbi_combined_b_sptr.block = lambda self: trellis_viterbi_combined_b_block (self)
trellis_viterbi_combined_b_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_combined_b(*args):
  """
    viterbi_combined_b(fsm FSM, int K, int S0, int SK, int D, __dummy_4__ TABLE, 
        trellis_metric_type_t TYPE) -> trellis_viterbi_combined_b_sptr
    """
  return _trellis.viterbi_combined_b(*args)
class trellis_viterbi_combined_i_sptr(object):
    """Proxy of C++ trellis_viterbi_combined_i_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_combined_i_sptr
        __init__(self,  p) -> trellis_viterbi_combined_i_sptr
        """
        this = _trellis.new_trellis_viterbi_combined_i_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_combined_i_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_combined_i_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_combined_i_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_SK(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_D(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_4__"""
        return _trellis.trellis_viterbi_combined_i_sptr_TABLE(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_TYPE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_combined_i_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_i_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_i_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_combined_i_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_combined_i_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_combined_i_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_combined_i_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_combined_i_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_combined_i_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_combined_i_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_combined_i_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_combined_i_sptr_set_detail(*args)

trellis_viterbi_combined_i_sptr_swigregister = _trellis.trellis_viterbi_combined_i_sptr_swigregister
trellis_viterbi_combined_i_sptr_swigregister(trellis_viterbi_combined_i_sptr)


def trellis_viterbi_combined_i_block(*args):
  """trellis_viterbi_combined_i_block(trellis_viterbi_combined_i_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_combined_i_block(*args)
trellis_viterbi_combined_i_sptr.block = lambda self: trellis_viterbi_combined_i_block (self)
trellis_viterbi_combined_i_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_combined_i(*args):
  """
    viterbi_combined_i(fsm FSM, int K, int S0, int SK, int D, __dummy_4__ TABLE, 
        trellis_metric_type_t TYPE) -> trellis_viterbi_combined_i_sptr
    """
  return _trellis.viterbi_combined_i(*args)
class trellis_viterbi_combined_s_sptr(object):
    """Proxy of C++ trellis_viterbi_combined_s_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_combined_s_sptr
        __init__(self,  p) -> trellis_viterbi_combined_s_sptr
        """
        this = _trellis.new_trellis_viterbi_combined_s_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_combined_s_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_combined_s_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_combined_s_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_SK(*args)

    def D(*args):
        """D(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_D(*args)

    def TABLE(*args):
        """TABLE(self) -> __dummy_4__"""
        return _trellis.trellis_viterbi_combined_s_sptr_TABLE(*args)

    def TYPE(*args):
        """TYPE(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_TYPE(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_combined_s_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_s_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_combined_s_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_combined_s_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_combined_s_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_combined_s_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_combined_s_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_combined_s_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_combined_s_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_combined_s_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_combined_s_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_combined_s_sptr_set_detail(*args)

trellis_viterbi_combined_s_sptr_swigregister = _trellis.trellis_viterbi_combined_s_sptr_swigregister
trellis_viterbi_combined_s_sptr_swigregister(trellis_viterbi_combined_s_sptr)


def trellis_viterbi_combined_s_block(*args):
  """trellis_viterbi_combined_s_block(trellis_viterbi_combined_s_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_combined_s_block(*args)
trellis_viterbi_combined_s_sptr.block = lambda self: trellis_viterbi_combined_s_block (self)
trellis_viterbi_combined_s_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_combined_s(*args):
  """
    viterbi_combined_s(fsm FSM, int K, int S0, int SK, int D, __dummy_4__ TABLE, 
        trellis_metric_type_t TYPE) -> trellis_viterbi_combined_s_sptr
    """
  return _trellis.viterbi_combined_s(*args)
class trellis_viterbi_i_sptr(object):
    """Proxy of C++ trellis_viterbi_i_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_i_sptr
        __init__(self,  p) -> trellis_viterbi_i_sptr
        """
        this = _trellis.new_trellis_viterbi_i_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_i_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_i_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_i_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_i_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_i_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_i_sptr_SK(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_i_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_i_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_i_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_i_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_i_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_i_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_i_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_i_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_i_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_i_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_i_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_i_sptr_set_detail(*args)

trellis_viterbi_i_sptr_swigregister = _trellis.trellis_viterbi_i_sptr_swigregister
trellis_viterbi_i_sptr_swigregister(trellis_viterbi_i_sptr)


def trellis_viterbi_i_block(*args):
  """trellis_viterbi_i_block(trellis_viterbi_i_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_i_block(*args)
trellis_viterbi_i_sptr.block = lambda self: trellis_viterbi_i_block (self)
trellis_viterbi_i_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_i(*args):
  """viterbi_i(fsm FSM, int K, int S0, int SK) -> trellis_viterbi_i_sptr"""
  return _trellis.viterbi_i(*args)
class trellis_viterbi_s_sptr(object):
    """Proxy of C++ trellis_viterbi_s_sptr class"""
    thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
    __repr__ = _swig_repr
    def __init__(self, *args): 
        """
        __init__(self) -> trellis_viterbi_s_sptr
        __init__(self,  p) -> trellis_viterbi_s_sptr
        """
        this = _trellis.new_trellis_viterbi_s_sptr(*args)
        try: self.this.append(this)
        except: self.this = this
    def __deref__(*args):
        """__deref__(self)"""
        return _trellis.trellis_viterbi_s_sptr___deref__(*args)

    __swig_destroy__ = _trellis.delete_trellis_viterbi_s_sptr
    __del__ = lambda self : None;
    def FSM(*args):
        """FSM(self) -> fsm"""
        return _trellis.trellis_viterbi_s_sptr_FSM(*args)

    def K(*args):
        """K(self) -> int"""
        return _trellis.trellis_viterbi_s_sptr_K(*args)

    def S0(*args):
        """S0(self) -> int"""
        return _trellis.trellis_viterbi_s_sptr_S0(*args)

    def SK(*args):
        """SK(self) -> int"""
        return _trellis.trellis_viterbi_s_sptr_SK(*args)

    def name(*args):
        """name(self) -> string"""
        return _trellis.trellis_viterbi_s_sptr_name(*args)

    def input_signature(*args):
        """input_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_s_sptr_input_signature(*args)

    def output_signature(*args):
        """output_signature(self) -> gr_io_signature_sptr"""
        return _trellis.trellis_viterbi_s_sptr_output_signature(*args)

    def unique_id(*args):
        """unique_id(self) -> long"""
        return _trellis.trellis_viterbi_s_sptr_unique_id(*args)

    def history(*args):
        """history(self) -> unsigned int"""
        return _trellis.trellis_viterbi_s_sptr_history(*args)

    def output_multiple(*args):
        """output_multiple(self) -> int"""
        return _trellis.trellis_viterbi_s_sptr_output_multiple(*args)

    def relative_rate(*args):
        """relative_rate(self) -> double"""
        return _trellis.trellis_viterbi_s_sptr_relative_rate(*args)

    def check_topology(*args):
        """check_topology(self, int ninputs, int noutputs) -> bool"""
        return _trellis.trellis_viterbi_s_sptr_check_topology(*args)

    def start(*args):
        """start(self) -> bool"""
        return _trellis.trellis_viterbi_s_sptr_start(*args)

    def stop(*args):
        """stop(self) -> bool"""
        return _trellis.trellis_viterbi_s_sptr_stop(*args)

    def detail(*args):
        """detail(self) -> gr_block_detail_sptr"""
        return _trellis.trellis_viterbi_s_sptr_detail(*args)

    def set_detail(*args):
        """set_detail(self, gr_block_detail_sptr detail)"""
        return _trellis.trellis_viterbi_s_sptr_set_detail(*args)

trellis_viterbi_s_sptr_swigregister = _trellis.trellis_viterbi_s_sptr_swigregister
trellis_viterbi_s_sptr_swigregister(trellis_viterbi_s_sptr)


def trellis_viterbi_s_block(*args):
  """trellis_viterbi_s_block(trellis_viterbi_s_sptr r) -> gr_block_sptr"""
  return _trellis.trellis_viterbi_s_block(*args)
trellis_viterbi_s_sptr.block = lambda self: trellis_viterbi_s_block (self)
trellis_viterbi_s_sptr.__repr__ = lambda self: "<gr_block %s (%d)>" % (self.name(), self.unique_id ())


def viterbi_s(*args):
  """viterbi_s(fsm FSM, int K, int S0, int SK) -> trellis_viterbi_s_sptr"""
  return _trellis.viterbi_s(*args)


