24.02.1
|
Implementation of a dataset representing pairs of values of the input datasets. More...
#include <ZipDataset.h>
Data Structures | |
struct | iterator |
Iterator for the dataset. More... | |
Public Types | |
using | type = decltype(std::tuple_cat(*std::declval< iter1_type >(), *std::declval< iter2_type >())) |
Type of the dataset. More... | |
Public Member Functions | |
ZipDataset (T &&dataset1, U &&dataset2) | |
Construct dataset from the given datasets. More... | |
ZipDataset (ZipDataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
iterator | begin () const |
Iterator pointing at the begin of the dataset. More... | |
int | size () const |
Size of the dataset. More... | |
Public Member Functions inherited from Dataset | |
Dataset (Dataset &&)=default | |
Allow instances of this class to be move constructed. More... | |
Implementation of a dataset representing pairs of values of the input datasets.
For example, for the inputs {1, 2} and {3, 4} this dataset virtually represents the values {(1, 3), (1, 4)}.
Definition at line 47 of file ZipDataset.h.
using type = decltype(std::tuple_cat(*std::declval<iter1_type>(), *std::declval<iter2_type>())) |
Type of the dataset.
Definition at line 69 of file ZipDataset.h.
|
inline |
Construct dataset from the given datasets.
[in] | dataset1 | First dataset. |
[in] | dataset2 | Second dataset. |
Definition at line 59 of file ZipDataset.h.
|
default |
Allow instances of this class to be move constructed.
|
inline |
Iterator pointing at the begin of the dataset.
Definition at line 122 of file ZipDataset.h.
|
inline |
Size of the dataset.
Definition at line 131 of file ZipDataset.h.