public interface DifferentiableState extends State
| Modifier and Type | Method and Description |
|---|---|
double |
getLogScoreAndPartialDerivation(int startPos,
int endPos,
IntList indices,
DoubleList partDer,
Sequence seq)
This method allows to compute the logarithm of the score and the gradient for the given subsequences.
|
getGraphvizNodeOptions, getLogScoreFor, isSilent, toStringdouble getLogScoreAndPartialDerivation(int startPos,
int endPos,
IntList indices,
DoubleList partDer,
Sequence seq)
throws OperationNotSupportedException,
WrongLengthException
startPos - the start position (inclusive)endPos - the end position (inclusive)indices - a list for the parameter indicespartDer - a list for the partial derivationsseq - the Sequence(s)WrongLengthException - if the length can not be modeledOperationNotSupportedException - if the reverse complement of the sequence can not be computed