IntaRNA 3.5.0-pre
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
OutputHandlerMfe.h
Go to the documentation of this file.
1#ifndef INTARNA_OUTPUTHANDLERMFE_H_
2#define INTARNA_OUTPUTHANDLERMFE_H_
3
7
8#include <memory>
9
10namespace IntaRNA {
11
22public:
30 SeedHandler * seedHandler = NULL);
31
33 virtual ~OutputHandlerMfe() override;
34
39 void add(const Interaction & interaction) override;
40
42 size_t reported() const override;
43
45 void incrementZ(Z_type subZ) override;
46
48 Z_type getZ() const override;
49
51 void setExactPartition(bool exact) override;
52
53private:
55 std::unique_ptr<OutputHandler> output;
57 const InteractionEnergy & energy;
59 std::unique_ptr<SeedHandler> seedHandler;
60
62 void traceMfe(Interaction & interaction);
63};
64
65} // namespace IntaRNA
66
67#endif /* INTARNA_OUTPUTHANDLERMFE_H_ */
Definition InteractionEnergy.h:20
Definition Interaction.h:28
Definition OutputHandlerMfe.h:21
size_t reported() const override
Z_type getZ() const override
void incrementZ(Z_type subZ) override
Forward partition totals to the wrapped output handler.
void add(const Interaction &interaction) override
OutputHandlerMfe(OutputHandler *output, const InteractionEnergy &energy, SeedHandler *seedHandler=NULL)
virtual ~OutputHandlerMfe() override
Destruction of the owned output and seed handlers.
void setExactPartition(bool exact) override
Forward exact-partition presentation policy.
Definition OutputHandler.h:22
Definition SeedHandler.h:17
Definition Accessibility.h:13
double Z_type
type for probabilities, RT and Boltzmann values
Definition general.h:88