Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

simthlib::ConvCodeTrellisExplicit Class Reference

#include <trellis.h>

Inheritance diagram for simthlib::ConvCodeTrellisExplicit:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 ConvCodeTrellisExplicit (int inbits, int outbits, StartingMode startingMode, map_type mappMode)
virtual ~ConvCodeTrellisExplicit ()
 Destructor.
virtual void print (std::ostream &os) const

Protected Member Functions

virtual bool isPossibleStartingState (int state) const

Detailed Description

This class represents a code that is implemented by specifying explicitley the state diagram.

Actually, only a version with a fixed state diagram is implemented yet.


Constructor & Destructor Documentation

simthlib::ConvCodeTrellisExplicit::ConvCodeTrellisExplicit int  inbits,
int  outbits,
StartingMode  startingMode,
map_type  mappMode
 

Constructor to build a trellis with the given number of input and output bits and the specified starting mode.

The starting mode defines, which states are allowed starting states, e.g. ZERO means that each path starts from the all-zero-state.

The number of states equals 2^number_of_output_bits.

Parameters:
inbits The number of uncoded input bits per step
outbits The number of coded bits per step.
startingMode For conventional codes the starting mode should be set to 'ZERO'.
mappMode The Mapping mode, for conventional codes the mapping mode should be set to 'NATURAL'

virtual simthlib::ConvCodeTrellisExplicit::~ConvCodeTrellisExplicit  )  [virtual]
 

Destructor.


Member Function Documentation

virtual bool simthlib::ConvCodeTrellisExplicit::isPossibleStartingState int  state  )  const [protected, virtual]
 

Returns true if the given state is a possible starting state. The result depends on the starting mode set by the constructor argument.

Implements simthlib::ConvCodeTrellis.

virtual void simthlib::ConvCodeTrellisExplicit::print std::ostream &  os  )  const [virtual]
 

Reimplemented from simthlib::Trellis.


Generated on Tue Aug 9 14:39:46 2005 for simtheticlib by  doxygen 1.4.1