forked from JuliaRandom/RandomNumbers.jl
/
pcg_list.jl
78 lines (73 loc) · 2.8 KB
/
pcg_list.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
const PCG_LIST = (
(:Oneseq, UInt16, :XSH_RS, UInt8),
(:Oneseq, UInt32, :XSH_RS, UInt16),
(:Oneseq, UInt64, :XSH_RS, UInt32),
(:Oneseq, UInt128, :XSH_RS, UInt64),
(:Unique, UInt16, :XSH_RS, UInt8),
(:Unique, UInt32, :XSH_RS, UInt16),
(:Unique, UInt64, :XSH_RS, UInt32),
(:Unique, UInt128, :XSH_RS, UInt64),
(:Setseq, UInt16, :XSH_RS, UInt8),
(:Setseq, UInt32, :XSH_RS, UInt16),
(:Setseq, UInt64, :XSH_RS, UInt32),
(:Setseq, UInt128, :XSH_RS, UInt64),
(:MCG, UInt16, :XSH_RS, UInt8),
(:MCG, UInt32, :XSH_RS, UInt16),
(:MCG, UInt64, :XSH_RS, UInt32),
(:MCG, UInt128, :XSH_RS, UInt64),
(:Oneseq, UInt16, :XSH_RR, UInt8),
(:Oneseq, UInt32, :XSH_RR, UInt16),
(:Oneseq, UInt64, :XSH_RR, UInt32),
(:Oneseq, UInt128, :XSH_RR, UInt64),
(:Unique, UInt16, :XSH_RR, UInt8),
(:Unique, UInt32, :XSH_RR, UInt16),
(:Unique, UInt64, :XSH_RR, UInt32),
(:Unique, UInt128, :XSH_RR, UInt64),
(:Setseq, UInt16, :XSH_RR, UInt8),
(:Setseq, UInt32, :XSH_RR, UInt16),
(:Setseq, UInt64, :XSH_RR, UInt32),
(:Setseq, UInt128, :XSH_RR, UInt64),
(:MCG, UInt16, :XSH_RR, UInt8),
(:MCG, UInt32, :XSH_RR, UInt16),
(:MCG, UInt64, :XSH_RR, UInt32),
(:MCG, UInt128, :XSH_RR, UInt64),
(:Oneseq, UInt8, :RXS_M_XS, UInt8),
(:Oneseq, UInt16, :RXS_M_XS, UInt16),
(:Oneseq, UInt32, :RXS_M_XS, UInt32),
(:Oneseq, UInt64, :RXS_M_XS, UInt64),
(:Oneseq, UInt128, :RXS_M_XS, UInt128),
(:Unique, UInt16, :RXS_M_XS, UInt16),
(:Unique, UInt32, :RXS_M_XS, UInt32),
(:Unique, UInt64, :RXS_M_XS, UInt64),
(:Unique, UInt128, :RXS_M_XS, UInt128),
(:Setseq, UInt8, :RXS_M_XS, UInt8),
(:Setseq, UInt16, :RXS_M_XS, UInt16),
(:Setseq, UInt32, :RXS_M_XS, UInt32),
(:Setseq, UInt64, :RXS_M_XS, UInt64),
(:Setseq, UInt128, :RXS_M_XS, UInt128),
(:Oneseq, UInt64, :XSL_RR, UInt32),
(:Oneseq, UInt128, :XSL_RR, UInt64),
(:Unique, UInt64, :XSL_RR, UInt32),
(:Unique, UInt128, :XSL_RR, UInt64),
(:Setseq, UInt64, :XSL_RR, UInt32),
(:Setseq, UInt128, :XSL_RR, UInt64),
(:MCG, UInt64, :XSL_RR, UInt32),
(:MCG, UInt128, :XSL_RR, UInt64),
(:Oneseq, UInt64, :XSL_RR_RR, UInt64),
(:Oneseq, UInt128, :XSL_RR_RR, UInt128),
(:Unique, UInt64, :XSL_RR_RR, UInt64),
(:Unique, UInt128, :XSL_RR_RR, UInt128),
(:Setseq, UInt64, :XSL_RR_RR, UInt64),
(:Setseq, UInt128, :XSL_RR_RR, UInt128)
)
let p() = begin
s = "The list of all the parameter combinations that can be used for PCG.\n\n"
s *= "|Stream variation|State Type|Method Type|Output Type|\n"
s *= "|---|---|---|---|\n"
for (pcg_type, uint_type, method, output_type) in PCG_LIST
s *= "|`PCGState$pcg_type`|`$uint_type`|`PCG_$method`|`$output_type`|\n"
end
s
end
@doc p() PCG_LIST
end