YAP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | Friends | List of all members
DataPoint Class Reference

Class for holding data and cached values per data point for fast calculation. More...

#include <DataPoint.h>

Public Member Functions

 DataPoint (const DataAccessorSet &dataAccessorSet)
 
size_t nDataAccessors () const
 
size_t nSymIndices (unsigned i) const
 
size_t nElements (unsigned i, unsigned j=0) const
 
unsigned bytes () const
 

Private Attributes

std::vector< std::vector
< std::vector< double > > > 
Data_
 

Friends

class CachedValue
 grant friend status to CachedValue to access Data_
 
bool equalStructure (const DataPoint &A, const DataPoint &B)
 check that two DataPoint's have same internal structure
 
bool operator== (const DataPoint &lhs, const DataPoint &rhs)
 check that two DataPoint's are equal
 

Detailed Description

Class for holding data and cached values per data point for fast calculation.

Author
Johannes Rauch, Daniel Greenwald

Constructor & Destructor Documentation

DataPoint ( const DataAccessorSet &  dataAccessorSet)

Constructor

Parameters
dataSetDataSet this DataPoint belongs to

Member Function Documentation

unsigned bytes ( ) const
Returns
size of data point
size_t nDataAccessors ( ) const
inline
Returns
number of data accessor rows
size_t nElements ( unsigned  i,
unsigned  j = 0 
) const
inline
Returns
number of elements for data accessor
Parameters
iindex of DataAccessor
jindex of symmetrization
size_t nSymIndices ( unsigned  i) const
inline
Returns
number of sym indices rows for data accessor
Parameters
iindex of DataAccessor

Member Data Documentation

std::vector<std::vector<std::vector<double> > > Data_
private

Data storage for all DataAccessors first index is for the DataAccessor second index is for the symmeterization state (as known by the DataAccessor) third index is internal to the DataAccessor


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