#include <trellis.h>
Inheritance diagram for simthlib::ConvCodeTrellisExplicit:
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 |
Actually, only a version with a fixed state diagram is implemented yet.
|
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.
|
|
Destructor.
|
|
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. |
|
Reimplemented from simthlib::Trellis. |