@elaraai/east-py-datascience 0.0.2-beta.6 → 0.0.2-beta.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/dist/alns/alns.d.ts +528 -0
  2. package/dist/alns/alns.d.ts.map +1 -0
  3. package/dist/alns/alns.js +238 -0
  4. package/dist/alns/alns.js.map +1 -0
  5. package/dist/gp/gp.d.ts +120 -120
  6. package/dist/gp/gp.d.ts.map +1 -1
  7. package/dist/gp/gp.js +7 -7
  8. package/dist/gp/gp.js.map +1 -1
  9. package/dist/index.d.ts +5 -2
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +8 -2
  12. package/dist/index.js.map +1 -1
  13. package/dist/lightgbm/lightgbm.d.ts +168 -168
  14. package/dist/lightning/lightning.d.ts +1501 -0
  15. package/dist/lightning/lightning.d.ts.map +1 -0
  16. package/dist/lightning/lightning.js +376 -0
  17. package/dist/lightning/lightning.js.map +1 -0
  18. package/dist/mads/mads.d.ts +103 -103
  19. package/dist/mads/mads.d.ts.map +1 -1
  20. package/dist/mads/mads.js +5 -5
  21. package/dist/mads/mads.js.map +1 -1
  22. package/dist/mapie/mapie.d.ts +2058 -0
  23. package/dist/mapie/mapie.d.ts.map +1 -0
  24. package/dist/mapie/mapie.js +411 -0
  25. package/dist/mapie/mapie.js.map +1 -0
  26. package/dist/ngboost/ngboost.d.ts +126 -126
  27. package/dist/ngboost/ngboost.d.ts.map +1 -1
  28. package/dist/ngboost/ngboost.js +3 -3
  29. package/dist/ngboost/ngboost.js.map +1 -1
  30. package/dist/optuna/optuna.d.ts +314 -314
  31. package/dist/scipy/scipy.d.ts +535 -429
  32. package/dist/scipy/scipy.d.ts.map +1 -1
  33. package/dist/scipy/scipy.js +56 -3
  34. package/dist/scipy/scipy.js.map +1 -1
  35. package/dist/shap/shap.d.ts +1152 -358
  36. package/dist/shap/shap.d.ts.map +1 -1
  37. package/dist/shap/shap.js +189 -16
  38. package/dist/shap/shap.js.map +1 -1
  39. package/dist/simanneal/simanneal.d.ts +148 -148
  40. package/dist/sklearn/sklearn.d.ts +3104 -1316
  41. package/dist/sklearn/sklearn.d.ts.map +1 -1
  42. package/dist/sklearn/sklearn.js +325 -64
  43. package/dist/sklearn/sklearn.js.map +1 -1
  44. package/dist/torch/torch.d.ts +503 -350
  45. package/dist/torch/torch.d.ts.map +1 -1
  46. package/dist/torch/torch.js +39 -17
  47. package/dist/torch/torch.js.map +1 -1
  48. package/dist/tsconfig.tsbuildinfo +1 -1
  49. package/dist/xgboost/xgboost.d.ts +803 -178
  50. package/dist/xgboost/xgboost.d.ts.map +1 -1
  51. package/dist/xgboost/xgboost.js +102 -1
  52. package/dist/xgboost/xgboost.js.map +1 -1
  53. package/package.json +4 -4
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @packageDocumentation
16
16
  */
17
- import { StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType } from "@elaraai/east";
17
+ import { StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, NullType } from "@elaraai/east";
18
18
  export { VectorType, ScalarObjectiveType } from "../types.js";
19
19
  /**
20
20
  * MADS optimization bounds.
@@ -23,9 +23,9 @@ export { VectorType, ScalarObjectiveType } from "../types.js";
23
23
  */
