~ubuntu-branches/ubuntu/saucy/libbpp-phyl/saucy

« back to all changes in this revision

Viewing changes to src/Bpp/Phyl/Likelihood/RHomogeneousMixedTreeLikelihood.h

  • Committer: Package Import Robot
  • Author(s): Julien Dutheil
  • Date: 2013-02-09 16:00:00 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20130209160000-5v65ba68z8032nzj
Tags: 2.0.3-1
* Reorganized model hierarchy
* New pairwise models
* Several bugs fixed

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//
2
2
// File: RHomogeneousMixedTreeLikelihood.h
3
 
// Created by: Davud Fournier, Laurent Gueguen
 
3
// Created by: David Fournier, Laurent Gueguen
4
4
//
5
5
 
6
6
/*
7
 
   Copyright or � or Copr. CNRS, (November 16, 2004)
 
7
   Copyright or � or Copr. Bio++ Development Team, (November 16, 2004)
8
8
 
9
9
   This software is a computer program whose purpose is to provide classes
10
10
   for phylogenetic data analysis.
193
193
   * @param node The node at which likelihood values must be displayed.
194
194
   */
195
195
  virtual void displayLikelihood(const Node* node);
 
196
 
 
197
  virtual void setMinimumBranchLength(double brlen) throw (Exception) {
 
198
    RHomogeneousMixedTreeLikelihood::setMinimumBranchLength(brlen);
 
199
    for (unsigned int i = 0; i < treeLikelihoodsContainer_.size(); ++i)
 
200
      treeLikelihoodsContainer_[i]->setMinimumBranchLength(brlen);
 
201
  }
 
202
  virtual void setMaximumBranchLength(double brlen) throw (Exception) {
 
203
    RHomogeneousMixedTreeLikelihood::setMaximumBranchLength(brlen);
 
204
    for (unsigned int i = 0; i < treeLikelihoodsContainer_.size(); ++i)
 
205
      treeLikelihoodsContainer_[i]->setMaximumBranchLength(brlen);
 
206
  }
196
207
};
197
208
} // end of namespace bpp.
198
209