Tomographer  v1.0a
Tomographer C++ Framework Documentation
MHRandomWalkTaskCData Interface

This is a ‘type interface.’ See Type Interfaces for more info on what that is.

A MHRandomWalkTaskCData is an object which provides data about how to conduct a repetition of random walks, while collecting statistics. It may store constant global data.

A MHRandomWalkTaskCData must inherit Tomographer::MHRWTasks::CDataBase<CountIntType,RealType>, in order to expose some basic types and functions.

A MHRandomWalkTaskCData must be copy-constructible, and different threads must be able to operate safely on different copies.

typedef .. MHRWStatsCollectorResultType
MHRWStatsCollectorType createStatsCollector() const
Create an MHRWStatsCollector -type instance to use. This must be a type which compiles both with the MHRWStatsCollector Interface and the Resultable Interface. It must have as its Result the type given as MHRWStatsColelctorResultType.
MHWalker createMHWalker(Rng & rng, LoggerType & logger) const
Create an MHWalker -type instance. This may be any MHWalker Interface -compliant type. The Rng parameter is the same type as provided to the MHRWTasks::MHRandomWalkTask template parameter, use a template argument for this function in case. Use a template parameter for LoggerType.