Package org.biojava.bio.dp
Class BackPointer
- java.lang.Object
-
- org.biojava.bio.dp.BackPointer
-
public class BackPointer extends Object
A backpointer.This is used to facilitate traceback after the Viterbi computation.
- Author:
- Matthew Pocock
-
-
Field Summary
Fields Modifier and Type Field Description BackPointer
back
The previous backpointer (towards origin of DP matrix) in traceback.double
score
The score of this element of the DP matrix.State
state
The state with which this backpointer is associated.
-
Constructor Summary
Constructors Constructor Description BackPointer(State s)
BackPointer(State state, BackPointer back, double score)
-
-
-
Field Detail
-
back
public final BackPointer back
The previous backpointer (towards origin of DP matrix) in traceback.
-
score
public final double score
The score of this element of the DP matrix.
-
-
Constructor Detail
-
BackPointer
public BackPointer(State state, BackPointer back, double score)
-
BackPointer
public BackPointer(State s)
-
-