Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F61486236
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
Mon, May 6, 23:45
Size
1 KB
Mime Type
text/x-c
Expires
Wed, May 8, 23:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17518609
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
(
const
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