Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
filter_policy.hpp
1// Copyright 2021 Arnaud Becheler <abechele@umich.edu>
2
3/*********************************************************************** * This program is free software; you can
4 *redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free
5 *Software Foundation; either version 2 of the License, or * (at your option) any later version. *
6 * *
7 ***************************************************************************/
8
9#ifndef __FILTER_POLICY_H_INCLUDED__
10#define __FILTER_POLICY_H_INCLUDED__
11
12namespace quetzal
13{
14namespace coalescence
15{
16namespace occupancy_spectrum
17{
18namespace filter_policy
19{
24{
25 bool operator()(double /*param*/) const
26 {
27 return true;
28 }
29}; // end struct return_always_true
30} // namespace filter_policy
31} // namespace occupancy_spectrum
32} // namespace coalescence
33} // namespace quetzal
34
35#endif
Simulation of coalescence-based models of molecular evolution.
Definition coalescence.hpp:21
Default policy: accept all spectrums whatever their sampling probability.
Definition filter_policy.hpp:24