24
24
  export declare const MADSBoundsType: StructType<{
25
25
  /** Lower bounds for each dimension */
26
- lower: ArrayType<FloatType>;
26
+ readonly lower: ArrayType<FloatType>;
27
27
  /** Upper bounds for each dimension */
28
- upper: ArrayType<FloatType>;
28
+ readonly upper: ArrayType<FloatType>;
29
29
  }>;
30
30
  /**
31
31
  * MADS constraint type.
@@ -38,9 +38,9 @@ export declare const MADSBoundsType: StructType<{
38
38
  */
39
39
  export declare const MADSConstraintType: VariantType<{
40
40
  /** Extreme barrier constraint - infeasible points rejected */
41
- eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
41
+ readonly eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
42
42
  /** Progressive barrier constraint - temporary violations allowed */
43
- pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
43
+ readonly pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
44
44
  }>;
45
45
  /**
46
46
  * MADS direction type for poll step.
@@ -49,13 +49,13 @@ export declare const MADSConstraintType: VariantType<{
49
49
  */
50
50
  export declare const MADSDirectionType: VariantType<{
51
51
  /** ORTHO 2N: 2n orthogonal directions (default) */
52
- ortho_2n: StructType<{}>;
52
+ readonly ortho_2n: NullType;
53
53
  /** ORTHO N+1: n+1 directions forming a simplex */
54
- ortho_n_plus_1: StructType<{}>;
54
+ readonly ortho_n_plus_1: NullType;
55
55
  /** LT 2N: Lower triangular with 2n directions */
56
- lt_2n: StructType<{}>;
56
+ readonly lt_2n: NullType;
57
57
  /** Single direction */
58
- single: StructType<{}>;
58
+ readonly single: NullType;
59
59
  }>;
60
60
  /**
61
61
  * MADS optimization configuration.
@@ -64,26 +64,26 @@ export declare const MADSDirectionType: VariantType<{
64
64
  */
