Empirical
Public Types | Public Member Functions | List of all members
emp::DataInterface_Impl< VAL_TYPE, EXTRA > Class Template Reference

#include <DataInterface.h>

Inheritance diagram for emp::DataInterface_Impl< VAL_TYPE, EXTRA >:
emp::DataInterface

Public Types

using node_t = DataNode< VAL_TYPE, EXTRA... >
 

Public Member Functions

 DataInterface_Impl ()
 
 DataInterface_Impl (node_t *n)
 
 DataInterface_Impl (const DataInterface_Impl &)=delete
 
 DataInterface_Impl (DataInterface_Impl &&)=delete
 
 ~DataInterface_Impl ()
 
DataInterface_Imploperator= (const DataInterface_Impl &)=delete
 
DataInterface_Imploperator= (DataInterface_Impl &&)=delete
 
size_t GetCount () const
 Returns the number values added to this node since the last reset. More...
 
size_t GetResetCount () const
 Returns the number of times this node has been reset. More...
 
double GetTotal () const
 
double GetMean () const
 
double GetMin () const
 
double GetMax () const
 
double GetVariance () const
 
double GetStandardDeviation () const
 
double GetSkew () const
 
double GetKurtosis () const
 
void PullData ()
 
void Reset ()
 
void PrintDebug (std::ostream &os=std::cout)
 
void GetName ()
 
void GetDescription ()
 
void GetKeyword ()
 

Member Typedef Documentation

template<typename VAL_TYPE , emp::data... EXTRA>
using emp::DataInterface_Impl< VAL_TYPE, EXTRA >::node_t = DataNode<VAL_TYPE, EXTRA...>

Constructor & Destructor Documentation

template<typename VAL_TYPE , emp::data... EXTRA>
emp::DataInterface_Impl< VAL_TYPE, EXTRA >::DataInterface_Impl ( )
inline
template<typename VAL_TYPE , emp::data... EXTRA>
emp::DataInterface_Impl< VAL_TYPE, EXTRA >::DataInterface_Impl ( node_t n)
inline
template<typename VAL_TYPE , emp::data... EXTRA>
emp::DataInterface_Impl< VAL_TYPE, EXTRA >::DataInterface_Impl ( const DataInterface_Impl< VAL_TYPE, EXTRA > &  )
delete
template<typename VAL_TYPE , emp::data... EXTRA>
emp::DataInterface_Impl< VAL_TYPE, EXTRA >::DataInterface_Impl ( DataInterface_Impl< VAL_TYPE, EXTRA > &&  )
delete
template<typename VAL_TYPE , emp::data... EXTRA>
emp::DataInterface_Impl< VAL_TYPE, EXTRA >::~DataInterface_Impl ( )
inline

Member Function Documentation

template<typename VAL_TYPE , emp::data... EXTRA>
size_t emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetCount ( ) const
inlinevirtual

Returns the number values added to this node since the last reset.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetDescription ( )
inlinevirtual

Returns this node's description. Requires that the data::Info module was added to this DataNode, and that a description was set.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetKeyword ( )
inlinevirtual

Returns this node's keyword. Requires that the data::Info module was added to this DataNode, and that a keyword was set.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetKurtosis ( ) const
inlinevirtual

Returns the kurtosis of the values added since the last reset. Requires that the data::Stats or data::FullStats be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetMax ( ) const
inlinevirtual

Returns the maximum of the values added since the last reset. Requires that the data::Range or data::FullRange be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetMean ( ) const
inlinevirtual

Returns the mean of the values added since the last reset. Requires that the data::Range or data::FullRange be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetMin ( ) const
inlinevirtual

Returns the minimum of the values added since the last reset. Requires that the data::Range or data::FullRange be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetName ( )
inlinevirtual

Returns this node's name. Requires that the data::Info module was added to this DataNode, and that a name was set.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
size_t emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetResetCount ( ) const
inlinevirtual

Returns the number of times this node has been reset.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetSkew ( ) const
inlinevirtual

Returns the skewness of the values added since the last reset. Requires that the data::Stats or data::FullStats be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetStandardDeviation ( ) const
inlinevirtual

Returns the standard deviation of the values added since the last reset. Requires that the data::Stats or data::FullStats be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetTotal ( ) const
inlinevirtual

Returns the sum of values added since the last reset. Requires that the data::Range or data::FullRange be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
double emp::DataInterface_Impl< VAL_TYPE, EXTRA >::GetVariance ( ) const
inlinevirtual

Returns the variance of the values added since the last reset. Requires that the data::Stats or data::FullStats be added to the DataNode

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
DataInterface_Impl& emp::DataInterface_Impl< VAL_TYPE, EXTRA >::operator= ( const DataInterface_Impl< VAL_TYPE, EXTRA > &  )
delete
template<typename VAL_TYPE , emp::data... EXTRA>
DataInterface_Impl& emp::DataInterface_Impl< VAL_TYPE, EXTRA >::operator= ( DataInterface_Impl< VAL_TYPE, EXTRA > &&  )
delete
template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::PrintDebug ( std::ostream &  os = std::cout)
inlinevirtual

Print debug information about this node to

Parameters
os.Useful for tracking which modifiers are included.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::PullData ( )
inlinevirtual

Runs the Pull function for this DataNode and records the resulting values. Requires that the data::Pull module was added to this DataNode, and that a pull function was specified.

Implements emp::DataInterface.

template<typename VAL_TYPE , emp::data... EXTRA>
void emp::DataInterface_Impl< VAL_TYPE, EXTRA >::Reset ( )
inlinevirtual

Reset this node. The exact effects of this depend on the modules that this node has, but in general it prepares the node to recieve a new set of data.

Implements emp::DataInterface.


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