Data Collection and Recording Tools
Empirical includes a variety of tools for gathering and recording data.
The core of these tools is the DataNode class. DataNodes are containers
that you can pass as much data as you like into. When DataNodes are
built, they can be given various modifiers (specified as template
arguments) which control how much information they will collect about
the data they are passed. For instance, the data::Current
modifier
gives the DataNode the power to remember the last value it was passed,
whereas the data::Stats
modifier keeps track of a variety of
statistics about the distribution of data that the node has been
passed. Except where otherwise noted, modifiers can be combined freely.
Some also have dependencies on simpler modifiers. On the whole,
DataNodes are designed to be as light-weight as possible while still
keeping track of the desired information.
DataNodes that accept the same type of data and have the same modifiers can be grouped together using a DataManager.
The DataInterface class provides a general interface for interacting with DataNodes of any type. This is useful in cases where you have a collection of different types of DataNodes and want to operate on them without casting.
The DataFile class provides an interface for recording data at regular intervals. This data can come from DataNodes, the return of a specified function, or the contents of a specified variable. DataFiles are useful for collecting data over the course of a computational experiment.
Data Tools API
- AnnotatedType.hpp
AnnotatedType
AnnotatedType::GetDataMap()
AnnotatedType::GetDataMap()
AnnotatedType::SetDataMap()
AnnotatedType::GetDataLayout()
AnnotatedType::GetDataLayout()
AnnotatedType::HasTraitID()
AnnotatedType::HasTrait()
AnnotatedType::TestTraitType()
AnnotatedType::TestTraitType()
AnnotatedType::GetTraitID()
AnnotatedType::GetTrait()
AnnotatedType::GetTrait()
AnnotatedType::GetTrait()
AnnotatedType::GetTrait()
AnnotatedType::SetTrait()
AnnotatedType::SetTrait()
AnnotatedType::GetTraitType()
AnnotatedType::GetTraitType()
AnnotatedType::GetTraitAsDouble()
AnnotatedType::GetTraitAsDouble()
AnnotatedType::GetTraitAsString()
AnnotatedType::GetTraitAsString()
AnnotatedType::data_map
- DataFile.hpp
MakeContainerDataFile()
DataFile
DataFile::DataFile()
DataFile::DataFile()
DataFile::DataFile()
DataFile::DataFile()
DataFile::~DataFile()
DataFile::operator=()
DataFile::operator=()
DataFile::GetFilename()
DataFile::GetLineBegin()
DataFile::GetSpacer()
DataFile::GetLineEnd()
DataFile::SetTiming()
DataFile::SetTimingOnce()
DataFile::SetTimingRepeat()
DataFile::SetTimingRange()
DataFile::SetLineBegin()
DataFile::SetSpacer()
DataFile::SetLineEnd()
DataFile::SetupLine()
DataFile::PrintHeaderKeys()
DataFile::PrintHeaderComment()
DataFile::Update()
DataFile::Update()
DataFile::AddPreFun()
DataFile::Add()
DataFile::AddFun()
DataFile::AddVar()
DataFile::AddCurrent()
DataFile::AddMean()
DataFile::AddMedian()
DataFile::AddPercentile()
DataFile::AddTotal()
DataFile::AddMin()
DataFile::AddMax()
DataFile::AddVariance()
DataFile::AddStandardDeviation()
DataFile::AddSkew()
DataFile::AddKurtosis()
DataFile::AddStats()
DataFile::AddAllStats()
DataFile::AddHistBin()
DataFile::AddAllHistBins()
DataFile::AddInferiority()
DataFile::fun_t
DataFile::time_fun_t
DataFile::pre_fun_t
DataFile::filename
DataFile::os
DataFile::funs
DataFile::pre_funs
DataFile::keys
DataFile::descs
DataFile::timing_fun
DataFile::line_begin
DataFile::line_spacer
DataFile::line_end
ContainerDataFile
ContainerDataFile::ContainerDataFile()
ContainerDataFile::~ContainerDataFile()
ContainerDataFile::SetUpdateContainerFun()
ContainerDataFile::PrintHeaderKeys()
ContainerDataFile::PrintHeaderComment()
ContainerDataFile::GetCurrentRows()
ContainerDataFile::OutputLine()
ContainerDataFile::Update()
ContainerDataFile::Update()
ContainerDataFile::Add()
ContainerDataFile::AddContainerFun()
ContainerDataFile::container_t
ContainerDataFile::raw_container_t
ContainerDataFile::data_t
ContainerDataFile::container_fun_t
ContainerDataFile::fun_update_container_t
ContainerDataFile::update_container_fun
ContainerDataFile::current_rows
ContainerDataFile::container_funs
ContainerDataFile::container_keys
ContainerDataFile::container_descs
- DataInterface.hpp
MakeDataInterface()
DataInterface
DataInterface::~DataInterface()
DataInterface::GetCount()
DataInterface::GetResetCount()
DataInterface::GetTotal()
DataInterface::GetMean()
DataInterface::GetMin()
DataInterface::GetMax()
DataInterface::GetVariance()
DataInterface::GetStandardDeviation()
DataInterface::GetSkew()
DataInterface::GetKurtosis()
DataInterface::PullData()
DataInterface::Reset()
DataInterface::PrintDebug()
DataInterface::GetName()
DataInterface::GetDescription()
DataInterface::GetKeyword()
- DataLayout.hpp
DataLayout
DataLayout::DataLayout()
DataLayout::DataLayout()
DataLayout::~DataLayout()
DataLayout::operator=()
DataLayout::operator=()
DataLayout::IncMaps()
DataLayout::DecMaps()
DataLayout::GetNumMaps()
DataLayout::IsLocked()
DataLayout::HasName()
DataLayout::HasID()
DataLayout::IsType()
DataLayout::Has()
DataLayout::Has()
DataLayout::DiagnoseHas()
DataLayout::GetImageSize()
DataLayout::GetID()
DataLayout::GetType()
DataLayout::GetCount()
DataLayout::IsNumeric()
DataLayout::IsNumeric()
DataLayout::Lock()
DataLayout::Add()
DataLayout::DestructImage()
DataLayout::ClearImage()
DataLayout::CopyImage()
DataLayout::MoveImageContents()
DataLayout::copy_fun_t
DataLayout::move_fun_t
DataLayout::destruct_fun_t
DataLayout::id_map
DataLayout::setting_map
DataLayout::image_size
DataLayout::num_maps
DataLayout::is_locked
DataLayout::copy_constructors
DataLayout::move_constructors
DataLayout::destructors
DataLayout::SettingInfo
- DataLog.hpp
DataLog
DataLog::DataLog()
DataLog::DataLog()
DataLog::DataLog()
DataLog::DataLog()
DataLog::operator=()
DataLog::operator=()
DataLog::operator=()
DataLog::GetSize()
DataLog::size()
DataLog::operator[]()
DataLog::operator[]()
DataLog::Push()
DataLog::Sort()
DataLog::Min()
DataLog::Max()
DataLog::Mean()
DataLog::Variance()
DataLog::StdDev()
DataLog::StdError()
DataLog::AsciiBarGraph()
DataLog::AsciiHistogram()
DataLog::data_t
DataLog::data
- DataManager.hpp
DataManager
DataManager::DataManager()
DataManager::~DataManager()
DataManager::begin()
DataManager::end()
DataManager::begin()
DataManager::end()
DataManager::GetSize()
DataManager::GetNodes()
DataManager::HasNode()
DataManager::New()
DataManager::Delete()
DataManager::Get()
DataManager::Get()
DataManager::AddData()
DataManager::ResetAll()
DataManager::data_t
DataManager::node_t
DataManager::node_map
- DataMap.hpp
DataMap
DataMap::key_type
DataMap::DataMap()
DataMap::DataMap()
DataMap::DataMap()
DataMap::operator=()
DataMap::~DataMap()
DataMap::GetSize()
DataMap::GetID()
DataMap::HasID()
DataMap::HasName()
DataMap::IsType()
DataMap::IsType()
DataMap::Has()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Get()
DataMap::Set()
DataMap::Set()
DataMap::GetType()
DataMap::GetType()
DataMap::IsNumeric()
DataMap::IsNumeric()
DataMap::GetAsDouble()
DataMap::GetAsDouble()
DataMap::GetAsString()
DataMap::GetAsString()
DataMap::AddVar()
DataMap::AddVar()
DataMap::HasLayout()
DataMap::HasLayout()
DataMap::SameLayout()
DataMap::GetLayout()
DataMap::GetLayout()
DataMap::IsLocked()
DataMap::LockLayout()
DataMap::MakeDatumAccessor()
DataMap::MakeDatumAccessor()
DataMap::DataMap()
DataMap::MakeLayoutUnique()
DataMap::memory
DataMap::layout_ptr
- DataNode.hpp
DataMonitor
DataLog
DataArchive
data
DataNodeModule
DataNodeModule::value_t
DataNodeModule::DataNodeModule()
DataNodeModule::GetCount()
DataNodeModule::GetResetCount()
DataNodeModule::GetTotal()
DataNodeModule::GetMean()
DataNodeModule::GetMin()
DataNodeModule::GetMax()
DataNodeModule::GetVariance()
DataNodeModule::GetStandardDeviation()
DataNodeModule::GetSkew()
DataNodeModule::GetKurtosis()
DataNodeModule::GetMedian()
DataNodeModule::GetPercentile()
DataNodeModule::GetName()
DataNodeModule::GetDescription()
DataNodeModule::GetKeyword()
DataNodeModule::SetName()
DataNodeModule::SetDescription()
DataNodeModule::SetKeyword()
DataNodeModule::SetInfo()
DataNodeModule::AddDatum()
DataNodeModule::Reset()
DataNodeModule::PrintDebug()
DataNodeModule::PullData_impl()
DataNodeModule::val_count
DataNodeModule::in_vals
CurrentModule
InfoModule
InfoModule::DataNodeModule()
InfoModule::GetName()
InfoModule::GetDescription()
InfoModule::GetKeyword()
InfoModule::SetName()
InfoModule::SetDescription()
InfoModule::SetKeyword()
InfoModule::SetInfo()
InfoModule::PrintDebug()
InfoModule::parent_t
InfoModule::name
InfoModule::desc
InfoModule::keyword
LogModule
ArchiveModule
ArchiveModule::DataNodeModule()
ArchiveModule::GetArchive()
ArchiveModule::GetData()
ArchiveModule::GetData()
ArchiveModule::GetResetCount()
ArchiveModule::Reset()
ArchiveModule::PrintDebug()
ArchiveModule::this_t
ArchiveModule::parent_t
ArchiveModule::base_t
ArchiveModule::archive
ArchiveModule::val_count
RangeModule
RangeModule::DataNodeModule()
RangeModule::GetTotal()
RangeModule::GetMean()
RangeModule::GetMin()
RangeModule::GetMax()
RangeModule::AddDatum()
RangeModule::Reset()
RangeModule::PrintDebug()
RangeModule::this_t
RangeModule::parent_t
RangeModule::base_t
RangeModule::total
RangeModule::min
RangeModule::max
RangeModule::val_count
FullRangeModule
FullRangeModule::DataNodeModule()
FullRangeModule::GetTotal()
FullRangeModule::GetMean()
FullRangeModule::GetMin()
FullRangeModule::GetMax()
FullRangeModule::GetTotal()
FullRangeModule::GetMean()
FullRangeModule::GetMin()
FullRangeModule::GetMax()
FullRangeModule::GetResetCount()
FullRangeModule::Reset()
FullRangeModule::PrintDebug()
FullRangeModule::this_t
FullRangeModule::parent_t
FullRangeModule::base_t
FullRangeModule::total_vals
FullRangeModule::num_vals
FullRangeModule::min_vals
FullRangeModule::max_vals
FullRangeModule::val_count
StatsModule
StatsModule::DataNodeModule()
StatsModule::GetVariance()
StatsModule::GetStandardDeviation()
StatsModule::GetSkew()
StatsModule::GetKurtosis()
StatsModule::AddDatum()
StatsModule::Reset()
StatsModule::PrintDebug()
StatsModule::this_t
StatsModule::parent_t
StatsModule::base_t
StatsModule::M2
StatsModule::M3
StatsModule::M4
StatsModule::val_count
HistogramModule
HistogramModule::DataNodeModule()
HistogramModule::GetHistMin()
HistogramModule::GetHistMax()
HistogramModule::GetHistCount()
HistogramModule::GetHistWidth()
HistogramModule::GetHistCounts()
HistogramModule::GetOverflow()
HistogramModule::GetUnderflow()
HistogramModule::GetBinMins()
HistogramModule::SetupBins()
HistogramModule::AddDatum()
HistogramModule::Reset()
HistogramModule::PrintDebug()
HistogramModule::this_t
HistogramModule::parent_t
HistogramModule::base_t
HistogramModule::offset
HistogramModule::width
HistogramModule::bins
HistogramModule::counts
HistogramModule::overflow
HistogramModule::underflow
HistogramModule::val_count
PullModule
DataNode
- Datum.hpp
operator<<()
operator%()
Datum
Datum::Datum()
Datum::Datum()
Datum::Datum()
Datum::Datum()
Datum::Datum()
Datum::Datum()
Datum::Datum()
Datum::~Datum()
Datum::NativeDouble()
Datum::NativeDouble()
Datum::NativeString()
Datum::NativeString()
Datum::AsDouble()
Datum::AsString()
Datum::operator double()
Datum::operator std::string()
Datum::SetDouble()
Datum::SetString()
Datum::Set()
Datum::operator=()
Datum::operator=()
Datum::operator=()
Datum::operator=()
Datum::operator+()
Datum::operator-()
Datum::operator!()
Datum::CompareNumber()
Datum::CompareString()
Datum::Compare()
Datum::Compare()
Datum::Compare()
Datum::Compare()
Datum::operator==()
Datum::operator!=()
Datum::operator<()
Datum::operator>=()
Datum::operator>()
Datum::operator<=()
Datum::operator+()
Datum::operator*()
Datum::operator-()
Datum::operator/()
Datum::operator%()
Datum::operator+()
Datum::operator*()
Datum::operator-()
Datum::operator/()
Datum::operator%()
Datum::operator+=()
Datum::operator-=()
Datum::operator*=()
Datum::operator/=()
Datum::operator%=()
Datum::num
Datum::str
Datum::InitString()
Datum::InitString()
Datum::FreeString()
Datum::@1
Datum::is_num
- MemoryImage.hpp
MemoryImage
MemoryImage::MemoryImage()
MemoryImage::MemoryImage()
MemoryImage::~MemoryImage()
MemoryImage::GetSize()
MemoryImage::GetInitSize()
MemoryImage::GetPtr()
MemoryImage::GetPtr()
MemoryImage::Get()
MemoryImage::Get()
MemoryImage::Get()
MemoryImage::Get()
MemoryImage::RawResize()
MemoryImage::RawCopy()
MemoryImage::RawMove()
MemoryImage::Construct()
MemoryImage::Destruct()
MemoryImage::CopyObj()
MemoryImage::MoveObj()
MemoryImage::Fuzz()
MemoryImage::image
MemoryImage::size
MemoryImage::init_to
- SimpleParser.hpp
SimpleParser
SimpleParser::SimpleParser()
SimpleParser::SimpleParser()
SimpleParser::GetNamesUsed()
SimpleParser::GetNamesUsed()
SimpleParser::AddOp()
SimpleParser::AddOp()
SimpleParser::AddDefaultOperators()
SimpleParser::AddDefaultFunctions()
SimpleParser::AddRandomFunctions()
SimpleParser::ParseValue()
SimpleParser::ParseMath()
SimpleParser::SetupStaticValues()
SimpleParser::SetupStaticValues()
SimpleParser::BuildMathFunction()
SimpleParser::RunMathFunction()
SimpleParser::ApproxCompare()
SimpleParser::pos_t
SimpleParser::ParseError()
SimpleParser::lexer
SimpleParser::unary_ops
SimpleParser::binary_ops
SimpleParser::functions
SimpleParser::external_vals
SimpleParser::var_names
SimpleParser::verbose
SimpleParser::BinaryOperator
SimpleParser::Function
SimpleParser::Function::fun0_t
SimpleParser::Function::fun1_t
SimpleParser::Function::fun2_t
SimpleParser::Function::fun3_t
SimpleParser::Function::Set0()
SimpleParser::Function::Set1()
SimpleParser::Function::Set2()
SimpleParser::Function::Set3()
SimpleParser::Function::num_args
SimpleParser::Function::fun0
SimpleParser::Function::fun1
SimpleParser::Function::fun2
SimpleParser::Function::fun3
SimpleParser::MapLexer
SimpleParser::MapLexer::MapLexer()
SimpleParser::MapLexer::IsID()
SimpleParser::MapLexer::IsNumber()
SimpleParser::MapLexer::IsString()
SimpleParser::MapLexer::IsChar()
SimpleParser::MapLexer::IsExternal()
SimpleParser::MapLexer::IsSymbol()
SimpleParser::MapLexer::token_identifier
SimpleParser::MapLexer::token_number
SimpleParser::MapLexer::token_string
SimpleParser::MapLexer::token_char
SimpleParser::MapLexer::token_external
SimpleParser::MapLexer::token_symbol
SimpleParser::SymbolTable
SimpleParser::SymbolTable
SimpleParser::SymbolTable
SimpleParser::ValueType
SimpleParser::ValueType::type_t
SimpleParser::ValueType::fun_t
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::ValueType()
SimpleParser::ValueType::operator=()
SimpleParser::ValueType::operator=()
SimpleParser::ValueType::operator=()
SimpleParser::ValueType::operator=()
SimpleParser::ValueType::operator=()
SimpleParser::ValueType::AsFunction()
SimpleParser::ValueType::type
SimpleParser::ValueType::value
SimpleParser::ValueType::fun
SymbolTable
SimpleParser::PhonyNameDueToError::map_t
SimpleParser::PhonyNameDueToError::arg_t
SimpleParser::PhonyNameDueToError::fun_t
SimpleParser::PhonyNameDueToError::value_t
SimpleParser::PhonyNameDueToError::SymbolTable()
SimpleParser::PhonyNameDueToError::MakeDatumAccessor()
SimpleParser::PhonyNameDueToError::AsFunction()
SimpleParser::PhonyNameDueToError::layout
- Trait.hpp
Trait
Trait::this_t
Trait::target_t
Trait::value_t
Trait::fun_t
Trait::range_t
Trait::Trait()
Trait::Trait()
Trait::Trait()
Trait::Trait()
Trait::Trait()
Trait::operator=()
Trait::operator=()
Trait::GetName()
Trait::GetDesc()
Trait::GetFun()
Trait::GetRange()
Trait::SetName()
Trait::SetDesc()
Trait::SetFun()
Trait::SetRange()
Trait::SetRange()
Trait::SetMin()
Trait::SetMax()
Trait::Eval()
Trait::EvalLimit()
Trait::EvalString()
Trait::EvalValue()
Trait::EvalBin()
Trait::Clone()
Trait::name
Trait::desc
Trait::fun
Trait::range
BaseTrait
TraitSet
TraitSet::target_t
TraitSet::trait_t
TraitSet::TraitSet()
TraitSet::TraitSet()
TraitSet::TraitSet()
TraitSet::~TraitSet()
TraitSet::operator=()
TraitSet::operator=()
TraitSet::operator[]()
TraitSet::operator[]()
TraitSet::GetSize()
TraitSet::Clear()
TraitSet::Find()
TraitSet::Has()
TraitSet::AddTrait()
TraitSet::EvalString()
TraitSet::EvalValue()
TraitSet::EvalStrings()
TraitSet::EvalValues()
TraitSet::EvalBin()
TraitSet::CalcOffsets()
TraitSet::traits
- VarMap.hpp
VarMap
VarMap::VarMap()
VarMap::VarMap()
VarMap::VarMap()
VarMap::~VarMap()
VarMap::GetName()
VarMap::GetID()
VarMap::Has()
VarMap::Add()
VarMap::AddString()
VarMap::AddInt()
VarMap::AddDouble()
VarMap::AddChar()
VarMap::AddBool()
VarMap::Get()
VarMap::Get()
VarMap::Get()
VarMap::Get()
VarMap::GetType()
VarMap::GetType()
VarMap::GetString()
VarMap::GetInt()
VarMap::GetDouble()
VarMap::GetChar()
VarMap::GetBool()
VarMap::GetString()
VarMap::GetInt()
VarMap::GetDouble()
VarMap::GetChar()
VarMap::GetBool()
VarMap::Set()
VarMap::Set()
VarMap::vars
VarMap::id_map
VarMap::VarBase
VarMap::VarInfo