-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.js
34 lines (28 loc) · 784 Bytes
/
index.js
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
var $GH = require("./dist/core/GenHierarchies.js");
var $CSVIN = require("./dist/io/CSVInput.js");
var $CSVOUT = require("./dist/io/CSVOutput.js");
var $Sangreea = require("./dist/SaNGreeA/SaNGreeA.js");
var $C_ADULT = require("./dist/config/SaNGreeAConfig_adult.js");
var $C_HOUSES = require("./dist/config/SaNGreeAConfig_house.js");
var out = typeof window !== 'undefined' ? window : global;
out.$A = {
config: {
adults: $C_ADULT.CONFIG,
houses: $C_HOUSES.CONFIG
},
genHierarchy: {
Category : $GH.StringGenHierarchy,
Range : $GH.ContGenHierarchy
},
IO: {
CSVIN : $CSVIN.CSVInput,
CSVOUT : $CSVOUT.CSVOutput
},
algorithms: {
Sangreea : $Sangreea.SaNGreeA
}
};
/**
* For NodeJS / CommonJS global object
*/
module.exports = out.$A;