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

BlackboxContainerBase Class Template Reference

#include <blackbox-container-base.h>

List of all members.


Detailed Description

template<class Field, class Blackbox>
class LinBox::BlackboxContainerBase< Field, Blackbox >

A base class for BlackboxContainer. The primary member function is begin().

It returns an iterator which after i increments (++) dereferences to $v^T A^i u$, for $v$ and $u$ determined by the form of construction. It is designed to be used with implementations of Berlekamp-Massey such as MasseyDom.

Subclasses complete the implementation by defining _launch() and _wait().


Protected Member Functions

virtual void _launch ()=0
virtual void _wait ()=0
template<class Vector1, class Vector2> Element & init (const Vector1 &uu, const Vector2 &vv)
 User Left and Right vectors.

template<class RandIter> Element & init (RandIter &g)
 Random Left vectors, Zero Right vector.

template<class Vector> Element & init (const Vector &uu)
 User Left vectors, Zero Right vector.


Protected Attributes

Field _F
 Members.


Member Function Documentation

virtual void _launch  )  [protected, pure virtual]
 

Launches a process to do the computation of the next sequence value: $v^T A^{i+1} u$. ...or just does it.

Implemented in BlackboxContainerSymmetric, BlackboxContainer, and DenseContainer.

virtual void _wait  )  [protected, pure virtual]
 

If a separate process is computing the next value of $v^T A^{i+1} u$, _wait() blocks until the value is ready.

Implemented in BlackboxContainerSymmetric, BlackboxContainer, and DenseContainer.


The documentation for this class was generated from the following file:
Generated on Thu Feb 8 22:32:56 2007 for linbox by doxygen 1.3.4