Aggregation of input data and task index. More...
#include <shark/Models/Kernels/MultiTaskKernel.h>
 Inheritance diagram for shark::MultiTaskSample< InputTypeT >:
 Inheritance diagram for shark::MultiTaskSample< InputTypeT >:| Public Types | |
| typedef InputTypeT | InputType | 
| Public Member Functions | |
| MultiTaskSample () | |
| Default constructor. | |
| MultiTaskSample (InputType const &i, std::size_t t) | |
| Construction from an input and a task index. | |
| void | read (InArchive &ar) | 
| Read the component from the supplied archive. | |
| void | write (OutArchive &ar) const | 
| Write the component to the supplied archive. | |
|  Public Member Functions inherited from shark::ISerializable | |
| virtual | ~ISerializable () | 
| Virtual d'tor. | |
| void | load (InArchive &archive, unsigned int version) | 
| Versioned loading of components, calls read(...). | |
| void | save (OutArchive &archive, unsigned int version) const | 
| Versioned storing of components, calls write(...). | |
| BOOST_SERIALIZATION_SPLIT_MEMBER () | |
| Public Attributes | |
| InputType | input | 
| input data | |
| std::size_t | task | 
| task index | |
Aggregation of input data and task index.
Definition at line 54 of file MultiTaskKernel.h.
| typedef InputTypeT shark::MultiTaskSample< InputTypeT >::InputType | 
Definition at line 56 of file MultiTaskKernel.h.
| 
 | inline | 
Default constructor.
Definition at line 58 of file MultiTaskKernel.h.
| 
 | inline | 
Construction from an input and a task index.
Definition at line 62 of file MultiTaskKernel.h.
| 
 | inlinevirtual | 
Read the component from the supplied archive.
| [in,out] | archive | The archive to read from. | 
Reimplemented from shark::ISerializable.
Definition at line 66 of file MultiTaskKernel.h.
References shark::MultiTaskSample< InputTypeT >::input, and shark::MultiTaskSample< InputTypeT >::task.
| 
 | inlinevirtual | 
Write the component to the supplied archive.
| [in,out] | archive | The archive to write to. | 
Reimplemented from shark::ISerializable.
Definition at line 71 of file MultiTaskKernel.h.
References shark::MultiTaskSample< InputTypeT >::input, and shark::MultiTaskSample< InputTypeT >::task.
| InputType shark::MultiTaskSample< InputTypeT >::input | 
input data
Definition at line 76 of file MultiTaskKernel.h.
Referenced by shark::MultiTaskSample< InputTypeT >::read(), and shark::MultiTaskSample< InputTypeT >::write().
| std::size_t shark::MultiTaskSample< InputTypeT >::task | 
task index
Definition at line 77 of file MultiTaskKernel.h.
Referenced by shark::MultiTaskSample< InputTypeT >::read(), and shark::MultiTaskSample< InputTypeT >::write().