[beast-mcmc] r6744 committed - Methods to retrieve source and destination likelihoods from PathLikeli...

0 views
Skip to first unread message

beast...@googlecode.com

unread,
Apr 23, 2015, 5:59:45 AM4/23/15
to beast-...@googlegroups.com
Revision: 6744
Author: bael...@gmail.com
Date: Thu Apr 23 09:59:33 2015 UTC
Log: Methods to retrieve source and destination likelihoods from
PathLikelihood.
https://code.google.com/p/beast-mcmc/source/detail?r=6744

Modified:
/trunk/src/dr/inference/model/PathLikelihood.java

=======================================
--- /trunk/src/dr/inference/model/PathLikelihood.java Tue Feb 10 23:27:41
2015 UTC
+++ /trunk/src/dr/inference/model/PathLikelihood.java Thu Apr 23 09:59:33
2015 UTC
@@ -105,6 +105,14 @@
// Depends on complete model (include pseudo-densities)
return (source.getLogLikelihood() * pathParameter) +
(destination.getLogLikelihood() * (1.0 - pathParameter));
}
+
+ public Likelihood getSourceLikelihood() {
+ return source;
+ }
+
+ public Likelihood getDestinationLikelihood() {
+ return destination;
+ }

public void makeDirty() {
source.makeDirty();
Reply all
Reply to author
Forward
0 new messages