Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

simth::LlvSeq Class Reference

#include <signals.h>

Inheritance diagram for simth::LlvSeq:

simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess > simth::LlvSeqAccess simth::LlvSeqStorage List of all members.

Public Types

typedef LlvSeqStorage storage_type
typedef LlvSeqAccess access_type
typedef Llv value_type
typedef LlvSeqAttributes attributes_type
typedef simth::checkedVector<
value_type
container_type
typedef container_type::iterator iterator
typedef container_type::const_iterator const_iterator
typedef container_type::reference reference
typedef container_type::const_reference const_reference

Public Member Functions

 LlvSeq (iterator iterStart, iterator iterEnd, storage_type &origStorage)
 LlvSeq (const LlvSeq &sig)
virtual ~LlvSeq ()=0
LlvSeqoperator= (const LlvSeq &seq)
void resize (size_t newLength, unsigned newBitsPerSymbol)
void resize (size_t newLength)

Protected Member Functions

 LlvSeq ()

Detailed Description

SignalSequence of Log-likelihood values (LLV) of an M-ary decision. E.g: myLLVSeq[i][0]=ln P(decision 0 is correct in the i-th step), myLLV[i]][1]=ln P(decision 1 is correct in the i-th step), ... A LLV sequence can be converted to an LLR sequence using the function

See also:
LlrSeq, Functions to convert sequences


Member Typedef Documentation

typedef LlvSeqStorage simth::LlvSeq::storage_type
 

The referenced storage class.

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

typedef LlvSeqAccess simth::LlvSeq::access_type
 

The referenced access class.

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

typedef Llv simth::LlvSeq::value_type
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef LlvSeqAttributes simth::LlvSeq::attributes_type
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef simth::checkedVector<value_type> simth::LlvSeq::container_type
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef container_type::iterator simth::LlvSeq::iterator
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef container_type::const_iterator simth::LlvSeq::const_iterator
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef container_type::reference simth::LlvSeq::reference
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.

typedef container_type::const_reference simth::LlvSeq::const_reference
 

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.


Constructor & Destructor Documentation

simth::LlvSeq::LlvSeq iterator  iterStart,
iterator  iterEnd,
storage_type origStorage
 

Class Constructor.

simth::LlvSeq::LlvSeq const LlvSeq sig  ) 
 

Copy constructor which directly creates a shallow copy of the corresponding SequenceStorage

virtual simth::LlvSeq::~LlvSeq  )  [pure virtual]
 

simth::LlvSeq::LlvSeq  )  [protected]
 

Protected standard constructor that does not initalizes the storage reference neither it does initialize the internal begin() and end() iterators. Hence the sequence is not ready to use after calling this constuctor without calling the function seek(iter1,iter2).


Member Function Documentation

LlvSeq& simth::LlvSeq::operator= const LlvSeq seq  ) 
 

void simth::LlvSeq::resize size_t  newLength,
unsigned  newBitsPerSymbol
 

Reimplemented in simth::LlvSeqStorage.

void simth::LlvSeq::resize size_t  newLength  )  [virtual]
 

Resize this sequence.

Watch out:

  • If this object is a SignalSequenceAccess: Resizing is only allowed to a smaller or equal size than what the SignalSequenceAccess was when it was created. Resizing to something bigger is not allowed at all and a std::runtime_exception will be thrown. Resizing to a smaller size does not resize the referenced underlying storage object. Instead, only the references are changed so that this object points to a smaller part of the underlying storage object.

  • If this object is a SignalSequenceStorage: Resizing will simply work just as it does with STL containers. WATCH OUT: After resizing, all iterators, shallow copies, and SignalSequenceAccess objects to this sequence might have become invalid. You must take care that no other shallow copy keeps around old pointers/iterators. Those will be invalid if the sequence has been truncated, or if the sequence has grown larger and thus moved to a different place in memory.

Reimplemented from simth::SignalSequenceBase< Llv, LlvSeqAttributes, simth::checkedVector< Llv >, LlvSeqStorage, LlvSeqAccess >.

Reimplemented in simth::LlvSeqStorage.


Generated on Mon Apr 24 21:19:20 2006 for simthetic by  doxygen 1.4.1