1 | /* |
2 | * Legal Notice |
3 | * |
4 | * This document and associated source code (the "Work") is a part of a |
5 | * benchmark specification maintained by the TPC. |
6 | * |
7 | * The TPC reserves all right, title, and interest to the Work as provided |
8 | * under U.S. and international laws, including without limitation all patent |
9 | * and trademark rights therein. |
10 | * |
11 | * No Warranty |
12 | * |
13 | * 1.1 TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, THE INFORMATION |
14 | * CONTAINED HEREIN IS PROVIDED "AS IS" AND WITH ALL FAULTS, AND THE |
15 | * AUTHORS AND DEVELOPERS OF THE WORK HEREBY DISCLAIM ALL OTHER |
16 | * WARRANTIES AND CONDITIONS, EITHER EXPRESS, IMPLIED OR STATUTORY, |
17 | * INCLUDING, BUT NOT LIMITED TO, ANY (IF ANY) IMPLIED WARRANTIES, |
18 | * DUTIES OR CONDITIONS OF MERCHANTABILITY, OF FITNESS FOR A PARTICULAR |
19 | * PURPOSE, OF ACCURACY OR COMPLETENESS OF RESPONSES, OF RESULTS, OF |
20 | * WORKMANLIKE EFFORT, OF LACK OF VIRUSES, AND OF LACK OF NEGLIGENCE. |
21 | * ALSO, THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, |
22 | * QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR NON-INFRINGEMENT |
23 | * WITH REGARD TO THE WORK. |
24 | * 1.2 IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THE WORK BE LIABLE TO |
25 | * ANY OTHER PARTY FOR ANY DAMAGES, INCLUDING BUT NOT LIMITED TO THE |
26 | * COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS |
27 | * OF USE, LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, |
28 | * INDIRECT, OR SPECIAL DAMAGES WHETHER UNDER CONTRACT, TORT, WARRANTY, |
29 | * OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR ANY OTHER AGREEMENT |
30 | * RELATING TO THE WORK, WHETHER OR NOT SUCH AUTHOR OR DEVELOPER HAD |
31 | * ADVANCE NOTICE OF THE POSSIBILITY OF SUCH DAMAGES. |
32 | * |
33 | * Contributors |
34 | * - Doug Johnson |
35 | */ |
36 | |
37 | /* |
38 | * Contains all seeds used with the Random Number Generator (RNG). |
39 | */ |
40 | |
41 | #ifndef RNGSEEDS_H |
42 | #define RNGSEEDS_H |
43 | |
44 | #include "Random.h" |
45 | |
46 | namespace TPCE { |
47 | // Default seed used for all tables. |
48 | const RNGSEED RNGSeedTableDefault = 37039940; |
49 | |
50 | // This value is added to the AD_ID when seeding the RNG for |
51 | // generating a threshold into the TownDivisionZipCode list. |
52 | const RNGSEED RNGSeedBaseTownDivZip = 26778071; |
53 | |
54 | // This is the base seed used when generating C_TIER. |
55 | const RNGSEED RNGSeedBaseC_TIER = 16225173; |
56 | |
57 | // Base seeds used for generating C_AREA_1, C_AREA_2, C_AREA_3 |
58 | const RNGSEED RNGSeedBaseC_AREA_1 = 97905013; |
59 | const RNGSEED RNGSeedBaseC_AREA_2 = 68856487; |
60 | const RNGSEED RNGSeedBaseC_AREA_3 = 67142295; |
61 | |
62 | // Base seed used when generating names. |
63 | const RNGSEED RNGSeedBaseFirstName = 95066470; |
64 | const RNGSEED RNGSeedBaseMiddleInitial = 71434514; |
65 | const RNGSEED RNGSeedBaseLastName = 35846049; |
66 | |
67 | // Base seed used when generating gender. |
68 | const RNGSEED RNGSeedBaseGender = 9568922; |
69 | |
70 | // Base seed used when generating tax ID |
71 | const RNGSEED RNGSeedBaseTaxID = 8731255; |
72 | |
73 | // Base seed used when generating the number of accounts for a customer |
74 | // const RNGSEED RNGSeedBaseNumberOfAccounts = 37486207; |
75 | |
76 | // Base seed used when generating the number of permissions on an account |
77 | const RNGSEED RNGSeedBaseNumberOfAccountPermissions = 27794203; |
78 | |
79 | // Base seeds used when generating CIDs for additional account permissions |
80 | const RNGSEED RNGSeedBaseCIDForPermission1 = 76103629; |
81 | const RNGSEED RNGSeedBaseCIDForPermission2 = 103275149; |
82 | |
83 | // Base seed used when generating acount tax status |
84 | const RNGSEED RNGSeedBaseAccountTaxStatus = 34376701; |
85 | |
86 | // Base seed for determining account broker id |
87 | const RNGSEED RNGSeedBaseBrokerId = 75607774; |
88 | |
89 | // Base seed used when generating tax rate row |
90 | const RNGSEED RNGSeedBaseTaxRateRow = 92740731; |
91 | |
92 | // Base seed used when generating the number of holdings for an account |
93 | const RNGSEED RNGSeedBaseNumberOfSecurities = 23361736; |
94 | |
95 | // Base seed used when generating the starting security ID for the |
96 | // set of securities associated with a particular account. |
97 | const RNGSEED RNGSeedBaseStartingSecurityID = 12020070; |
98 | |
99 | // Base seed used when generating a company's SP Rate |
100 | const RNGSEED RNGSeedBaseSPRate = 56593330; |
101 | |
102 | // Base seed for initial trade generation class |
103 | const RNGSEED RNGSeedTradeGen = 32900134; |
104 | |
105 | // Base seed for the MEESecurity class |
106 | const RNGSEED RNGSeedBaseMEESecurity = 75791232; |
107 | |
108 | // Base seed for non-uniform customer selection |
109 | const RNGSEED RNGSeedCustomerSelection = 9270899; |
110 | |
111 | // Base seed for MEE Ticker Tape |
112 | const RNGSEED RNGSeedBaseMEETickerTape = 42065035; |
113 | |
114 | // Base seed for MEE Trading Floor |
115 | const RNGSEED RNGSeedBaseMEETradingFloor = 25730774; |
116 | |
117 | // Base seed for TxnMixGenerator |
118 | const RNGSEED RNGSeedBaseTxnMixGenerator = 87944308; |
119 | |
120 | // Base seed for TxnInputGenerator |
121 | const RNGSEED RNGSeedBaseTxnInputGenerator = 80534927; |
122 | |
123 | } // namespace TPCE |
124 | |
125 | #endif // RNGSEEDS_H |
126 | |