Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61032772
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
Sat, May 4, 02:50
Size
1 KB
Mime Type
text/x-c
Expires
Mon, May 6, 02:50 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17455526
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 bckg_class whether the last class of the
* classification (posterior probabilities) is a
* background class.
* \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,
bool bckg_class,
size_t n_threads) ;
/*!
* \brief Destructor.
*/
virtual ~SequenceModelComputer() override ;
protected:
/*!
* \brief the threads.
*/
ThreadPool* threads ;
} ;
#endif // SEQUENCEMODELCOMPUTER_HPP
Event Timeline
Log In to Comment