Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82216459
SequenceModelComputer.hpp
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Sep 10, 05:34
Size
1 KB
Mime Type
text/x-c
Expires
Thu, Sep 12, 05:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20667299
Attached To
R8820 scATAC-seq
SequenceModelComputer.hpp
View Options
#ifndef SEQUENCEMODELCOMPUTER_HPP
#define SEQUENCEMODELCOMPUTER_HPP
#include <ModelComputer.hpp>
#include <Matrix2D.hpp>
#include <Matrix4D.hpp>
#include <ThreadPool.hpp>
class SequenceModelComputer : public ModelComputer
{
public:
/*!
* \brief Constructs an object to retrieve
* the sequence model given the data and their
* classification results.
* \param data the data.
* \param post_prob the data class assignment
* probabilities.
* \param n_threads the number of parallel threads
* to run the computations. 0 means no parallel
* computing, everything is run on the main thread.
*/
SequenceModelComputer(Matrix2D<int>&& data,
const Matrix4D<double>& post_prob,
size_t n_threads) ;
/*!
* \brief Destructor.
*/
virtual ~SequenceModelComputer() override ;
protected:
/*!
* \brief the threads.
*/
ThreadPool* threads ;
} ;
#endif // SEQUENCEMODELCOMPUTER_HPP
Event Timeline
Log In to Comment