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,StepRealType>, 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(LoggerType & logger) 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 ResultType the type given as MHRWStatsColelctorResultType.
- The logger may be used to log messages, and may be passed on to the stats collector for the same purpose. Use a template parameter for LoggerType.
- 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.