IntaRNA 3.4.1
RNA-RNA interaction prediction | C++ API
Loading...
Searching...
No Matches
SeededPartitionFunction.h
Go to the documentation of this file.
1#ifndef INTARNA_SEEDEDPARTITIONFUNCTION_H_
2#define INTARNA_SEEDEDPARTITIONFUNCTION_H_
4#include "IntaRNA/Matrix.h"
6#include <functional>
7
8namespace IntaRNA {
24public:
28 struct Domain { size_t n,m,span1,span2,loop1,loop2; bool noLP; };
33 struct Weights {
34 std::function<bool(Pair)> valid;
35 std::function<Z_type(Pair)> initiation;
37 std::function<void(Pair,Pair,Z_type,Z_type)> complete;
46 std::function<Pair(Pair,Pair)> selectRight;
51 std::function<void(Pair,Pair,Pair,Z_type)> anchorComplete;
52 };
63 static Result compute(const Domain & domain, const StackSeedDomain & seeds,
64 const Weights & weights, bool pairs);
65};
66}
67#endif
type of a base pair index encoding
Definition Interaction.h:33
Definition Matrix.h:49
Definition SeededPartitionFunction.h:23
Interaction::BasePair Pair
Local zero-based pair, second strand in reversed coordinates.
Definition SeededPartitionFunction.h:26
static Result compute(const Domain &domain, const StackSeedDomain &seeds, const Weights &weights, bool pairs)
Definition StackSeedDomain.h:15
Definition Accessibility.h:13
double Z_type
type for probabilities, RT and Boltzmann values
Definition general.h:88
Definition SeededPartitionFunction.h:28
size_t n
Definition SeededPartitionFunction.h:28
size_t loop1
Definition SeededPartitionFunction.h:28
size_t m
Definition SeededPartitionFunction.h:28
size_t span2
Definition SeededPartitionFunction.h:28
size_t loop2
Definition SeededPartitionFunction.h:28
size_t span1
Definition SeededPartitionFunction.h:28
bool noLP
Definition SeededPartitionFunction.h:28
Definition SeededPartitionFunction.h:54
Z_type z
Definition SeededPartitionFunction.h:54
Matrix< Z_type > mass
Definition SeededPartitionFunction.h:54
Definition SeededPartitionFunction.h:33
std::function< Z_type(Pair, Pair)> boundary
Definition SeededPartitionFunction.h:36
std::function< bool(Pair)> valid
Definition SeededPartitionFunction.h:34
std::function< Z_type(Pair, Pair)> transition
Definition SeededPartitionFunction.h:36
std::function< Z_type(Pair)> initiation
Definition SeededPartitionFunction.h:35
std::function< void(Pair, Pair, Pair, Z_type)> anchorComplete
Definition SeededPartitionFunction.h:51
std::function< Pair(Pair, Pair)> selectRight
Definition SeededPartitionFunction.h:46
std::function< void(Pair, Pair, Z_type, Z_type)> complete
Definition SeededPartitionFunction.h:37