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
12
namespace
quetzal
13
{
14
namespace
coalescence
15
{
16
namespace
occupancy_spectrum
17
{
18
namespace
filter_policy
19
{
23
struct
return_always_true
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
quetzal
Simulation of coalescence-based models of molecular evolution.
Definition
coalescence.hpp:21
quetzal::coalescence::occupancy_spectrum::filter_policy::return_always_true
Default policy: accept all spectrums whatever their sampling probability.
Definition
filter_policy.hpp:24
src
include
quetzal
coalescence
occupancy_spectrum
filter_policy.hpp
Generated by
1.9.8