#include <blackbox-block-container-base.h>
Inheritance diagram for BlackboxBlockContainerBase:
Subclasses complete the implementation by defining _launch() and _wait().
Public Types | |
typedef _Field | Field |
typedef Field::Element | Element |
typedef _Blackbox | Blackbox |
typedef BlasMatrix< Element > | Block |
typedef BlasMatrix< Element > | Value |
Public Methods | |
BlackboxBlockContainerBase () | |
BlackboxBlockContainerBase (const Blackbox *BD, const Field &F, size_t m, size_t n, size_t seed=time(NULL)) | |
virtual | ~BlackboxBlockContainerBase () |
const_iterator | begin () |
const_iterator | end () |
size_t | size () const |
const Field & | getField () const |
const Blackbox * | getBB () const |
size_t | rowdim () const |
size_t | coldim () const |
size_t | getrow () const |
size_t | getcol () const |
Protected Methods | |
virtual void | _launch ()=0 |
virtual void | _wait ()=0 |
const Value & | getvalue () |
void | Mul (Block &M1, const Blackbox &M2, const Block &M3) |
Initializers. | |
void | init (const Block &U, const Block &V) |
User Left and Right blocks. | |
void | init (size_t m, size_t n) |
Protected Attributes | |
Field | _F |
Members. | |
const Blackbox * | _BB |
size_t | _size |
size_t | _row |
size_t | _col |
size_t | _m |
size_t | _n |
long | casenumber |
Block | _U |
Block | _V |
Value | _value |
size_t | _seed |
Friends | |
class | const_iterator |
|
|
|
Reimplemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
Reimplemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
Reimplemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
Reimplemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
|
|
|
|
|
|
Launches a process to do the computation of the next sequence value: $U A^{i+1} V$. ...or just does it. Implemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
If a separate process is computing the next value of $U A^{i+1} V$, _wait() blocks until the value is ready. Implemented in BlackboxBlockContainer, and BlackboxBlockContainerRecord. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User Left and Right blocks.
|
|
Initializers.
|
|
|
|
|
|
|
|
|
|
|
|
Members.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|