table of contents
other versions
- wheezy 1.0-6
beagle.GeneralBeagleImpl(3) | HMSBEAGLE | beagle.GeneralBeagleImpl(3) |
NAME¶
beagle.GeneralBeagleImpl -SYNOPSIS¶
Inherits beagle.Beagle. Inherited by beagle.DependencyAwareBeagleImpl, and beagle.FourStateBeagleImpl.Public Member Functions¶
GeneralBeagleImpl (final int tipCount, final int partialsBufferCount, final int compactBufferCount, final int stateCount, final int patternCount, final int eigenBufferCount, final int matrixBufferCount, final int categoryCount, final int scaleBufferCount)
Static Public Attributes¶
static final boolean DEBUG = false
Protected Member Functions¶
int updateStatesStates (int bufferIndex1, int matrixIndex1, int bufferIndex2, int matrixIndex2, int bufferIndex3)
Protected Attributes¶
final int tipCount
Constructor & Destructor Documentation¶
beagle.GeneralBeagleImpl.GeneralBeagleImpl (final inttipCount, final intpartialsBufferCount, final intcompactBufferCount, final intstateCount, final intpatternCount, final inteigenBufferCount, final intmatrixBufferCount, final intcategoryCount, final intscaleBufferCount) [inline]¶
Constructor Parameters:stateCount number of states
Member Function Documentation¶
void beagle.GeneralBeagleImpl.copyScaleFactors (intdestScalingIndex, intsrcScalingIndex) [inline]¶
Copy scale factors This function copies scale factors from one buffer to another. Parameters:instance Instance number (input)
destScalingIndex Destination scaleBuffer (input)
srcScalingIndex Source scaleBuffer (input)
void beagle.GeneralBeagleImpl.finalize () throws Throwable [inline]¶
Finalize this instance This function finalizes the instance by releasing allocated memory Implements beagle.Beagle.InstanceDetails beagle.GeneralBeagleImpl.getDetails () [inline]¶
Get a details class for this instance Returns:void beagle.GeneralBeagleImpl.resetScaleFactors (intcumulativeScaleIndex) [inline]¶
Reset scalefactors This function resets a cumulative scale buffer. Parameters:cumulativeScaleIndex Index number of
cumulative scaleBuffer (input)
void beagle.GeneralBeagleImpl.setPatternWeights (final double[]patternWeights) [inline]¶
Set the weights for each pattern Parameters:patternWeights Array containing
patternCount weights
void beagle.GeneralBeagleImpl.setTipStates (inttipIndex, int[]states) [inline]¶
Sets partials for a tip - these are numbered from 0 and remain constant throughout the run. Parameters:tipIndex the tip index
states an array of patternCount state indices
void beagle.GeneralBeagleImpl.updatePartials (final int[]operations, final intoperationCount, final intcumulativeScaleIndex) [inline]¶
Operations list is a list of 7-tuple integer indices, with one 7-tuple per operation. Format of 7-tuple operation: {destinationPartials, destinationScaleWrite, destinationScaleRead, child1Partials, child1TransitionMatrix, child2Partials, child2TransitionMatrix}int beagle.GeneralBeagleImpl.updateStatesPartials (intbufferIndex1, intmatrixIndex1, intbufferIndex2, intmatrixIndex2, intbufferIndex3) [inline], [protected]¶
Calculates partial likelihoods at a node when one child has states and one has partials. Reimplemented in beagle.FourStateBeagleImpl.int beagle.GeneralBeagleImpl.updateStatesStates (intbufferIndex1, intmatrixIndex1, intbufferIndex2, intmatrixIndex2, intbufferIndex3) [inline], [protected]¶
Calculates partial likelihoods at a node when both children have states. Returns:the larges absolute exponent
Author¶
Generated automatically by Doxygen for HMSBEAGLE from the source code.Fri May 25 2012 | Version 1.0.0 |