1 #ifndef MCMC_INCLUDE
2 #define MCMC_INCLUDE
3 /*------------------------------------------------------
4  Maximum likelihood estimation
5  of migration rate  and effectice population size
6  using a Metropolis-Hastings Monte Carlo algorithm
7  -------------------------------------------------------
8  M C M C   R O U T I N E S
9 
10  Markov Monte Carlo stuff: treechange, acceptance
11 
12 
13  Peter Beerli 1996, Seattle
14  beerli@fsu.edu
15 
16 Copyright 1996-2002 Peter Beerli and Joseph Felsenstein, Seattle WA
17 Copyright 2003-2004 Peter Beerli, Tallahassee FL
18 
19  Permission is hereby granted, free of charge, to any person obtaining
20  a copy of this software and associated documentation files (the
21  "Software"), to deal in the Software without restriction, including
22  without limitation the rights to use, copy, modify, merge, publish,
23  distribute, sublicense, and/or sell copies of the Software, and to
24  permit persons to whom the Software is furnished to do so, subject
25  to the following conditions:
26 
27  The above copyright notice and this permission notice shall be
28  included in all copies or substantial portions of the Software.
29 
30  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31  EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
32  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR
34  ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
35  CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
36  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37 
38 $Id: mcmc.h 2157 2013-04-16 22:27:40Z beerli $
39 -------------------------------------------------------*/
40 
41 extern long tree_update (world_fmt * world, long g);
42 extern void free_timevector (timelist_fmt * timevector);
43 extern void count_migrations (node * p, long *count);
44 extern void traverse_tagnew(node *theNode, node *origin);
45 #endif
46