-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first version of template that produces XML that runs
- Loading branch information
1 parent
1183dee
commit 531a67c
Showing
5 changed files
with
98 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
src/starbeast3/operators/ParallelMCMCTreeOperatorTreeDistribution.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package starbeast3.operators; | ||
|
||
import beast.core.BEASTObject; | ||
import beast.core.Description; | ||
import beast.core.Distribution; | ||
import beast.core.Param; | ||
import beast.evolution.tree.Tree; | ||
import starbeast3.GeneTreeForSpeciesTreeDistribution; | ||
|
||
@Description("Distribution on a tree conditinionally independent from all other distributions given the state of the rest of parameter space") | ||
public class ParallelMCMCTreeOperatorTreeDistribution extends BEASTObject { | ||
Tree tree; | ||
Distribution treelikelihood; | ||
GeneTreeForSpeciesTreeDistribution geneprior; | ||
|
||
public Tree getTree() {return tree;} | ||
public void setTree(Tree tree) {this.tree = tree;} | ||
public Distribution getTreelikelihood() {return treelikelihood;} | ||
public void setTreelikelihood(Distribution treelikelihood) {this.treelikelihood = treelikelihood;} | ||
public GeneTreeForSpeciesTreeDistribution getGeneprior() {return geneprior;} | ||
public void setGeneprior(GeneTreeForSpeciesTreeDistribution geneprior) {this.geneprior = geneprior;} | ||
|
||
public ParallelMCMCTreeOperatorTreeDistribution(@Param(name="tree", description="tree for which") Tree tree, | ||
@Param(name="treelikelihood", description="treelikelihood part of the distribution") Distribution treelikelihood, | ||
@Param(name="geneprior", description="prior on the gene tree") GeneTreeForSpeciesTreeDistribution geneprior) { | ||
this.tree = tree; | ||
this.treelikelihood = treelikelihood; | ||
this.geneprior = geneprior; | ||
} | ||
|
||
@Override | ||
public void initAndValidate() { | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters