ppALIGN API documentation
PartitionWorkspace::ForwardBackwardInfo Struct Reference
#include <partitionworkspace.hpp>
Public Member Functions | |
| double | PairProb (long i, long j) |
Public Attributes | |
| long | i |
| PartitionWorkspace::RowInfo | last_row |
| PartitionWorkspace::RowInfo | curr_row |
| PartitionWorkspace::RowInfo | next_row |
| PartitionWorkspace::const_iterator | last_for |
| PartitionWorkspace::const_iterator | curr_for |
| PartitionWorkspace::const_iterator | curr_back |
Friends | |
| class | PartitionWorkspace |
Detailed Description
Information of intermediate results of the forward and backward computation. Instances of this class is passed to the callback functions void PartitionDriverBase::OnForwardBackward(PartitionWorkspace::ForwardBackwardInfo & fb_info) and void PartitionDriverBase::OnMarkovChain(PartitionWorkspace::ForwardBackwardInfo & fb_info, Workspace<PartitionWorkspace::Transition> const_iterator curr_markov, const xdouble & row_z) for each row as soon as the forward and the backward quantities are available.
- Examples:
Definition at line 130 of file partitionworkspace.hpp.
Member Function Documentation
| double PartitionWorkspace::ForwardBackwardInfo::PairProb | ( | long | i, | |
| long | j | |||
| ) | [inline] |
return pair probabilty. If i,j are out of the strip 0 is returned.
- Parameters:
-
i coordinate of the first sequence (i=0 ... length1-1) j coordinate of the second sequence (j=0 ... length2-1)
- Returns:
- probability that
and
is paired
- Examples:
- pairprobmap.cpp.
Definition at line 1165 of file partitionworkspace.hpp.
Member Data Documentation
backward probabilities of the current row
Definition at line 168 of file partitionworkspace.hpp.
forward probabilities of the current row
Definition at line 164 of file partitionworkspace.hpp.
information about the strip size of the current row (i)
Definition at line 152 of file partitionworkspace.hpp.
index of the row (i=0 ... length1-1)
- Examples:
- pairprobmap.cpp.
Definition at line 145 of file partitionworkspace.hpp.
forward probabilities of the last row
Definition at line 160 of file partitionworkspace.hpp.
information about the strip size of the last row (i-1)
Definition at line 148 of file partitionworkspace.hpp.
inforamtion about the strip size of the next row (i+1)
Definition at line 156 of file partitionworkspace.hpp.
The documentation for this struct was generated from the following file: