Empirical
Public Member Functions | Protected Attributes | List of all members
D3::CSVDataset Class Reference

#include <dataset.h>

Inheritance diagram for D3::CSVDataset:
D3::Dataset D3::D3_Base

Public Member Functions

 CSVDataset ()
 
 CSVDataset (int i)
 
void LoadDataFromFile (std::string location, std::string callback, bool header=true)
 
void Parse (std::string contents, std::string accessor)
 
void ParseRows (std::string contents, std::string accessor)
 
template<std::size_t N, typename T >
void GetLastRow (emp::array< T, N > &arr)
 Put the last row of the array into arr. More...
 
void CaptureIncoming ()
 
template<typename T >
emp::sfinae_decoy< double, decltype(&T::operator())> Min (T comp)
 
template<typename T >
emp::sfinae_decoy< double, decltype(&T::operator())> Max (T comp)
 
int GetID () const
 
void Log () const
 

Protected Attributes

int id
 

Constructor & Destructor Documentation

D3::CSVDataset::CSVDataset ( )
inline
D3::CSVDataset::CSVDataset ( int  i)
inline

Member Function Documentation

void D3::Dataset::CaptureIncoming ( )
inlineinherited
int D3::D3_Base::GetID ( ) const
inlineinherited
template<std::size_t N, typename T >
void D3::CSVDataset::GetLastRow ( emp::array< T, N > &  arr)
inline

Put the last row of the array into arr.

void D3::CSVDataset::LoadDataFromFile ( std::string  location,
std::string  callback,
bool  header = true 
)
inline
void D3::D3_Base::Log ( ) const
inlineinherited
template<typename T >
emp::sfinae_decoy<double, decltype(&T::operator())> D3::Dataset::Max ( comp)
inlineinherited
template<typename T >
emp::sfinae_decoy<double, decltype(&T::operator())> D3::Dataset::Min ( comp)
inlineinherited
void D3::CSVDataset::Parse ( std::string  contents,
std::string  accessor 
)
inline
void D3::CSVDataset::ParseRows ( std::string  contents,
std::string  accessor 
)
inline

Member Data Documentation

int D3::D3_Base::id
protectedinherited

The documentation for this class was generated from the following file: