-
Notifications
You must be signed in to change notification settings - Fork 3
/
PAMR.jl
47 lines (36 loc) · 797 Bytes
/
PAMR.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
abstract type PAMRModel end
"""
PAMR<: PAMRModel
Create a PAMR object. Also, see [`PAMR1`](@ref), and [`PAMR2`](@ref).
# Example
```julia
model = PAMR()
```
"""
struct PAMR<:PAMRModel end
"""
PAMR1{T<:AbstractFloat}<: PAMRModel
Create a PAMR1 object. Also, see [`PAMR`](@ref), and [`PAMR2`](@ref).
# Keyword Arguments
- `C::AbstractFloat=1.`: Aggressiveness parameter.
# Example
```julia
model = PAMR1(C=0.02)
```
"""
@kwdef struct PAMR1{T<:AbstractFloat}<:PAMRModel
C::T=1.
end
"""
PAMR2{T<:AbstractFloat}<: PAMRModel
Create a PAMR2 object. Also, see [`PAMR`](@ref), and [`PAMR1`](@ref).
# Keyword Arguments
- `C::AbstractFloat=1.`: Aggressiveness parameter.
# Example
```julia
model = PAMR2(C=0.02)
```
"""
@kwdef struct PAMR2{T<:AbstractFloat}<:PAMRModel
C::T=1.
end