MRS  1.0
A C++ Class Library for Statistical Set Processing
subpavings::UniformSSMProposal Class Reference

The 'stay-split-merge' base chain proposal class, where probability of staying in same state $ \sigma $ is fixed, the probability of a split is $ \frac{1-\sigma}{2} $, the probability of a merge is $ \frac{1-\sigma}{2} $ and, given a split, the probabilities of each leaf being chosen are equal, and given a merge, the probabilities of each cherry being chosen are equal. More...

+ Inheritance diagram for subpavings::UniformSSMProposal:
+ Collaboration diagram for subpavings::UniformSSMProposal:

List of all members.

Public Member Functions

 UniformSSMProposal (double s)
cxsc::real fillNodeProposalProbs (const size_t nLeaf, const size_t nCherry, RealVec &probs) const
cxsc::real getLogQRatioSplitProposal (const size_t leavesNow, const size_t, const size_t, const size_t cherriesProspective) const
cxsc::real getLogQRatioMergeProposal (const size_t, const size_t cherriesNow, const size_t leavesProspective, const size_t) const

Detailed Description

The 'stay-split-merge' base chain proposal class, where probability of staying in same state $ \sigma $ is fixed, the probability of a split is $ \frac{1-\sigma}{2} $, the probability of a merge is $ \frac{1-\sigma}{2} $ and, given a split, the probabilities of each leaf being chosen are equal, and given a merge, the probabilities of each cherry being chosen are equal.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Friends