#include <trellis.h>
Inheritance diagram for simthlib::AbstractShiftRegisterBinary:
Public Member Functions | |
AbstractShiftRegisterBinary (int inbitsPerStep, const simth::checkedVector< int > &octalPolynomials, int recursivePolynomial=0) | |
virtual | ~AbstractShiftRegisterBinary ()=0 |
virtual int | getNextState (int inputPattern, int oldState) const |
virtual int | getOutput (int input, int state) const |
virtual int | getRecursive (int newState) const |
virtual int | tailsteps () const |
|
Constructor |
|
|
|
Computates the next state of a shift register according to a given input, and a given previous state. Implements simthlib::ShiftRegister. |
|
Computes the output of the shift register according to a given state and input. Implements simthlib::ShiftRegister. Reimplemented in simthlib::ShiftRegisterSystematicBinary. |
|
Implements simthlib::ShiftRegister. |
|
Implements simthlib::ShiftRegister. |