65
65
  export declare const MADSConfigType: StructType<{
66
66
  /** Maximum number of blackbox evaluations */
67
- max_bb_eval: OptionType<IntegerType>;
67
+ readonly max_bb_eval: OptionType<IntegerType>;
68
68
  /** Display verbosity level (0 = silent) */
69
- display_degree: OptionType<IntegerType>;
69
+ readonly display_degree: OptionType<IntegerType>;
70
70
  /** Direction type for poll step */
71
- direction_type: OptionType<VariantType<{
71
+ readonly direction_type: OptionType<VariantType<{
72
72
  /** ORTHO 2N: 2n orthogonal directions (default) */
73
- ortho_2n: StructType<{}>;
73
+ readonly ortho_2n: NullType;
74
74
  /** ORTHO N+1: n+1 directions forming a simplex */
75
- ortho_n_plus_1: StructType<{}>;
75
+ readonly ortho_n_plus_1: NullType;
76
76
  /** LT 2N: Lower triangular with 2n directions */
77
- lt_2n: StructType<{}>;
77
+ readonly lt_2n: NullType;
78
78
  /** Single direction */
79
- single: StructType<{}>;
79
+ readonly single: NullType;
80
80
  }>>;
81
81
  /** Initial mesh size */
82
- initial_mesh_size: OptionType<FloatType>;
82
+ readonly initial_mesh_size: OptionType<FloatType>;
83
83
  /** Minimum mesh size (stopping criterion) */
84
- min_mesh_size: OptionType<FloatType>;
84
+ readonly min_mesh_size: OptionType<FloatType>;
85
85
  /** Random seed for reproducibility */
86
- seed: OptionType<IntegerType>;
86
+ readonly seed: OptionType<IntegerType>;
87
87
  }>;
88
88
  /**
89
89
  * MADS single-objective optimization result.
@@ -92,13 +92,13 @@ export declare const MADSConfigType: StructType<{
92
92
  */
93
93
  export declare const MADSResultType: StructType<{
94
94
  /** Best solution vector found */
95
- x_best: ArrayType<FloatType>;
95
+ readonly x_best: ArrayType<FloatType>;
96
96
  /** Best objective value */
97
- f_best: FloatType;
97
+ readonly f_best: FloatType;
98
98
  /** Number of blackbox evaluations performed */
99
- bb_eval: IntegerType;
99
+ readonly bb_eval: IntegerType;
100
100
  /** Whether optimization succeeded */
101
- success: BooleanType;
101
+ readonly success: BooleanType;
102
102
  }>;
103
103
  /**
104
104
  * Single-objective MADS optimization with optional constraints.
@@ -144,45 +144,45 @@ export declare const MADSResultType: StructType<{
144
144
  */
145
145
  export declare const mads_optimize: import("@elaraai/east").PlatformDefinition<[import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>, ArrayType<FloatType>, StructType<{
146
146
  /** Lower bounds for each dimension */
147
- lower: ArrayType<FloatType>;
147
+ readonly lower: ArrayType<FloatType>;
148
148
  /** Upper bounds for each dimension */
149
- upper: ArrayType<FloatType>;
149
+ readonly upper: ArrayType<FloatType>;
150
150
  }>, OptionType<ArrayType<VariantType<{
151
151
  /** Extreme barrier constraint - infeasible points rejected */
152
- eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
152
+ readonly eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
153
153
  /** Progressive barrier constraint - temporary violations allowed */
154
- pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
154
+ readonly pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
155
155
  }>>>, StructType<{
156
156
  /** Maximum number of blackbox evaluations */
157
- max_bb_eval: OptionType<IntegerType>;
157
+ readonly max_bb_eval: OptionType<IntegerType>;
158
158
  /** Display verbosity level (0 = silent) */
159
- display_degree: OptionType<IntegerType>;
159
+ readonly display_degree: OptionType<IntegerType>;
160
160
  /** Direction type for poll step */
161
- direction_type: OptionType<VariantType<{
161
+ readonly direction_type: OptionType<VariantType<{
162
162
  /** ORTHO 2N: 2n orthogonal directions (default) */
163
- ortho_2n: StructType<{}>;
163
+ readonly ortho_2n: NullType;
164
164
  /** ORTHO N+1: n+1 directions forming a simplex */
165
- ortho_n_plus_1: StructType<{}>;
165
+ readonly ortho_n_plus_1: NullType;
166
166
  /** LT 2N: Lower triangular with 2n directions */
167
- lt_2n: StructType<{}>;
167
+ readonly lt_2n: NullType;
168
168
  /** Single direction */
169
- single: StructType<{}>;
169
+ readonly single: NullType;
170
170
  }>>;
171
171
  /** Initial mesh size */
172
- initial_mesh_size: OptionType<FloatType>;
172
+ readonly initial_mesh_size: OptionType<FloatType>;
173
173
  /** Minimum mesh size (stopping criterion) */
174
- min_mesh_size: OptionType<FloatType>;
174
+ readonly min_mesh_size: OptionType<FloatType>;
175
175
  /** Random seed for reproducibility */
176
- seed: OptionType<IntegerType>;
176
+ readonly seed: OptionType<IntegerType>;
177
177
  }>], StructType<{
178
178
  /** Best solution vector found */
179
- x_best: ArrayType<FloatType>;
179
+ readonly x_best: ArrayType<FloatType>;
180
180
  /** Best objective value */
181
- f_best: FloatType;
181
+ readonly f_best: FloatType;
182
182
  /** Number of blackbox evaluations performed */
183
- bb_eval: IntegerType;
183
+ readonly bb_eval: IntegerType;
184
184
  /** Whether optimization succeeded */
185
- success: BooleanType;
185
+ readonly success: BooleanType;
186
186
  }>>;
187
187
  /**
188
188
  * Type definitions for MADS optimization.
@@ -195,62 +195,62 @@ export declare const MADSTypes: {
195
195
  /** Bounds type with lower and upper vectors */
196
196
  readonly BoundsType: StructType<{
197
197
  /** Lower bounds for each dimension */
198
- lower: ArrayType<FloatType>;
198
+ readonly lower: ArrayType<FloatType>;
199
199
  /** Upper bounds for each dimension */
200
- upper: ArrayType<FloatType>;
200
+ readonly upper: ArrayType<FloatType>;
201
201
  }>;
202
202
  /** Constraint type (eb or pb variant) */
203
203
  readonly ConstraintType: VariantType<{
204
204
  /** Extreme barrier constraint - infeasible points rejected */
205
- eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
205
+ readonly eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
206
206
  /** Progressive barrier constraint - temporary violations allowed */
207
- pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
207
+ readonly pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
208
208
  }>;
209
209
  /** Direction type for poll step */
210
210
  readonly DirectionType: VariantType<{
211
211
  /** ORTHO 2N: 2n orthogonal directions (default) */
212
- ortho_2n: StructType<{}>;
212
+ readonly ortho_2n: NullType;
213
213
  /** ORTHO N+1: n+1 directions forming a simplex */
214
- ortho_n_plus_1: StructType<{}>;
214
+ readonly ortho_n_plus_1: NullType;
215
215
  /** LT 2N: Lower triangular with 2n directions */
216
- lt_2n: StructType<{}>;
216
+ readonly lt_2n: NullType;
217
217
  /** Single direction */
218
- single: StructType<{}>;
218
+ readonly single: NullType;
219
219
  }>;
220
220
  /** Configuration type */
221
221
  readonly ConfigType: StructType<{
222
222
  /** Maximum number of blackbox evaluations */
223
- max_bb_eval: OptionType<IntegerType>;
223
+ readonly max_bb_eval: OptionType<IntegerType>;
224
224
  /** Display verbosity level (0 = silent) */
225
- display_degree: OptionType<IntegerType>;
225
+ readonly display_degree: OptionType<IntegerType>;
226
226
  /** Direction type for poll step */
227
- direction_type: OptionType<VariantType<{
227
+ readonly direction_type: OptionType<VariantType<{
228
228
  /** ORTHO 2N: 2n orthogonal directions (default) */
229
- ortho_2n: StructType<{}>;
229
+ readonly ortho_2n: NullType;
230
230
  /** ORTHO N+1: n+1 directions forming a simplex */
231
- ortho_n_plus_1: StructType<{}>;
231
+ readonly ortho_n_plus_1: NullType;
232
232
  /** LT 2N: Lower triangular with 2n directions */
233
- lt_2n: StructType<{}>;
233
+ readonly lt_2n: NullType;
234
234
  /** Single direction */
235
- single: StructType<{}>;
235
+ readonly single: NullType;
236
236
  }>>;
237
237
  /** Initial mesh size */
238
- initial_mesh_size: OptionType<FloatType>;
238
+ readonly initial_mesh_size: OptionType<FloatType>;
239
239
  /** Minimum mesh size (stopping criterion) */
240
- min_mesh_size: OptionType<FloatType>;
240
+ readonly min_mesh_size: OptionType<FloatType>;
241
241
  /** Random seed for reproducibility */
242
- seed: OptionType<IntegerType>;
242
+ readonly seed: OptionType<IntegerType>;
243
243
  }>;
244
244
  /** Single-objective result type */
245
245
  readonly ResultType: StructType<{
246
246
  /** Best solution vector found */
247
- x_best: ArrayType<FloatType>;
247
+ readonly x_best: ArrayType<FloatType>;
248
248
  /** Best objective value */
249
- f_best: FloatType;
249
+ readonly f_best: FloatType;
250
250
  /** Number of blackbox evaluations performed */
251
- bb_eval: IntegerType;
251
+ readonly bb_eval: IntegerType;
252
252
  /** Whether optimization succeeded */
253
- success: BooleanType;
253
+ readonly success: BooleanType;
254
254
  }>;
255
255
  };
256
256
  /**
@@ -300,45 +300,45 @@ export declare const MADS: {
300
300
  */
301
301
  readonly optimize: import("@elaraai/east").PlatformDefinition<[import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>, ArrayType<FloatType>, StructType<{
302
302
  /** Lower bounds for each dimension */
303
- lower: ArrayType<FloatType>;
303
+ readonly lower: ArrayType<FloatType>;
304
304
  /** Upper bounds for each dimension */
305
- upper: ArrayType<FloatType>;
305
+ readonly upper: ArrayType<FloatType>;
306
306
  }>, OptionType<ArrayType<VariantType<{
307
307
  /** Extreme barrier constraint - infeasible points rejected */
308
- eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
308
+ readonly eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
309
309
  /** Progressive barrier constraint - temporary violations allowed */
310
- pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
310
+ readonly pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
311
311
  }>>>, StructType<{
312
312
  /** Maximum number of blackbox evaluations */
313
- max_bb_eval: OptionType<IntegerType>;
313
+ readonly max_bb_eval: OptionType<IntegerType>;
314
314
  /** Display verbosity level (0 = silent) */
315
- display_degree: OptionType<IntegerType>;
315
+ readonly display_degree: OptionType<IntegerType>;
316
316
  /** Direction type for poll step */
317
- direction_type: OptionType<VariantType<{
317
+ readonly direction_type: OptionType<VariantType<{
318
318
  /** ORTHO 2N: 2n orthogonal directions (default) */
319
- ortho_2n: StructType<{}>;
319
+ readonly ortho_2n: NullType;
320
320
  /** ORTHO N+1: n+1 directions forming a simplex */
321
- ortho_n_plus_1: StructType<{}>;
321
+ readonly ortho_n_plus_1: NullType;
322
322
  /** LT 2N: Lower triangular with 2n directions */
323
- lt_2n: StructType<{}>;
323
+ readonly lt_2n: NullType;
324
324
  /** Single direction */
325
- single: StructType<{}>;
325
+ readonly single: NullType;
326
326
  }>>;
327
327
  /** Initial mesh size */
328
- initial_mesh_size: OptionType<FloatType>;
328
+ readonly initial_mesh_size: OptionType<FloatType>;
329
329
  /** Minimum mesh size (stopping criterion) */
330
- min_mesh_size: OptionType<FloatType>;
330
+ readonly min_mesh_size: OptionType<FloatType>;
331
331
  /** Random seed for reproducibility */
332
- seed: OptionType<IntegerType>;
332
+ readonly seed: OptionType<IntegerType>;
333
333
  }>], StructType<{
334
334
  /** Best solution vector found */
335
- x_best: ArrayType<FloatType>;
335
+ readonly x_best: ArrayType<FloatType>;
336
336
  /** Best objective value */
337
- f_best: FloatType;
337
+ readonly f_best: FloatType;
338
338
  /** Number of blackbox evaluations performed */
339
- bb_eval: IntegerType;
339
+ readonly bb_eval: IntegerType;
340
340
  /** Whether optimization succeeded */
341
- success: BooleanType;
341
+ readonly success: BooleanType;
342
342
  }>>;
343
343
  /**
344
344
  * Type definitions for MADS functions.
@@ -351,62 +351,62 @@ export declare const MADS: {
351
351
  /** Bounds type with lower and upper vectors */
352
352
  readonly BoundsType: StructType<{
353
353
  /** Lower bounds for each dimension */
354
- lower: ArrayType<FloatType>;
354
+ readonly lower: ArrayType<FloatType>;
355
355
  /** Upper bounds for each dimension */
356
- upper: ArrayType<FloatType>;
356
+ readonly upper: ArrayType<FloatType>;
357
357
  }>;
358
358
  /** Constraint type (eb or pb variant) */
359
359
  readonly ConstraintType: VariantType<{
360
360
  /** Extreme barrier constraint - infeasible points rejected */
361
- eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
361
+ readonly eb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
362
362
  /** Progressive barrier constraint - temporary violations allowed */
363
- pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
363
+ readonly pb: import("@elaraai/east").FunctionType<[ArrayType<FloatType>], FloatType>;
364
364
  }>;
365
365
  /** Direction type for poll step */
366
366
  readonly DirectionType: VariantType<{
367
367
  /** ORTHO 2N: 2n orthogonal directions (default) */
368
- ortho_2n: StructType<{}>;
368
+ readonly ortho_2n: NullType;
369
369
  /** ORTHO N+1: n+1 directions forming a simplex */
370
- ortho_n_plus_1: StructType<{}>;
370
+ readonly ortho_n_plus_1: NullType;
371
371
  /** LT 2N: Lower triangular with 2n directions */
372
- lt_2n: StructType<{}>;
372
+ readonly lt_2n: NullType;
373
373
  /** Single direction */
374
- single: StructType<{}>;
374
+ readonly single: NullType;
375
375
  }>;
376
376
  /** Configuration type */
377
377
  readonly ConfigType: StructType<{
378
378
  /** Maximum number of blackbox evaluations */
379
- max_bb_eval: OptionType<IntegerType>;
379
+ readonly max_bb_eval: OptionType<IntegerType>;
380
380
  /** Display verbosity level (0 = silent) */
381
- display_degree: OptionType<IntegerType>;
381
+ readonly display_degree: OptionType<IntegerType>;
382
382
  /** Direction type for poll step */
383
- direction_type: OptionType<VariantType<{
383
+ readonly direction_type: OptionType<VariantType<{
384
384
  /** ORTHO 2N: 2n orthogonal directions (default) */
385
- ortho_2n: StructType<{}>;
385
+ readonly ortho_2n: NullType;
386
386
  /** ORTHO N+1: n+1 directions forming a simplex */
387
- ortho_n_plus_1: StructType<{}>;
387
+ readonly ortho_n_plus_1: NullType;
388
388
  /** LT 2N: Lower triangular with 2n directions */
389
- lt_2n: StructType<{}>;
389
+ readonly lt_2n: NullType;
390
390
  /** Single direction */
391
- single: StructType<{}>;
391
+ readonly single: NullType;
392
392
  }>>;
393
393
  /** Initial mesh size */
394
- initial_mesh_size: OptionType<FloatType>;
394
+ readonly initial_mesh_size: OptionType<FloatType>;
395
395
  /** Minimum mesh size (stopping criterion) */
396
- min_mesh_size: OptionType<FloatType>;
396
+ readonly min_mesh_size: OptionType<FloatType>;
397
397
  /** Random seed for reproducibility */
398
- seed: OptionType<IntegerType>;
398
+ readonly seed: OptionType<IntegerType>;
399
399
  }>;
400
400
  /** Single-objective result type */
401
401
  readonly ResultType: StructType<{
402
402
  /** Best solution vector found */
403
- x_best: ArrayType<FloatType>;
403
+ readonly x_best: ArrayType<FloatType>;
404
404
  /** Best objective value */
405
- f_best: FloatType;
405
+ readonly f_best: FloatType;
406
406
  /** Number of blackbox evaluations performed */
407
- bb_eval: IntegerType;
407
+ readonly bb_eval: IntegerType;
408
408
  /** Whether optimization succeeded */
409
- success: BooleanType;
409
+ readonly success: BooleanType;
410
410
  }>;
411
411
  };
412
412
  };
@@ -1 +1 @@
1
- {"version":3,"file":"mads.d.ts","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EAEH,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,E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;IAqIrC;;OAEG;;QAjEH,oCAAoC;;QAEpC,qCAAqC;;QAErC,+CAA+C;;YAhJ/C,sCAAsC;;YAEtC,sCAAsC;;;QAgJtC,yCAAyC;;YAlIzC,8DAA8D;;YAE9D,oEAAoE;;;QAkIpE,mCAAmC;;YAxHnC,mDAAmD;;YAEnD,kDAAkD;;YAElD,iDAAiD;;YAEjD,uBAAuB;;;QAoHvB,yBAAyB;;YA1GzB,6CAA6C;;YAE7C,2CAA2C;;YAE3C,mCAAmC;;gBApBnC,mDAAmD;;gBAEnD,kDAAkD;;gBAElD,iDAAiD;;gBAEjD,uBAAuB;;;YAgBvB,wBAAwB;;YAExB,6CAA6C;;YAE7C,sCAAsC;;;QAkGtC,mCAAmC;;YAxFnC,iCAAiC;;YAEjC,2BAA2B;;YAE3B,+CAA+C;;YAE/C,qCAAqC;;;;CA0I/B,CAAC"}
package/dist/mads/mads.js CHANGED
@@ -14,7 +14,7 @@
14
14
  *
15
15
  * @packageDocumentation
16
16
  */
17
- import { East, StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, } from "@elaraai/east";
17
+ import { East, StructType, VariantType, OptionType, ArrayType, IntegerType, BooleanType, FloatType, NullType, } from "@elaraai/east";
18
18
  import { VectorType, ScalarObjectiveType } from "../types.js";
19
19
  // Re-export shared types for convenience
20
20
  export { VectorType, ScalarObjectiveType } from "../types.js";
@@ -51,13 +51,13 @@ export const MADSConstraintType = VariantType({
51
51
  */
52
52
  export const MADSDirectionType = VariantType({
53
53
  /** ORTHO 2N: 2n orthogonal directions (default) */
54
- ortho_2n: StructType({}),
54
+ ortho_2n: NullType,
55
55
  /** ORTHO N+1: n+1 directions forming a simplex */
56
- ortho_n_plus_1: StructType({}),
56
+ ortho_n_plus_1: NullType,
57
57
  /** LT 2N: Lower triangular with 2n directions */
58
- lt_2n: StructType({}),
58
+ lt_2n: NullType,
59
59
  /** Single direction */
60
- single: StructType({}),
60
+ single: NullType,
61
61
  });
62
62
  /**
63
63
  * MADS optimization configuration.
@@ -1 +1 @@
1
- {"version":3,"file":"mads.js","sourceRoot":"","sources":["../../src/mads/mads.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH;;;;;;;;;;;GAWG;AAEH,OAAO,EACH,IAAI,EACJ,UAAU,EACV,WAAW,EACX,UAAU,EACV,SAAS,EACT,WAAW,EACX,WAAW,EACX,SAAS,GACZ,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D,yCAAyC;AACzC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAE9D;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACrC,sCAAsC;IACtC,KAAK,EAAE,UAAU;IACjB,sCAAsC;IACtC,KAAK,EAAE,UAAU;CACpB,CAAC,CAAC;AAEH;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAG,WAAW,CAAC;IAC1C,8DAA8D;IAC9D,EAAE,EAAE,mBAAmB;IACvB,oEAAoE;IACpE,EAAE,EAAE,mBAAmB;CAC1B,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,WAAW,CAAC;IACzC,mDAAmD;IACnD,QAAQ,EAAE,UAAU,CAAC,EAAE,CAAC;IACxB,kDAAkD;IAClD,cAAc,EAAE,UAAU,CAAC,EAAE,CAAC;IAC9B,iDAAiD;IACjD,KAAK,EAAE,UAAU,CAAC,EAAE,CAAC;IACrB,uBAAuB;IACvB,MAAM,EAAE,UAAU,CAAC,EAAE,CAAC;CACzB,CAAC,CAAC;AAEH;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,UAAU,CAAC;IACrC,6CAA6C;IAC7C,WAAW,EAAE,UAAU,CAAC,WAAW,CAAC;IACpC,2CAA2C;IAC3C,cAAc,EAAE,UAAU,CAAC,WAAW,CAAC;IACvC,mCAA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