HCL_Recorder defines an interface for "recorder" objects, used principally for recording intermediate results during an iterative process
![]() | Record ( const HCL_Vector_d & Input ) Record - copy input vector |
![]() | Rewind () const Rewind - go to first vector recorded |
![]() | PlayBack ( HCL_Vector_d & Output ) const PlayBack - copy current stored vector onto vector parameter |
![]() | Next () const Next - advance to next recorded vector - returns 0 when at end |
![]() | Number () const Number - how many vectors currently stored |
![]() | Erase () Erase - deletes currently stored vectors; |
HCL_Recorder defines an interface for "recorder" objects, used principally for recording intermediate results during an iterative process. Its Record method takes a vector argument; any derived class will impement a storage method appropriate to a concrete vector type. Disk image of the recorded data might be created on the fly, or during destruction of the Recorder object.Usage: instantiate a recorder object corresponding to the concrete vector class used in the iteration. Pass this object to the constructor of the iterative method (this of course presumes that the iterative method is set up to record intermediate results, and so taks a Recorder object as an argument to its constructor). Then use the PlayBack method to extract intermediate iterates after termination of the iteration.
virtual void Rewind() const
virtual void PlayBack( HCL_Vector_d & Output ) const
virtual int Next() const
virtual int Number() const
virtual void Erase()
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de