@higher.archi/boe 1.0.0

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 (982) hide show
  1. package/dist/core/compilers/condition.compiler.d.ts +26 -0
  2. package/dist/core/compilers/condition.compiler.d.ts.map +1 -0
  3. package/dist/core/compilers/condition.compiler.js +159 -0
  4. package/dist/core/compilers/condition.compiler.js.map +1 -0
  5. package/dist/core/compilers/index.d.ts +5 -0
  6. package/dist/core/compilers/index.d.ts.map +1 -0
  7. package/dist/core/compilers/index.js +11 -0
  8. package/dist/core/compilers/index.js.map +1 -0
  9. package/dist/core/engine/engine.interface.d.ts +44 -0
  10. package/dist/core/engine/engine.interface.d.ts.map +1 -0
  11. package/dist/core/engine/engine.interface.js +10 -0
  12. package/dist/core/engine/engine.interface.js.map +1 -0
  13. package/dist/core/engine/index.d.ts +5 -0
  14. package/dist/core/engine/index.d.ts.map +1 -0
  15. package/dist/core/engine/index.js +6 -0
  16. package/dist/core/engine/index.js.map +1 -0
  17. package/dist/core/evaluation/condition.evaluator.d.ts +18 -0
  18. package/dist/core/evaluation/condition.evaluator.d.ts.map +1 -0
  19. package/dist/core/evaluation/condition.evaluator.js +179 -0
  20. package/dist/core/evaluation/condition.evaluator.js.map +1 -0
  21. package/dist/core/evaluation/index.d.ts +7 -0
  22. package/dist/core/evaluation/index.d.ts.map +1 -0
  23. package/dist/core/evaluation/index.js +19 -0
  24. package/dist/core/evaluation/index.js.map +1 -0
  25. package/dist/core/evaluation/temporal.d.ts +52 -0
  26. package/dist/core/evaluation/temporal.d.ts.map +1 -0
  27. package/dist/core/evaluation/temporal.js +166 -0
  28. package/dist/core/evaluation/temporal.js.map +1 -0
  29. package/dist/core/index.d.ts +25 -0
  30. package/dist/core/index.d.ts.map +1 -0
  31. package/dist/core/index.js +73 -0
  32. package/dist/core/index.js.map +1 -0
  33. package/dist/core/matching/activation.types.d.ts +11 -0
  34. package/dist/core/matching/activation.types.d.ts.map +1 -0
  35. package/dist/core/matching/activation.types.js +6 -0
  36. package/dist/core/matching/activation.types.js.map +1 -0
  37. package/dist/core/matching/index.d.ts +6 -0
  38. package/dist/core/matching/index.d.ts.map +1 -0
  39. package/dist/core/matching/index.js +10 -0
  40. package/dist/core/matching/index.js.map +1 -0
  41. package/dist/core/matching/matcher.d.ts +17 -0
  42. package/dist/core/matching/matcher.d.ts.map +1 -0
  43. package/dist/core/matching/matcher.js +93 -0
  44. package/dist/core/matching/matcher.js.map +1 -0
  45. package/dist/core/memory/index.d.ts +6 -0
  46. package/dist/core/memory/index.d.ts.map +1 -0
  47. package/dist/core/memory/index.js +9 -0
  48. package/dist/core/memory/index.js.map +1 -0
  49. package/dist/core/memory/working-memory.d.ts +26 -0
  50. package/dist/core/memory/working-memory.d.ts.map +1 -0
  51. package/dist/core/memory/working-memory.interface.d.ts +84 -0
  52. package/dist/core/memory/working-memory.interface.d.ts.map +1 -0
  53. package/dist/core/memory/working-memory.interface.js +6 -0
  54. package/dist/core/memory/working-memory.interface.js.map +1 -0
  55. package/dist/core/memory/working-memory.js +102 -0
  56. package/dist/core/memory/working-memory.js.map +1 -0
  57. package/dist/core/operators/adapters/context.adapter.d.ts +32 -0
  58. package/dist/core/operators/adapters/context.adapter.d.ts.map +1 -0
  59. package/dist/core/operators/adapters/context.adapter.js +36 -0
  60. package/dist/core/operators/adapters/context.adapter.js.map +1 -0
  61. package/dist/core/operators/adapters/index.d.ts +9 -0
  62. package/dist/core/operators/adapters/index.d.ts.map +1 -0
  63. package/dist/core/operators/adapters/index.js +22 -0
  64. package/dist/core/operators/adapters/index.js.map +1 -0
  65. package/dist/core/operators/adapters/operator.adapter.d.ts +94 -0
  66. package/dist/core/operators/adapters/operator.adapter.d.ts.map +1 -0
  67. package/dist/core/operators/adapters/operator.adapter.js +156 -0
  68. package/dist/core/operators/adapters/operator.adapter.js.map +1 -0
  69. package/dist/core/operators/arithmetic/add.d.ts +17 -0
  70. package/dist/core/operators/arithmetic/add.d.ts.map +1 -0
  71. package/dist/core/operators/arithmetic/add.js +35 -0
  72. package/dist/core/operators/arithmetic/add.js.map +1 -0
  73. package/dist/core/operators/arithmetic/average.d.ts +13 -0
  74. package/dist/core/operators/arithmetic/average.d.ts.map +1 -0
  75. package/dist/core/operators/arithmetic/average.js +21 -0
  76. package/dist/core/operators/arithmetic/average.js.map +1 -0
  77. package/dist/core/operators/arithmetic/divide.d.ts +17 -0
  78. package/dist/core/operators/arithmetic/divide.d.ts.map +1 -0
  79. package/dist/core/operators/arithmetic/divide.js +33 -0
  80. package/dist/core/operators/arithmetic/divide.js.map +1 -0
  81. package/dist/core/operators/arithmetic/index.d.ts +20 -0
  82. package/dist/core/operators/arithmetic/index.d.ts.map +1 -0
  83. package/dist/core/operators/arithmetic/index.js +59 -0
  84. package/dist/core/operators/arithmetic/index.js.map +1 -0
  85. package/dist/core/operators/arithmetic/min-max.d.ts +25 -0
  86. package/dist/core/operators/arithmetic/min-max.d.ts.map +1 -0
  87. package/dist/core/operators/arithmetic/min-max.js +51 -0
  88. package/dist/core/operators/arithmetic/min-max.js.map +1 -0
  89. package/dist/core/operators/arithmetic/multiply.d.ts +17 -0
  90. package/dist/core/operators/arithmetic/multiply.d.ts.map +1 -0
  91. package/dist/core/operators/arithmetic/multiply.js +31 -0
  92. package/dist/core/operators/arithmetic/multiply.js.map +1 -0
  93. package/dist/core/operators/arithmetic/number-checks.d.ts +41 -0
  94. package/dist/core/operators/arithmetic/number-checks.d.ts.map +1 -0
  95. package/dist/core/operators/arithmetic/number-checks.js +84 -0
  96. package/dist/core/operators/arithmetic/number-checks.js.map +1 -0
  97. package/dist/core/operators/arithmetic/power.d.ts +17 -0
  98. package/dist/core/operators/arithmetic/power.d.ts.map +1 -0
  99. package/dist/core/operators/arithmetic/power.js +31 -0
  100. package/dist/core/operators/arithmetic/power.js.map +1 -0
  101. package/dist/core/operators/arithmetic/rounding.d.ts +29 -0
  102. package/dist/core/operators/arithmetic/rounding.d.ts.map +1 -0
  103. package/dist/core/operators/arithmetic/rounding.js +59 -0
  104. package/dist/core/operators/arithmetic/rounding.js.map +1 -0
  105. package/dist/core/operators/arithmetic/subtract.d.ts +17 -0
  106. package/dist/core/operators/arithmetic/subtract.d.ts.map +1 -0
  107. package/dist/core/operators/arithmetic/subtract.js +32 -0
  108. package/dist/core/operators/arithmetic/subtract.js.map +1 -0
  109. package/dist/core/operators/array/contains.d.ts +29 -0
  110. package/dist/core/operators/array/contains.d.ts.map +1 -0
  111. package/dist/core/operators/array/contains.js +61 -0
  112. package/dist/core/operators/array/contains.js.map +1 -0
  113. package/dist/core/operators/array/index.d.ts +12 -0
  114. package/dist/core/operators/array/index.d.ts.map +1 -0
  115. package/dist/core/operators/array/index.js +35 -0
  116. package/dist/core/operators/array/index.js.map +1 -0
  117. package/dist/core/operators/comparison/approximately-equals.d.ts +17 -0
  118. package/dist/core/operators/comparison/approximately-equals.d.ts.map +1 -0
  119. package/dist/core/operators/comparison/approximately-equals.js +35 -0
  120. package/dist/core/operators/comparison/approximately-equals.js.map +1 -0
  121. package/dist/core/operators/comparison/equals.d.ts +18 -0
  122. package/dist/core/operators/comparison/equals.d.ts.map +1 -0
  123. package/dist/core/operators/comparison/equals.js +40 -0
  124. package/dist/core/operators/comparison/equals.js.map +1 -0
  125. package/dist/core/operators/comparison/greater-than.d.ts +18 -0
  126. package/dist/core/operators/comparison/greater-than.d.ts.map +1 -0
  127. package/dist/core/operators/comparison/greater-than.js +42 -0
  128. package/dist/core/operators/comparison/greater-than.js.map +1 -0
  129. package/dist/core/operators/comparison/index.d.ts +17 -0
  130. package/dist/core/operators/comparison/index.d.ts.map +1 -0
  131. package/dist/core/operators/comparison/index.js +50 -0
  132. package/dist/core/operators/comparison/index.js.map +1 -0
  133. package/dist/core/operators/comparison/less-than.d.ts +18 -0
  134. package/dist/core/operators/comparison/less-than.d.ts.map +1 -0
  135. package/dist/core/operators/comparison/less-than.js +42 -0
  136. package/dist/core/operators/comparison/less-than.js.map +1 -0
  137. package/dist/core/operators/comparison/not-equals.d.ts +18 -0
  138. package/dist/core/operators/comparison/not-equals.d.ts.map +1 -0
  139. package/dist/core/operators/comparison/not-equals.js +40 -0
  140. package/dist/core/operators/comparison/not-equals.js.map +1 -0
  141. package/dist/core/operators/comparison/nullish.d.ts +45 -0
  142. package/dist/core/operators/comparison/nullish.d.ts.map +1 -0
  143. package/dist/core/operators/comparison/nullish.js +110 -0
  144. package/dist/core/operators/comparison/nullish.js.map +1 -0
  145. package/dist/core/operators/date/arithmetic.d.ts +24 -0
  146. package/dist/core/operators/date/arithmetic.d.ts.map +1 -0
  147. package/dist/core/operators/date/arithmetic.js +170 -0
  148. package/dist/core/operators/date/arithmetic.js.map +1 -0
  149. package/dist/core/operators/date/boundaries.d.ts +18 -0
  150. package/dist/core/operators/date/boundaries.d.ts.map +1 -0
  151. package/dist/core/operators/date/boundaries.js +115 -0
  152. package/dist/core/operators/date/boundaries.js.map +1 -0
  153. package/dist/core/operators/date/checks.d.ts +16 -0
  154. package/dist/core/operators/date/checks.d.ts.map +1 -0
  155. package/dist/core/operators/date/checks.js +81 -0
  156. package/dist/core/operators/date/checks.js.map +1 -0
  157. package/dist/core/operators/date/comparisons.d.ts +16 -0
  158. package/dist/core/operators/date/comparisons.d.ts.map +1 -0
  159. package/dist/core/operators/date/comparisons.js +86 -0
  160. package/dist/core/operators/date/comparisons.js.map +1 -0
  161. package/dist/core/operators/date/constants.d.ts +38 -0
  162. package/dist/core/operators/date/constants.d.ts.map +1 -0
  163. package/dist/core/operators/date/constants.js +82 -0
  164. package/dist/core/operators/date/constants.js.map +1 -0
  165. package/dist/core/operators/date/differences.d.ts +18 -0
  166. package/dist/core/operators/date/differences.d.ts.map +1 -0
  167. package/dist/core/operators/date/differences.js +105 -0
  168. package/dist/core/operators/date/differences.js.map +1 -0
  169. package/dist/core/operators/date/extraction.d.ts +19 -0
  170. package/dist/core/operators/date/extraction.d.ts.map +1 -0
  171. package/dist/core/operators/date/extraction.js +98 -0
  172. package/dist/core/operators/date/extraction.js.map +1 -0
  173. package/dist/core/operators/date/generators.d.ts +24 -0
  174. package/dist/core/operators/date/generators.d.ts.map +1 -0
  175. package/dist/core/operators/date/generators.js +156 -0
  176. package/dist/core/operators/date/generators.js.map +1 -0
  177. package/dist/core/operators/date/index.d.ts +31 -0
  178. package/dist/core/operators/date/index.d.ts.map +1 -0
  179. package/dist/core/operators/date/index.js +80 -0
  180. package/dist/core/operators/date/index.js.map +1 -0
  181. package/dist/core/operators/date/range.d.ts +17 -0
  182. package/dist/core/operators/date/range.d.ts.map +1 -0
  183. package/dist/core/operators/date/range.js +34 -0
  184. package/dist/core/operators/date/range.js.map +1 -0
  185. package/dist/core/operators/evaluator.d.ts +71 -0
  186. package/dist/core/operators/evaluator.d.ts.map +1 -0
  187. package/dist/core/operators/evaluator.js +186 -0
  188. package/dist/core/operators/evaluator.js.map +1 -0
  189. package/dist/core/operators/examples.d.ts +8 -0
  190. package/dist/core/operators/examples.d.ts.map +1 -0
  191. package/dist/core/operators/examples.js +184 -0
  192. package/dist/core/operators/examples.js.map +1 -0
  193. package/dist/core/operators/index.d.ts +82 -0
  194. package/dist/core/operators/index.d.ts.map +1 -0
  195. package/dist/core/operators/index.js +142 -0
  196. package/dist/core/operators/index.js.map +1 -0
  197. package/dist/core/operators/logical/and.d.ts +13 -0
  198. package/dist/core/operators/logical/and.d.ts.map +1 -0
  199. package/dist/core/operators/logical/and.js +21 -0
  200. package/dist/core/operators/logical/and.js.map +1 -0
  201. package/dist/core/operators/logical/if.d.ts +19 -0
  202. package/dist/core/operators/logical/if.d.ts.map +1 -0
  203. package/dist/core/operators/logical/if.js +27 -0
  204. package/dist/core/operators/logical/if.js.map +1 -0
  205. package/dist/core/operators/logical/index.d.ts +16 -0
  206. package/dist/core/operators/logical/index.d.ts.map +1 -0
  207. package/dist/core/operators/logical/index.js +47 -0
  208. package/dist/core/operators/logical/index.js.map +1 -0
  209. package/dist/core/operators/logical/not.d.ts +13 -0
  210. package/dist/core/operators/logical/not.d.ts.map +1 -0
  211. package/dist/core/operators/logical/not.js +21 -0
  212. package/dist/core/operators/logical/not.js.map +1 -0
  213. package/dist/core/operators/logical/or.d.ts +13 -0
  214. package/dist/core/operators/logical/or.d.ts.map +1 -0
  215. package/dist/core/operators/logical/or.js +21 -0
  216. package/dist/core/operators/logical/or.js.map +1 -0
  217. package/dist/core/operators/logical/xor.d.ts +17 -0
  218. package/dist/core/operators/logical/xor.d.ts.map +1 -0
  219. package/dist/core/operators/logical/xor.js +31 -0
  220. package/dist/core/operators/logical/xor.js.map +1 -0
  221. package/dist/core/operators/operator.d.ts +171 -0
  222. package/dist/core/operators/operator.d.ts.map +1 -0
  223. package/dist/core/operators/operator.js +230 -0
  224. package/dist/core/operators/operator.js.map +1 -0
  225. package/dist/core/operators/phonetic/caverphone.d.ts +17 -0
  226. package/dist/core/operators/phonetic/caverphone.d.ts.map +1 -0
  227. package/dist/core/operators/phonetic/caverphone.js +31 -0
  228. package/dist/core/operators/phonetic/caverphone.js.map +1 -0
  229. package/dist/core/operators/phonetic/index.d.ts +14 -0
  230. package/dist/core/operators/phonetic/index.d.ts.map +1 -0
  231. package/dist/core/operators/phonetic/index.js +41 -0
  232. package/dist/core/operators/phonetic/index.js.map +1 -0
  233. package/dist/core/operators/phonetic/nysiis.d.ts +17 -0
  234. package/dist/core/operators/phonetic/nysiis.d.ts.map +1 -0
  235. package/dist/core/operators/phonetic/nysiis.js +31 -0
  236. package/dist/core/operators/phonetic/nysiis.js.map +1 -0
  237. package/dist/core/operators/phonetic/soundex.d.ts +17 -0
  238. package/dist/core/operators/phonetic/soundex.d.ts.map +1 -0
  239. package/dist/core/operators/phonetic/soundex.js +32 -0
  240. package/dist/core/operators/phonetic/soundex.js.map +1 -0
  241. package/dist/core/operators/registry.d.ts +89 -0
  242. package/dist/core/operators/registry.d.ts.map +1 -0
  243. package/dist/core/operators/registry.js +217 -0
  244. package/dist/core/operators/registry.js.map +1 -0
  245. package/dist/core/operators/similarity/cosine.d.ts +13 -0
  246. package/dist/core/operators/similarity/cosine.d.ts.map +1 -0
  247. package/dist/core/operators/similarity/cosine.js +23 -0
  248. package/dist/core/operators/similarity/cosine.js.map +1 -0
  249. package/dist/core/operators/similarity/index.d.ts +12 -0
  250. package/dist/core/operators/similarity/index.d.ts.map +1 -0
  251. package/dist/core/operators/similarity/index.js +35 -0
  252. package/dist/core/operators/similarity/index.js.map +1 -0
  253. package/dist/core/operators/string/contains.d.ts +17 -0
  254. package/dist/core/operators/string/contains.d.ts.map +1 -0
  255. package/dist/core/operators/string/contains.js +33 -0
  256. package/dist/core/operators/string/contains.js.map +1 -0
  257. package/dist/core/operators/string/empty.d.ts +21 -0
  258. package/dist/core/operators/string/empty.d.ts.map +1 -0
  259. package/dist/core/operators/string/empty.js +41 -0
  260. package/dist/core/operators/string/empty.js.map +1 -0
  261. package/dist/core/operators/string/ends-with.d.ts +17 -0
  262. package/dist/core/operators/string/ends-with.d.ts.map +1 -0
  263. package/dist/core/operators/string/ends-with.js +31 -0
  264. package/dist/core/operators/string/ends-with.js.map +1 -0
  265. package/dist/core/operators/string/index.d.ts +16 -0
  266. package/dist/core/operators/string/index.d.ts.map +1 -0
  267. package/dist/core/operators/string/index.js +47 -0
  268. package/dist/core/operators/string/index.js.map +1 -0
  269. package/dist/core/operators/string/regex.d.ts +17 -0
  270. package/dist/core/operators/string/regex.d.ts.map +1 -0
  271. package/dist/core/operators/string/regex.js +33 -0
  272. package/dist/core/operators/string/regex.js.map +1 -0
  273. package/dist/core/operators/string/starts-with.d.ts +17 -0
  274. package/dist/core/operators/string/starts-with.d.ts.map +1 -0
  275. package/dist/core/operators/string/starts-with.js +31 -0
  276. package/dist/core/operators/string/starts-with.js.map +1 -0
  277. package/dist/core/operators/transform/case.d.ts +25 -0
  278. package/dist/core/operators/transform/case.d.ts.map +1 -0
  279. package/dist/core/operators/transform/case.js +54 -0
  280. package/dist/core/operators/transform/case.js.map +1 -0
  281. package/dist/core/operators/transform/concat.d.ts +21 -0
  282. package/dist/core/operators/transform/concat.d.ts.map +1 -0
  283. package/dist/core/operators/transform/concat.js +40 -0
  284. package/dist/core/operators/transform/concat.js.map +1 -0
  285. package/dist/core/operators/transform/index.d.ts +18 -0
  286. package/dist/core/operators/transform/index.d.ts.map +1 -0
  287. package/dist/core/operators/transform/index.js +53 -0
  288. package/dist/core/operators/transform/index.js.map +1 -0
  289. package/dist/core/operators/transform/length.d.ts +17 -0
  290. package/dist/core/operators/transform/length.d.ts.map +1 -0
  291. package/dist/core/operators/transform/length.js +35 -0
  292. package/dist/core/operators/transform/length.js.map +1 -0
  293. package/dist/core/operators/transform/pad.d.ts +17 -0
  294. package/dist/core/operators/transform/pad.d.ts.map +1 -0
  295. package/dist/core/operators/transform/pad.js +31 -0
  296. package/dist/core/operators/transform/pad.js.map +1 -0
  297. package/dist/core/operators/transform/replace.d.ts +17 -0
  298. package/dist/core/operators/transform/replace.d.ts.map +1 -0
  299. package/dist/core/operators/transform/replace.js +29 -0
  300. package/dist/core/operators/transform/replace.js.map +1 -0
  301. package/dist/core/operators/transform/substring.d.ts +25 -0
  302. package/dist/core/operators/transform/substring.d.ts.map +1 -0
  303. package/dist/core/operators/transform/substring.js +50 -0
  304. package/dist/core/operators/transform/substring.js.map +1 -0
  305. package/dist/core/operators/transform/trim.d.ts +21 -0
  306. package/dist/core/operators/transform/trim.d.ts.map +1 -0
  307. package/dist/core/operators/transform/trim.js +40 -0
  308. package/dist/core/operators/transform/trim.js.map +1 -0
  309. package/dist/core/operators/types.d.ts +109 -0
  310. package/dist/core/operators/types.d.ts.map +1 -0
  311. package/dist/core/operators/types.js +9 -0
  312. package/dist/core/operators/types.js.map +1 -0
  313. package/dist/core/parser/errors.d.ts +50 -0
  314. package/dist/core/parser/errors.d.ts.map +1 -0
  315. package/dist/core/parser/errors.js +77 -0
  316. package/dist/core/parser/errors.js.map +1 -0
  317. package/dist/core/parser/index.d.ts +73 -0
  318. package/dist/core/parser/index.d.ts.map +1 -0
  319. package/dist/core/parser/index.js +120 -0
  320. package/dist/core/parser/index.js.map +1 -0
  321. package/dist/core/parser/operators/aliases.d.ts +50 -0
  322. package/dist/core/parser/operators/aliases.d.ts.map +1 -0
  323. package/dist/core/parser/operators/aliases.js +288 -0
  324. package/dist/core/parser/operators/aliases.js.map +1 -0
  325. package/dist/core/parser/operators/index.d.ts +17 -0
  326. package/dist/core/parser/operators/index.d.ts.map +1 -0
  327. package/dist/core/parser/operators/index.js +34 -0
  328. package/dist/core/parser/operators/index.js.map +1 -0
  329. package/dist/core/parser/operators/operator-table.d.ts +33 -0
  330. package/dist/core/parser/operators/operator-table.d.ts.map +1 -0
  331. package/dist/core/parser/operators/operator-table.js +91 -0
  332. package/dist/core/parser/operators/operator-table.js.map +1 -0
  333. package/dist/core/parser/operators/precedence.d.ts +58 -0
  334. package/dist/core/parser/operators/precedence.d.ts.map +1 -0
  335. package/dist/core/parser/operators/precedence.js +76 -0
  336. package/dist/core/parser/operators/precedence.js.map +1 -0
  337. package/dist/core/parser/parser/expression.parser.d.ts +34 -0
  338. package/dist/core/parser/parser/expression.parser.d.ts.map +1 -0
  339. package/dist/core/parser/parser/expression.parser.js +250 -0
  340. package/dist/core/parser/parser/expression.parser.js.map +1 -0
  341. package/dist/core/parser/parser/function.parser.d.ts +26 -0
  342. package/dist/core/parser/parser/function.parser.d.ts.map +1 -0
  343. package/dist/core/parser/parser/function.parser.js +86 -0
  344. package/dist/core/parser/parser/function.parser.js.map +1 -0
  345. package/dist/core/parser/parser/index.d.ts +19 -0
  346. package/dist/core/parser/parser/index.d.ts.map +1 -0
  347. package/dist/core/parser/parser/index.js +24 -0
  348. package/dist/core/parser/parser/index.js.map +1 -0
  349. package/dist/core/parser/parser/primary.parser.d.ts +17 -0
  350. package/dist/core/parser/parser/primary.parser.d.ts.map +1 -0
  351. package/dist/core/parser/parser/primary.parser.js +110 -0
  352. package/dist/core/parser/parser/primary.parser.js.map +1 -0
  353. package/dist/core/parser/parser/types.d.ts +36 -0
  354. package/dist/core/parser/parser/types.d.ts.map +1 -0
  355. package/dist/core/parser/parser/types.js +3 -0
  356. package/dist/core/parser/parser/types.js.map +1 -0
  357. package/dist/core/parser/tokenizer/index.d.ts +32 -0
  358. package/dist/core/parser/tokenizer/index.d.ts.map +1 -0
  359. package/dist/core/parser/tokenizer/index.js +68 -0
  360. package/dist/core/parser/tokenizer/index.js.map +1 -0
  361. package/dist/core/parser/tokenizer/readers/identifier.reader.d.ts +30 -0
  362. package/dist/core/parser/tokenizer/readers/identifier.reader.d.ts.map +1 -0
  363. package/dist/core/parser/tokenizer/readers/identifier.reader.js +109 -0
  364. package/dist/core/parser/tokenizer/readers/identifier.reader.js.map +1 -0
  365. package/dist/core/parser/tokenizer/readers/index.d.ts +20 -0
  366. package/dist/core/parser/tokenizer/readers/index.d.ts.map +1 -0
  367. package/dist/core/parser/tokenizer/readers/index.js +29 -0
  368. package/dist/core/parser/tokenizer/readers/index.js.map +1 -0
  369. package/dist/core/parser/tokenizer/readers/number.reader.d.ts +43 -0
  370. package/dist/core/parser/tokenizer/readers/number.reader.d.ts.map +1 -0
  371. package/dist/core/parser/tokenizer/readers/number.reader.js +115 -0
  372. package/dist/core/parser/tokenizer/readers/number.reader.js.map +1 -0
  373. package/dist/core/parser/tokenizer/readers/property-ref.reader.d.ts +20 -0
  374. package/dist/core/parser/tokenizer/readers/property-ref.reader.d.ts.map +1 -0
  375. package/dist/core/parser/tokenizer/readers/property-ref.reader.js +114 -0
  376. package/dist/core/parser/tokenizer/readers/property-ref.reader.js.map +1 -0
  377. package/dist/core/parser/tokenizer/readers/string.reader.d.ts +22 -0
  378. package/dist/core/parser/tokenizer/readers/string.reader.d.ts.map +1 -0
  379. package/dist/core/parser/tokenizer/readers/string.reader.js +93 -0
  380. package/dist/core/parser/tokenizer/readers/string.reader.js.map +1 -0
  381. package/dist/core/parser/tokenizer/readers/symbol.reader.d.ts +22 -0
  382. package/dist/core/parser/tokenizer/readers/symbol.reader.d.ts.map +1 -0
  383. package/dist/core/parser/tokenizer/readers/symbol.reader.js +107 -0
  384. package/dist/core/parser/tokenizer/readers/symbol.reader.js.map +1 -0
  385. package/dist/core/parser/tokenizer/readers/whitespace.reader.d.ts +12 -0
  386. package/dist/core/parser/tokenizer/readers/whitespace.reader.d.ts.map +1 -0
  387. package/dist/core/parser/tokenizer/readers/whitespace.reader.js +20 -0
  388. package/dist/core/parser/tokenizer/readers/whitespace.reader.js.map +1 -0
  389. package/dist/core/parser/tokenizer/scanner.d.ts +74 -0
  390. package/dist/core/parser/tokenizer/scanner.d.ts.map +1 -0
  391. package/dist/core/parser/tokenizer/scanner.js +137 -0
  392. package/dist/core/parser/tokenizer/scanner.js.map +1 -0
  393. package/dist/core/parser/tokenizer/types.d.ts +55 -0
  394. package/dist/core/parser/tokenizer/types.d.ts.map +1 -0
  395. package/dist/core/parser/tokenizer/types.js +3 -0
  396. package/dist/core/parser/tokenizer/types.js.map +1 -0
  397. package/dist/core/parser/types.d.ts +83 -0
  398. package/dist/core/parser/types.d.ts.map +1 -0
  399. package/dist/core/parser/types.js +3 -0
  400. package/dist/core/parser/types.js.map +1 -0
  401. package/dist/core/refraction/index.d.ts +5 -0
  402. package/dist/core/refraction/index.d.ts.map +1 -0
  403. package/dist/core/refraction/index.js +9 -0
  404. package/dist/core/refraction/index.js.map +1 -0
  405. package/dist/core/refraction/refraction.d.ts +28 -0
  406. package/dist/core/refraction/refraction.d.ts.map +1 -0
  407. package/dist/core/refraction/refraction.js +62 -0
  408. package/dist/core/refraction/refraction.js.map +1 -0
  409. package/dist/core/resolution/conflict-resolver.d.ts +12 -0
  410. package/dist/core/resolution/conflict-resolver.d.ts.map +1 -0
  411. package/dist/core/resolution/conflict-resolver.js +57 -0
  412. package/dist/core/resolution/conflict-resolver.js.map +1 -0
  413. package/dist/core/resolution/index.d.ts +5 -0
  414. package/dist/core/resolution/index.d.ts.map +1 -0
  415. package/dist/core/resolution/index.js +10 -0
  416. package/dist/core/resolution/index.js.map +1 -0
  417. package/dist/core/shapes/index.d.ts +5 -0
  418. package/dist/core/shapes/index.d.ts.map +1 -0
  419. package/dist/core/shapes/index.js +9 -0
  420. package/dist/core/shapes/index.js.map +1 -0
  421. package/dist/core/shapes/shape.normalizer.d.ts +6 -0
  422. package/dist/core/shapes/shape.normalizer.d.ts.map +1 -0
  423. package/dist/core/shapes/shape.normalizer.js +61 -0
  424. package/dist/core/shapes/shape.normalizer.js.map +1 -0
  425. package/dist/core/types/condition.d.ts +87 -0
  426. package/dist/core/types/condition.d.ts.map +1 -0
  427. package/dist/core/types/condition.js +6 -0
  428. package/dist/core/types/condition.js.map +1 -0
  429. package/dist/core/types/fact.d.ts +23 -0
  430. package/dist/core/types/fact.d.ts.map +1 -0
  431. package/dist/core/types/fact.js +6 -0
  432. package/dist/core/types/fact.js.map +1 -0
  433. package/dist/core/types/index.d.ts +8 -0
  434. package/dist/core/types/index.d.ts.map +1 -0
  435. package/dist/core/types/index.js +6 -0
  436. package/dist/core/types/index.js.map +1 -0
  437. package/dist/core/types/rule.d.ts +72 -0
  438. package/dist/core/types/rule.d.ts.map +1 -0
  439. package/dist/core/types/rule.js +8 -0
  440. package/dist/core/types/rule.js.map +1 -0
  441. package/dist/core/types/schema.d.ts +16 -0
  442. package/dist/core/types/schema.d.ts.map +1 -0
  443. package/dist/core/types/schema.js +6 -0
  444. package/dist/core/types/schema.js.map +1 -0
  445. package/dist/engines/backward/compiler.d.ts +7 -0
  446. package/dist/engines/backward/compiler.d.ts.map +1 -0
  447. package/dist/engines/backward/compiler.js +94 -0
  448. package/dist/engines/backward/compiler.js.map +1 -0
  449. package/dist/engines/backward/engine.d.ts +54 -0
  450. package/dist/engines/backward/engine.d.ts.map +1 -0
  451. package/dist/engines/backward/engine.js +96 -0
  452. package/dist/engines/backward/engine.js.map +1 -0
  453. package/dist/engines/backward/index.d.ts +12 -0
  454. package/dist/engines/backward/index.d.ts.map +1 -0
  455. package/dist/engines/backward/index.js +22 -0
  456. package/dist/engines/backward/index.js.map +1 -0
  457. package/dist/engines/backward/strategy.d.ts +37 -0
  458. package/dist/engines/backward/strategy.d.ts.map +1 -0
  459. package/dist/engines/backward/strategy.js +161 -0
  460. package/dist/engines/backward/strategy.js.map +1 -0
  461. package/dist/engines/backward/types.d.ts +97 -0
  462. package/dist/engines/backward/types.d.ts.map +1 -0
  463. package/dist/engines/backward/types.js +6 -0
  464. package/dist/engines/backward/types.js.map +1 -0
  465. package/dist/engines/bayesian/compiler.d.ts +22 -0
  466. package/dist/engines/bayesian/compiler.d.ts.map +1 -0
  467. package/dist/engines/bayesian/compiler.js +308 -0
  468. package/dist/engines/bayesian/compiler.js.map +1 -0
  469. package/dist/engines/bayesian/engine.d.ts +53 -0
  470. package/dist/engines/bayesian/engine.d.ts.map +1 -0
  471. package/dist/engines/bayesian/engine.js +95 -0
  472. package/dist/engines/bayesian/engine.js.map +1 -0
  473. package/dist/engines/bayesian/index.d.ts +11 -0
  474. package/dist/engines/bayesian/index.d.ts.map +1 -0
  475. package/dist/engines/bayesian/index.js +26 -0
  476. package/dist/engines/bayesian/index.js.map +1 -0
  477. package/dist/engines/bayesian/strategy.d.ts +13 -0
  478. package/dist/engines/bayesian/strategy.d.ts.map +1 -0
  479. package/dist/engines/bayesian/strategy.js +213 -0
  480. package/dist/engines/bayesian/strategy.js.map +1 -0
  481. package/dist/engines/bayesian/types.d.ts +145 -0
  482. package/dist/engines/bayesian/types.d.ts.map +1 -0
  483. package/dist/engines/bayesian/types.js +25 -0
  484. package/dist/engines/bayesian/types.js.map +1 -0
  485. package/dist/engines/constraint/compiler.d.ts +9 -0
  486. package/dist/engines/constraint/compiler.d.ts.map +1 -0
  487. package/dist/engines/constraint/compiler.js +188 -0
  488. package/dist/engines/constraint/compiler.js.map +1 -0
  489. package/dist/engines/constraint/engine.d.ts +95 -0
  490. package/dist/engines/constraint/engine.d.ts.map +1 -0
  491. package/dist/engines/constraint/engine.js +144 -0
  492. package/dist/engines/constraint/engine.js.map +1 -0
  493. package/dist/engines/constraint/index.d.ts +11 -0
  494. package/dist/engines/constraint/index.d.ts.map +1 -0
  495. package/dist/engines/constraint/index.js +36 -0
  496. package/dist/engines/constraint/index.js.map +1 -0
  497. package/dist/engines/constraint/strategy.d.ts +22 -0
  498. package/dist/engines/constraint/strategy.d.ts.map +1 -0
  499. package/dist/engines/constraint/strategy.js +529 -0
  500. package/dist/engines/constraint/strategy.js.map +1 -0
  501. package/dist/engines/constraint/types.d.ts +332 -0
  502. package/dist/engines/constraint/types.d.ts.map +1 -0
  503. package/dist/engines/constraint/types.js +26 -0
  504. package/dist/engines/constraint/types.js.map +1 -0
  505. package/dist/engines/defeasible/compiler.d.ts +34 -0
  506. package/dist/engines/defeasible/compiler.d.ts.map +1 -0
  507. package/dist/engines/defeasible/compiler.js +251 -0
  508. package/dist/engines/defeasible/compiler.js.map +1 -0
  509. package/dist/engines/defeasible/engine.d.ts +73 -0
  510. package/dist/engines/defeasible/engine.d.ts.map +1 -0
  511. package/dist/engines/defeasible/engine.js +115 -0
  512. package/dist/engines/defeasible/engine.js.map +1 -0
  513. package/dist/engines/defeasible/index.d.ts +10 -0
  514. package/dist/engines/defeasible/index.d.ts.map +1 -0
  515. package/dist/engines/defeasible/index.js +20 -0
  516. package/dist/engines/defeasible/index.js.map +1 -0
  517. package/dist/engines/defeasible/strategy.d.ts +25 -0
  518. package/dist/engines/defeasible/strategy.d.ts.map +1 -0
  519. package/dist/engines/defeasible/strategy.js +459 -0
  520. package/dist/engines/defeasible/strategy.js.map +1 -0
  521. package/dist/engines/defeasible/types.d.ts +316 -0
  522. package/dist/engines/defeasible/types.d.ts.map +1 -0
  523. package/dist/engines/defeasible/types.js +35 -0
  524. package/dist/engines/defeasible/types.js.map +1 -0
  525. package/dist/engines/expert/compiler.d.ts +16 -0
  526. package/dist/engines/expert/compiler.d.ts.map +1 -0
  527. package/dist/engines/expert/compiler.js +205 -0
  528. package/dist/engines/expert/compiler.js.map +1 -0
  529. package/dist/engines/expert/doc/expert-loan-approval.d.ts +17 -0
  530. package/dist/engines/expert/doc/expert-loan-approval.d.ts.map +1 -0
  531. package/dist/engines/expert/doc/expert-loan-approval.js +430 -0
  532. package/dist/engines/expert/doc/expert-loan-approval.js.map +1 -0
  533. package/dist/engines/expert/engine.d.ts +159 -0
  534. package/dist/engines/expert/engine.d.ts.map +1 -0
  535. package/dist/engines/expert/engine.js +201 -0
  536. package/dist/engines/expert/engine.js.map +1 -0
  537. package/dist/engines/expert/formatter.d.ts +56 -0
  538. package/dist/engines/expert/formatter.d.ts.map +1 -0
  539. package/dist/engines/expert/formatter.js +182 -0
  540. package/dist/engines/expert/formatter.js.map +1 -0
  541. package/dist/engines/expert/index.d.ts +37 -0
  542. package/dist/engines/expert/index.d.ts.map +1 -0
  543. package/dist/engines/expert/index.js +59 -0
  544. package/dist/engines/expert/index.js.map +1 -0
  545. package/dist/engines/expert/interpolation.d.ts +83 -0
  546. package/dist/engines/expert/interpolation.d.ts.map +1 -0
  547. package/dist/engines/expert/interpolation.js +218 -0
  548. package/dist/engines/expert/interpolation.js.map +1 -0
  549. package/dist/engines/expert/strategy.d.ts +13 -0
  550. package/dist/engines/expert/strategy.d.ts.map +1 -0
  551. package/dist/engines/expert/strategy.js +281 -0
  552. package/dist/engines/expert/strategy.js.map +1 -0
  553. package/dist/engines/expert/types.d.ts +346 -0
  554. package/dist/engines/expert/types.d.ts.map +1 -0
  555. package/dist/engines/expert/types.js +30 -0
  556. package/dist/engines/expert/types.js.map +1 -0
  557. package/dist/engines/forward/compiler.d.ts +7 -0
  558. package/dist/engines/forward/compiler.d.ts.map +1 -0
  559. package/dist/engines/forward/compiler.js +160 -0
  560. package/dist/engines/forward/compiler.js.map +1 -0
  561. package/dist/engines/forward/engine.d.ts +69 -0
  562. package/dist/engines/forward/engine.d.ts.map +1 -0
  563. package/dist/engines/forward/engine.js +111 -0
  564. package/dist/engines/forward/engine.js.map +1 -0
  565. package/dist/engines/forward/index.d.ts +12 -0
  566. package/dist/engines/forward/index.d.ts.map +1 -0
  567. package/dist/engines/forward/index.js +22 -0
  568. package/dist/engines/forward/index.js.map +1 -0
  569. package/dist/engines/forward/strategy.d.ts +15 -0
  570. package/dist/engines/forward/strategy.d.ts.map +1 -0
  571. package/dist/engines/forward/strategy.js +139 -0
  572. package/dist/engines/forward/strategy.js.map +1 -0
  573. package/dist/engines/forward/types.d.ts +152 -0
  574. package/dist/engines/forward/types.d.ts.map +1 -0
  575. package/dist/engines/forward/types.js +6 -0
  576. package/dist/engines/forward/types.js.map +1 -0
  577. package/dist/engines/fuzzy/compiler.d.ts +29 -0
  578. package/dist/engines/fuzzy/compiler.d.ts.map +1 -0
  579. package/dist/engines/fuzzy/compiler.js +136 -0
  580. package/dist/engines/fuzzy/compiler.js.map +1 -0
  581. package/dist/engines/fuzzy/defuzzify.d.ts +7 -0
  582. package/dist/engines/fuzzy/defuzzify.d.ts.map +1 -0
  583. package/dist/engines/fuzzy/defuzzify.js +34 -0
  584. package/dist/engines/fuzzy/defuzzify.js.map +1 -0
  585. package/dist/engines/fuzzy/engine.d.ts +55 -0
  586. package/dist/engines/fuzzy/engine.d.ts.map +1 -0
  587. package/dist/engines/fuzzy/engine.js +96 -0
  588. package/dist/engines/fuzzy/engine.js.map +1 -0
  589. package/dist/engines/fuzzy/fuzzy.defuzzify.d.ts +116 -0
  590. package/dist/engines/fuzzy/fuzzy.defuzzify.d.ts.map +1 -0
  591. package/dist/engines/fuzzy/fuzzy.defuzzify.js +454 -0
  592. package/dist/engines/fuzzy/fuzzy.defuzzify.js.map +1 -0
  593. package/dist/engines/fuzzy/fuzzy.membership.d.ts +162 -0
  594. package/dist/engines/fuzzy/fuzzy.membership.d.ts.map +1 -0
  595. package/dist/engines/fuzzy/fuzzy.membership.js +492 -0
  596. package/dist/engines/fuzzy/fuzzy.membership.js.map +1 -0
  597. package/dist/engines/fuzzy/fuzzy.types.d.ts +213 -0
  598. package/dist/engines/fuzzy/fuzzy.types.d.ts.map +1 -0
  599. package/dist/engines/fuzzy/fuzzy.types.js +71 -0
  600. package/dist/engines/fuzzy/fuzzy.types.js.map +1 -0
  601. package/dist/engines/fuzzy/index.d.ts +16 -0
  602. package/dist/engines/fuzzy/index.d.ts.map +1 -0
  603. package/dist/engines/fuzzy/index.js +46 -0
  604. package/dist/engines/fuzzy/index.js.map +1 -0
  605. package/dist/engines/fuzzy/membership.d.ts +7 -0
  606. package/dist/engines/fuzzy/membership.d.ts.map +1 -0
  607. package/dist/engines/fuzzy/membership.js +19 -0
  608. package/dist/engines/fuzzy/membership.js.map +1 -0
  609. package/dist/engines/fuzzy/strategy.d.ts +59 -0
  610. package/dist/engines/fuzzy/strategy.d.ts.map +1 -0
  611. package/dist/engines/fuzzy/strategy.js +255 -0
  612. package/dist/engines/fuzzy/strategy.js.map +1 -0
  613. package/dist/engines/fuzzy/types.d.ts +24 -0
  614. package/dist/engines/fuzzy/types.d.ts.map +1 -0
  615. package/dist/engines/fuzzy/types.js +17 -0
  616. package/dist/engines/fuzzy/types.js.map +1 -0
  617. package/dist/engines/index.d.ts +20 -0
  618. package/dist/engines/index.d.ts.map +1 -0
  619. package/dist/engines/index.js +49 -0
  620. package/dist/engines/index.js.map +1 -0
  621. package/dist/engines/monte-carlo/compiler.d.ts +12 -0
  622. package/dist/engines/monte-carlo/compiler.d.ts.map +1 -0
  623. package/dist/engines/monte-carlo/compiler.js +378 -0
  624. package/dist/engines/monte-carlo/compiler.js.map +1 -0
  625. package/dist/engines/monte-carlo/engine.d.ts +62 -0
  626. package/dist/engines/monte-carlo/engine.d.ts.map +1 -0
  627. package/dist/engines/monte-carlo/engine.js +106 -0
  628. package/dist/engines/monte-carlo/engine.js.map +1 -0
  629. package/dist/engines/monte-carlo/index.d.ts +12 -0
  630. package/dist/engines/monte-carlo/index.d.ts.map +1 -0
  631. package/dist/engines/monte-carlo/index.js +21 -0
  632. package/dist/engines/monte-carlo/index.js.map +1 -0
  633. package/dist/engines/monte-carlo/sobol.d.ts +39 -0
  634. package/dist/engines/monte-carlo/sobol.d.ts.map +1 -0
  635. package/dist/engines/monte-carlo/sobol.js +267 -0
  636. package/dist/engines/monte-carlo/sobol.js.map +1 -0
  637. package/dist/engines/monte-carlo/strategy.d.ts +20 -0
  638. package/dist/engines/monte-carlo/strategy.d.ts.map +1 -0
  639. package/dist/engines/monte-carlo/strategy.js +443 -0
  640. package/dist/engines/monte-carlo/strategy.js.map +1 -0
  641. package/dist/engines/monte-carlo/types.d.ts +230 -0
  642. package/dist/engines/monte-carlo/types.d.ts.map +1 -0
  643. package/dist/engines/monte-carlo/types.js +40 -0
  644. package/dist/engines/monte-carlo/types.js.map +1 -0
  645. package/dist/engines/pricing/calculator.d.ts +100 -0
  646. package/dist/engines/pricing/calculator.d.ts.map +1 -0
  647. package/dist/engines/pricing/calculator.js +210 -0
  648. package/dist/engines/pricing/calculator.js.map +1 -0
  649. package/dist/engines/pricing/compiler.d.ts +18 -0
  650. package/dist/engines/pricing/compiler.d.ts.map +1 -0
  651. package/dist/engines/pricing/compiler.js +275 -0
  652. package/dist/engines/pricing/compiler.js.map +1 -0
  653. package/dist/engines/pricing/engine.d.ts +102 -0
  654. package/dist/engines/pricing/engine.d.ts.map +1 -0
  655. package/dist/engines/pricing/engine.js +131 -0
  656. package/dist/engines/pricing/engine.js.map +1 -0
  657. package/dist/engines/pricing/index.d.ts +66 -0
  658. package/dist/engines/pricing/index.d.ts.map +1 -0
  659. package/dist/engines/pricing/index.js +89 -0
  660. package/dist/engines/pricing/index.js.map +1 -0
  661. package/dist/engines/pricing/strategy.d.ts +22 -0
  662. package/dist/engines/pricing/strategy.d.ts.map +1 -0
  663. package/dist/engines/pricing/strategy.js +517 -0
  664. package/dist/engines/pricing/strategy.js.map +1 -0
  665. package/dist/engines/pricing/types.d.ts +620 -0
  666. package/dist/engines/pricing/types.d.ts.map +1 -0
  667. package/dist/engines/pricing/types.js +68 -0
  668. package/dist/engines/pricing/types.js.map +1 -0
  669. package/dist/engines/scoring/compiler.d.ts +7 -0
  670. package/dist/engines/scoring/compiler.d.ts.map +1 -0
  671. package/dist/engines/scoring/compiler.js +113 -0
  672. package/dist/engines/scoring/compiler.js.map +1 -0
  673. package/dist/engines/scoring/engine.d.ts +52 -0
  674. package/dist/engines/scoring/engine.d.ts.map +1 -0
  675. package/dist/engines/scoring/engine.js +94 -0
  676. package/dist/engines/scoring/engine.js.map +1 -0
  677. package/dist/engines/scoring/index.d.ts +11 -0
  678. package/dist/engines/scoring/index.d.ts.map +1 -0
  679. package/dist/engines/scoring/index.js +21 -0
  680. package/dist/engines/scoring/index.js.map +1 -0
  681. package/dist/engines/scoring/strategy.d.ts +13 -0
  682. package/dist/engines/scoring/strategy.d.ts.map +1 -0
  683. package/dist/engines/scoring/strategy.js +158 -0
  684. package/dist/engines/scoring/strategy.js.map +1 -0
  685. package/dist/engines/scoring/types.d.ts +159 -0
  686. package/dist/engines/scoring/types.d.ts.map +1 -0
  687. package/dist/engines/scoring/types.js +6 -0
  688. package/dist/engines/scoring/types.js.map +1 -0
  689. package/dist/engines/sequential/compiler.d.ts +7 -0
  690. package/dist/engines/sequential/compiler.d.ts.map +1 -0
  691. package/dist/engines/sequential/compiler.js +156 -0
  692. package/dist/engines/sequential/compiler.js.map +1 -0
  693. package/dist/engines/sequential/engine.d.ts +55 -0
  694. package/dist/engines/sequential/engine.d.ts.map +1 -0
  695. package/dist/engines/sequential/engine.js +97 -0
  696. package/dist/engines/sequential/engine.js.map +1 -0
  697. package/dist/engines/sequential/index.d.ts +11 -0
  698. package/dist/engines/sequential/index.d.ts.map +1 -0
  699. package/dist/engines/sequential/index.js +21 -0
  700. package/dist/engines/sequential/index.js.map +1 -0
  701. package/dist/engines/sequential/strategy.d.ts +13 -0
  702. package/dist/engines/sequential/strategy.d.ts.map +1 -0
  703. package/dist/engines/sequential/strategy.js +96 -0
  704. package/dist/engines/sequential/strategy.js.map +1 -0
  705. package/dist/engines/sequential/types.d.ts +65 -0
  706. package/dist/engines/sequential/types.d.ts.map +1 -0
  707. package/dist/engines/sequential/types.js +6 -0
  708. package/dist/engines/sequential/types.js.map +1 -0
  709. package/dist/engines/state-machine/compiler.d.ts +12 -0
  710. package/dist/engines/state-machine/compiler.d.ts.map +1 -0
  711. package/dist/engines/state-machine/compiler.js +205 -0
  712. package/dist/engines/state-machine/compiler.js.map +1 -0
  713. package/dist/engines/state-machine/engine.d.ts +83 -0
  714. package/dist/engines/state-machine/engine.d.ts.map +1 -0
  715. package/dist/engines/state-machine/engine.js +107 -0
  716. package/dist/engines/state-machine/engine.js.map +1 -0
  717. package/dist/engines/state-machine/index.d.ts +11 -0
  718. package/dist/engines/state-machine/index.d.ts.map +1 -0
  719. package/dist/engines/state-machine/index.js +21 -0
  720. package/dist/engines/state-machine/index.js.map +1 -0
  721. package/dist/engines/state-machine/strategy.d.ts +19 -0
  722. package/dist/engines/state-machine/strategy.d.ts.map +1 -0
  723. package/dist/engines/state-machine/strategy.js +535 -0
  724. package/dist/engines/state-machine/strategy.js.map +1 -0
  725. package/dist/engines/state-machine/types.d.ts +229 -0
  726. package/dist/engines/state-machine/types.d.ts.map +1 -0
  727. package/dist/engines/state-machine/types.js +9 -0
  728. package/dist/engines/state-machine/types.js.map +1 -0
  729. package/dist/engines/utility/compiler.d.ts +7 -0
  730. package/dist/engines/utility/compiler.d.ts.map +1 -0
  731. package/dist/engines/utility/compiler.js +170 -0
  732. package/dist/engines/utility/compiler.js.map +1 -0
  733. package/dist/engines/utility/engine.d.ts +108 -0
  734. package/dist/engines/utility/engine.d.ts.map +1 -0
  735. package/dist/engines/utility/engine.js +152 -0
  736. package/dist/engines/utility/engine.js.map +1 -0
  737. package/dist/engines/utility/index.d.ts +17 -0
  738. package/dist/engines/utility/index.d.ts.map +1 -0
  739. package/dist/engines/utility/index.js +30 -0
  740. package/dist/engines/utility/index.js.map +1 -0
  741. package/dist/engines/utility/strategy.d.ts +30 -0
  742. package/dist/engines/utility/strategy.d.ts.map +1 -0
  743. package/dist/engines/utility/strategy.js +248 -0
  744. package/dist/engines/utility/strategy.js.map +1 -0
  745. package/dist/engines/utility/types.d.ts +176 -0
  746. package/dist/engines/utility/types.d.ts.map +1 -0
  747. package/dist/engines/utility/types.js +35 -0
  748. package/dist/engines/utility/types.js.map +1 -0
  749. package/dist/functions/index.d.ts +9 -0
  750. package/dist/functions/index.d.ts.map +1 -0
  751. package/dist/functions/index.js +27 -0
  752. package/dist/functions/index.js.map +1 -0
  753. package/dist/functions/phonetic/caverphone2.d.ts +36 -0
  754. package/dist/functions/phonetic/caverphone2.d.ts.map +1 -0
  755. package/dist/functions/phonetic/caverphone2.js +151 -0
  756. package/dist/functions/phonetic/caverphone2.js.map +1 -0
  757. package/dist/functions/phonetic/index.d.ts +9 -0
  758. package/dist/functions/phonetic/index.d.ts.map +1 -0
  759. package/dist/functions/phonetic/index.js +18 -0
  760. package/dist/functions/phonetic/index.js.map +1 -0
  761. package/dist/functions/phonetic/nysiis.d.ts +38 -0
  762. package/dist/functions/phonetic/nysiis.d.ts.map +1 -0
  763. package/dist/functions/phonetic/nysiis.js +162 -0
  764. package/dist/functions/phonetic/nysiis.js.map +1 -0
  765. package/dist/functions/phonetic/soundex.d.ts +48 -0
  766. package/dist/functions/phonetic/soundex.d.ts.map +1 -0
  767. package/dist/functions/phonetic/soundex.js +103 -0
  768. package/dist/functions/phonetic/soundex.js.map +1 -0
  769. package/dist/functions/similarity/cosine-similarity.d.ts +31 -0
  770. package/dist/functions/similarity/cosine-similarity.d.ts.map +1 -0
  771. package/dist/functions/similarity/cosine-similarity.js +75 -0
  772. package/dist/functions/similarity/cosine-similarity.js.map +1 -0
  773. package/dist/functions/similarity/index.d.ts +7 -0
  774. package/dist/functions/similarity/index.d.ts.map +1 -0
  775. package/dist/functions/similarity/index.js +11 -0
  776. package/dist/functions/similarity/index.js.map +1 -0
  777. package/dist/index.d.ts +56 -0
  778. package/dist/index.d.ts.map +1 -0
  779. package/dist/index.js +172 -0
  780. package/dist/index.js.map +1 -0
  781. package/dist/runtime/index.d.ts +15 -0
  782. package/dist/runtime/index.d.ts.map +1 -0
  783. package/dist/runtime/index.js +17 -0
  784. package/dist/runtime/index.js.map +1 -0
  785. package/package.json +41 -0
  786. package/src/core/compilers/condition.compiler.ts +176 -0
  787. package/src/core/compilers/index.ts +9 -0
  788. package/src/core/engine/engine.interface.ts +49 -0
  789. package/src/core/engine/index.ts +5 -0
  790. package/src/core/evaluation/condition.evaluator.ts +185 -0
  791. package/src/core/evaluation/index.ts +20 -0
  792. package/src/core/evaluation/temporal.ts +222 -0
  793. package/src/core/index.ts +75 -0
  794. package/src/core/matching/activation.types.ts +12 -0
  795. package/src/core/matching/index.ts +6 -0
  796. package/src/core/matching/matcher.ts +127 -0
  797. package/src/core/memory/index.ts +6 -0
  798. package/src/core/memory/working-memory.interface.ts +95 -0
  799. package/src/core/memory/working-memory.ts +123 -0
  800. package/src/core/operators/adapters/context.adapter.ts +53 -0
  801. package/src/core/operators/adapters/index.ts +25 -0
  802. package/src/core/operators/adapters/operator.adapter.ts +173 -0
  803. package/src/core/operators/arithmetic/add.ts +44 -0
  804. package/src/core/operators/arithmetic/average.ts +25 -0
  805. package/src/core/operators/arithmetic/divide.ts +42 -0
  806. package/src/core/operators/arithmetic/index.ts +42 -0
  807. package/src/core/operators/arithmetic/min-max.ts +70 -0
  808. package/src/core/operators/arithmetic/multiply.ts +40 -0
  809. package/src/core/operators/arithmetic/number-checks.ts +123 -0
  810. package/src/core/operators/arithmetic/power.ts +40 -0
  811. package/src/core/operators/arithmetic/rounding.ts +83 -0
  812. package/src/core/operators/arithmetic/subtract.ts +41 -0
  813. package/src/core/operators/array/contains.ts +85 -0
  814. package/src/core/operators/array/index.ts +18 -0
  815. package/src/core/operators/comparison/approximately-equals.ts +45 -0
  816. package/src/core/operators/comparison/equals.ts +49 -0
  817. package/src/core/operators/comparison/greater-than.ts +53 -0
  818. package/src/core/operators/comparison/index.ts +33 -0
  819. package/src/core/operators/comparison/less-than.ts +53 -0
  820. package/src/core/operators/comparison/not-equals.ts +49 -0
  821. package/src/core/operators/comparison/nullish.ts +155 -0
  822. package/src/core/operators/date/arithmetic.ts +246 -0
  823. package/src/core/operators/date/boundaries.ts +155 -0
  824. package/src/core/operators/date/checks.ts +116 -0
  825. package/src/core/operators/date/comparisons.ts +124 -0
  826. package/src/core/operators/date/constants.ts +102 -0
  827. package/src/core/operators/date/differences.ts +150 -0
  828. package/src/core/operators/date/extraction.ts +145 -0
  829. package/src/core/operators/date/generators.ts +232 -0
  830. package/src/core/operators/date/index.ts +63 -0
  831. package/src/core/operators/date/range.ts +39 -0
  832. package/src/core/operators/evaluator.ts +245 -0
  833. package/src/core/operators/examples.ts +233 -0
  834. package/src/core/operators/index.ts +135 -0
  835. package/src/core/operators/logical/and.ts +25 -0
  836. package/src/core/operators/logical/if.ts +31 -0
  837. package/src/core/operators/logical/index.ts +30 -0
  838. package/src/core/operators/logical/not.ts +25 -0
  839. package/src/core/operators/logical/or.ts +25 -0
  840. package/src/core/operators/logical/xor.ts +40 -0
  841. package/src/core/operators/operator.ts +338 -0
  842. package/src/core/operators/phonetic/caverphone.ts +40 -0
  843. package/src/core/operators/phonetic/index.ts +24 -0
  844. package/src/core/operators/phonetic/nysiis.ts +40 -0
  845. package/src/core/operators/phonetic/soundex.ts +41 -0
  846. package/src/core/operators/registry.ts +254 -0
  847. package/src/core/operators/similarity/cosine.ts +27 -0
  848. package/src/core/operators/similarity/index.ts +18 -0
  849. package/src/core/operators/string/contains.ts +42 -0
  850. package/src/core/operators/string/empty.ts +55 -0
  851. package/src/core/operators/string/ends-with.ts +40 -0
  852. package/src/core/operators/string/index.ts +30 -0
  853. package/src/core/operators/string/regex.ts +42 -0
  854. package/src/core/operators/string/starts-with.ts +40 -0
  855. package/src/core/operators/transform/case.ts +74 -0
  856. package/src/core/operators/transform/concat.ts +54 -0
  857. package/src/core/operators/transform/index.ts +36 -0
  858. package/src/core/operators/transform/length.ts +37 -0
  859. package/src/core/operators/transform/pad.ts +40 -0
  860. package/src/core/operators/transform/replace.ts +38 -0
  861. package/src/core/operators/transform/substring.ts +69 -0
  862. package/src/core/operators/transform/trim.ts +54 -0
  863. package/src/core/operators/types.ts +140 -0
  864. package/src/core/parser/errors.ts +77 -0
  865. package/src/core/parser/index.ts +133 -0
  866. package/src/core/parser/operators/aliases.ts +358 -0
  867. package/src/core/parser/operators/index.ts +35 -0
  868. package/src/core/parser/operators/operator-table.ts +107 -0
  869. package/src/core/parser/operators/precedence.ts +94 -0
  870. package/src/core/parser/parser/expression.parser.ts +308 -0
  871. package/src/core/parser/parser/function.parser.ts +113 -0
  872. package/src/core/parser/parser/index.ts +20 -0
  873. package/src/core/parser/parser/primary.parser.ts +149 -0
  874. package/src/core/parser/parser/types.ts +51 -0
  875. package/src/core/parser/tokenizer/index.ts +85 -0
  876. package/src/core/parser/tokenizer/readers/identifier.reader.ts +118 -0
  877. package/src/core/parser/tokenizer/readers/index.ts +20 -0
  878. package/src/core/parser/tokenizer/readers/number.reader.ts +132 -0
  879. package/src/core/parser/tokenizer/readers/property-ref.reader.ts +130 -0
  880. package/src/core/parser/tokenizer/readers/string.reader.ts +110 -0
  881. package/src/core/parser/tokenizer/readers/symbol.reader.ts +118 -0
  882. package/src/core/parser/tokenizer/readers/whitespace.reader.ts +18 -0
  883. package/src/core/parser/tokenizer/scanner.ts +137 -0
  884. package/src/core/parser/tokenizer/types.ts +63 -0
  885. package/src/core/parser/types.ts +102 -0
  886. package/src/core/refraction/index.ts +5 -0
  887. package/src/core/refraction/refraction.ts +71 -0
  888. package/src/core/resolution/conflict-resolver.ts +87 -0
  889. package/src/core/resolution/index.ts +10 -0
  890. package/src/core/shapes/index.ts +5 -0
  891. package/src/core/shapes/shape.normalizer.ts +68 -0
  892. package/src/core/types/condition.ts +185 -0
  893. package/src/core/types/fact.ts +26 -0
  894. package/src/core/types/index.ts +55 -0
  895. package/src/core/types/rule.ts +108 -0
  896. package/src/core/types/schema.ts +18 -0
  897. package/src/engines/backward/compiler.ts +118 -0
  898. package/src/engines/backward/engine.ts +123 -0
  899. package/src/engines/backward/index.ts +39 -0
  900. package/src/engines/backward/strategy.ts +229 -0
  901. package/src/engines/backward/types.ts +125 -0
  902. package/src/engines/bayesian/compiler.ts +402 -0
  903. package/src/engines/bayesian/engine.ts +122 -0
  904. package/src/engines/bayesian/index.ts +50 -0
  905. package/src/engines/bayesian/strategy.ts +273 -0
  906. package/src/engines/bayesian/types.ts +219 -0
  907. package/src/engines/constraint/compiler.ts +267 -0
  908. package/src/engines/constraint/engine.ts +175 -0
  909. package/src/engines/constraint/index.ts +18 -0
  910. package/src/engines/constraint/strategy.ts +725 -0
  911. package/src/engines/constraint/types.ts +415 -0
  912. package/src/engines/defeasible/compiler.ts +306 -0
  913. package/src/engines/defeasible/engine.ts +142 -0
  914. package/src/engines/defeasible/index.ts +48 -0
  915. package/src/engines/defeasible/strategy.ts +573 -0
  916. package/src/engines/defeasible/types.ts +409 -0
  917. package/src/engines/expert/README.md +343 -0
  918. package/src/engines/expert/compiler.ts +277 -0
  919. package/src/engines/expert/doc/expert-loan-approval.ts +458 -0
  920. package/src/engines/expert/engine.ts +228 -0
  921. package/src/engines/expert/formatter.ts +242 -0
  922. package/src/engines/expert/index.ts +85 -0
  923. package/src/engines/expert/interpolation.ts +278 -0
  924. package/src/engines/expert/strategy.ts +413 -0
  925. package/src/engines/expert/types.ts +442 -0
  926. package/src/engines/forward/compiler.ts +205 -0
  927. package/src/engines/forward/engine.ts +138 -0
  928. package/src/engines/forward/index.ts +51 -0
  929. package/src/engines/forward/strategy.ts +197 -0
  930. package/src/engines/forward/types.ts +205 -0
  931. package/src/engines/fuzzy/compiler.ts +182 -0
  932. package/src/engines/fuzzy/defuzzify.ts +39 -0
  933. package/src/engines/fuzzy/engine.ts +124 -0
  934. package/src/engines/fuzzy/fuzzy.defuzzify.ts +564 -0
  935. package/src/engines/fuzzy/fuzzy.membership.ts +604 -0
  936. package/src/engines/fuzzy/fuzzy.types.ts +357 -0
  937. package/src/engines/fuzzy/index.ts +38 -0
  938. package/src/engines/fuzzy/membership.ts +22 -0
  939. package/src/engines/fuzzy/strategy.ts +373 -0
  940. package/src/engines/fuzzy/types.ts +84 -0
  941. package/src/engines/index.ts +45 -0
  942. package/src/engines/monte-carlo/compiler.ts +459 -0
  943. package/src/engines/monte-carlo/engine.ts +134 -0
  944. package/src/engines/monte-carlo/index.ts +44 -0
  945. package/src/engines/monte-carlo/strategy.ts +565 -0
  946. package/src/engines/monte-carlo/types.ts +320 -0
  947. package/src/engines/pricing/calculator.ts +272 -0
  948. package/src/engines/pricing/compiler.ts +381 -0
  949. package/src/engines/pricing/engine.ts +152 -0
  950. package/src/engines/pricing/index.ts +156 -0
  951. package/src/engines/pricing/strategy.ts +736 -0
  952. package/src/engines/pricing/types.ts +782 -0
  953. package/src/engines/scoring/compiler.ts +139 -0
  954. package/src/engines/scoring/engine.ts +121 -0
  955. package/src/engines/scoring/index.ts +46 -0
  956. package/src/engines/scoring/strategy.ts +190 -0
  957. package/src/engines/scoring/types.ts +201 -0
  958. package/src/engines/sequential/compiler.ts +201 -0
  959. package/src/engines/sequential/engine.ts +124 -0
  960. package/src/engines/sequential/index.ts +38 -0
  961. package/src/engines/sequential/strategy.ts +125 -0
  962. package/src/engines/sequential/types.ts +101 -0
  963. package/src/engines/state-machine/compiler.ts +266 -0
  964. package/src/engines/state-machine/engine.ts +128 -0
  965. package/src/engines/state-machine/index.ts +45 -0
  966. package/src/engines/state-machine/strategy.ts +634 -0
  967. package/src/engines/state-machine/types.ts +254 -0
  968. package/src/engines/utility/compiler.ts +208 -0
  969. package/src/engines/utility/engine.ts +200 -0
  970. package/src/engines/utility/index.ts +53 -0
  971. package/src/engines/utility/strategy.ts +315 -0
  972. package/src/engines/utility/types.ts +225 -0
  973. package/src/functions/README.md +63 -0
  974. package/src/functions/index.ts +12 -0
  975. package/src/functions/phonetic/caverphone2.ts +172 -0
  976. package/src/functions/phonetic/index.ts +9 -0
  977. package/src/functions/phonetic/nysiis.ts +164 -0
  978. package/src/functions/phonetic/soundex.ts +111 -0
  979. package/src/functions/similarity/cosine-similarity.ts +83 -0
  980. package/src/functions/similarity/index.ts +7 -0
  981. package/src/index.ts +362 -0
  982. package/src/runtime/index.ts +16 -0
@@ -0,0 +1,267 @@
1
+ "use strict";
2
+ /**
3
+ * Sobol Low-Discrepancy Sequence Generator (Optimized)
4
+ *
5
+ * Generates quasi-random numbers that fill the sample space more uniformly
6
+ * than pseudorandom numbers, leading to faster convergence in Monte Carlo
7
+ * simulations (O(log^d(n)/n) vs O(1/√n)).
8
+ *
9
+ * Implementation uses Gray code optimization for O(1) sequence generation.
10
+ * Supports up to 40 dimensions with standard direction numbers.
11
+ */
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ exports.SobolSequence = void 0;
14
+ exports.createSobolRng = createSobolRng;
15
+ // Pre-computed direction numbers for 120 dimensions
16
+ // Format: [degree, polynomial, m1, m2, ...] (Joe-Kuo new-joe-kuo-6.21201)
17
+ // Supports rulesets with up to ~60 variables (each may need 2 dimensions for Normal dist)
18
+ const DIRECTION_NUMBERS = [
19
+ [1], // Dimension 1 - Van der Corput
20
+ [1, 0, 1],
21
+ [1, 1, 1, 3],
22
+ [1, 1, 2, 1, 1],
23
+ [1, 2, 1, 1, 5, 7],
24
+ [1, 2, 6, 1, 3, 3, 9],
25
+ [1, 3, 2, 1, 1, 5, 13, 33],
26
+ [1, 3, 13, 1, 1, 3, 15, 21, 13],
27
+ [1, 4, 1, 1, 1, 3, 9, 31, 17, 49],
28
+ [1, 4, 16, 1, 3, 1, 5, 27, 13, 33, 57],
29
+ [1, 5, 4, 1, 1, 3, 5, 5, 21, 53, 33, 67],
30
+ [1, 5, 22, 1, 1, 1, 11, 1, 7, 13, 55, 69, 91],
31
+ [1, 5, 41, 1, 1, 5, 1, 21, 31, 55, 27, 119, 91, 57],
32
+ [1, 5, 50, 1, 3, 1, 15, 29, 17, 1, 57, 93, 91, 5, 123],
33
+ [1, 6, 6, 1, 3, 1, 13, 5, 11, 43, 21, 113, 97, 53, 25, 185],
34
+ [1, 6, 24, 1, 3, 3, 13, 31, 9, 23, 71, 99, 21, 119, 85, 85, 147],
35
+ [1, 6, 50, 1, 3, 7, 9, 13, 19, 63, 127, 9, 99, 47, 121, 107, 247, 55],
36
+ [1, 6, 61, 1, 1, 5, 11, 15, 27, 29, 1, 33, 115, 15, 79, 83, 221, 93, 233],
37
+ [1, 6, 63, 1, 1, 5, 3, 27, 13, 61, 57, 33, 45, 53, 117, 35, 173, 249, 73, 249],
38
+ [1, 7, 2, 1, 1, 5, 15, 9, 21, 35, 69, 107, 61, 75, 105, 215, 13, 177, 51, 137, 249],
39
+ [1, 7, 14, 1, 3, 7, 11, 27, 3, 57, 15, 35, 51, 79, 9, 197, 159, 153, 361, 189, 421, 227],
40
+ [1, 7, 47, 1, 1, 5, 3, 1, 7, 21, 87, 37, 37, 73, 47, 13, 189, 137, 221, 339, 67, 17, 355],
41
+ [1, 7, 84, 1, 1, 1, 9, 9, 3, 43, 9, 69, 53, 75, 123, 89, 165, 201, 305, 295, 491, 327, 695],
42
+ [1, 7, 91, 1, 1, 3, 5, 25, 17, 5, 5, 67, 17, 121, 7, 81, 125, 31, 189, 337, 501, 203, 487, 295],
43
+ [1, 7, 106, 1, 3, 7, 15, 5, 21, 49, 113, 87, 33, 13, 83, 199, 51, 153, 23, 417, 189, 749, 365, 635],
44
+ [1, 8, 5, 1, 3, 5, 11, 27, 1, 17, 3, 93, 55, 31, 91, 141, 115, 9, 457, 251, 97, 1, 633, 805, 1163],
45
+ [1, 8, 14, 1, 1, 7, 1, 21, 23, 37, 51, 27, 107, 123, 5, 167, 243, 197, 209, 253, 173, 501, 259, 389, 569],
46
+ [1, 8, 50, 1, 1, 5, 5, 3, 23, 57, 81, 21, 13, 3, 121, 217, 245, 117, 309, 375, 455, 305, 461, 909, 1405],
47
+ [1, 8, 57, 1, 1, 1, 5, 5, 29, 35, 121, 37, 13, 95, 67, 177, 179, 451, 253, 133, 59, 461, 219, 553, 1337, 963],
48
+ [1, 8, 84, 1, 1, 3, 3, 1, 25, 7, 3, 63, 77, 57, 35, 51, 253, 361, 171, 389, 5, 685, 303, 659, 1203, 775, 1755],
49
+ [1, 8, 107, 1, 3, 1, 3, 19, 9, 27, 103, 49, 39, 73, 35, 201, 243, 79, 133, 91, 479, 25, 591, 963, 749, 1827, 1017],
50
+ [1, 8, 128, 1, 3, 3, 3, 17, 15, 57, 25, 41, 121, 3, 73, 171, 51, 205, 291, 279, 415, 541, 297, 1025, 1431, 1089, 2753],
51
+ [1, 9, 2, 1, 3, 1, 1, 3, 17, 51, 119, 125, 13, 7, 69, 11, 203, 205, 479, 495, 183, 383, 929, 1103, 2023, 1967, 1737],
52
+ [1, 9, 5, 1, 1, 3, 15, 17, 25, 61, 95, 25, 63, 11, 11, 247, 411, 489, 75, 437, 335, 689, 653, 1513, 823, 789, 1557, 3121],
53
+ [1, 9, 18, 1, 1, 7, 13, 1, 7, 35, 21, 55, 93, 103, 37, 225, 69, 271, 117, 143, 245, 497, 743, 1571, 2151, 1701, 1365, 3835],
54
+ [1, 9, 33, 1, 3, 1, 7, 29, 9, 45, 59, 117, 69, 75, 47, 115, 11, 43, 233, 411, 259, 375, 771, 1195, 1391, 2115, 605, 227, 5009],
55
+ [1, 9, 50, 1, 3, 5, 9, 13, 31, 13, 103, 127, 45, 109, 81, 5, 471, 287, 221, 219, 201, 661, 1037, 1295, 1209, 785, 3207, 3881],
56
+ [1, 9, 57, 1, 1, 5, 15, 27, 7, 21, 65, 77, 83, 65, 67, 189, 121, 387, 203, 97, 523, 473, 451, 555, 1737, 1303, 3127, 5731],
57
+ [1, 9, 84, 1, 3, 3, 7, 27, 23, 33, 77, 45, 117, 29, 43, 111, 459, 15, 369, 303, 375, 425, 617, 261, 2057, 3021, 3747, 4893],
58
+ // Dimensions 40-120 (generated from Joe-Kuo table)
59
+ [1, 9, 99, 1, 1, 1, 3, 31, 17, 37, 119, 97, 119, 107, 15, 131, 51, 381, 299, 359, 117, 671, 777, 1035, 1209, 2099, 2383],
60
+ [1, 9, 100, 1, 1, 1, 5, 11, 25, 49, 7, 79, 103, 85, 47, 149, 5, 197, 329, 25, 483, 15, 687, 953, 737, 2021, 1969],
61
+ [1, 9, 103, 1, 3, 1, 13, 13, 21, 37, 39, 61, 41, 77, 103, 143, 107, 245, 435, 371, 375, 693, 637, 1531, 1141, 1949, 3445],
62
+ [1, 9, 106, 1, 3, 3, 1, 29, 3, 13, 63, 99, 25, 13, 19, 35, 285, 391, 491, 13, 47, 349, 167, 929, 1827, 2735, 2281],
63
+ [1, 9, 109, 1, 3, 3, 9, 31, 9, 51, 37, 61, 123, 31, 39, 45, 369, 3, 71, 221, 187, 381, 779, 633, 1387, 1853, 1603],
64
+ [1, 9, 114, 1, 1, 5, 1, 7, 13, 25, 121, 29, 101, 107, 87, 53, 319, 437, 65, 175, 263, 669, 287, 1233, 669, 3455, 2203],
65
+ [1, 9, 117, 1, 1, 5, 5, 1, 21, 41, 73, 63, 121, 91, 79, 39, 419, 497, 245, 237, 473, 363, 1023, 1481, 1945, 3097, 3211],
66
+ [1, 9, 120, 1, 1, 5, 11, 21, 29, 63, 35, 95, 33, 99, 27, 179, 93, 109, 275, 107, 97, 509, 951, 1595, 1247, 2803, 1701],
67
+ [1, 9, 123, 1, 1, 5, 13, 23, 7, 21, 101, 107, 19, 21, 67, 191, 453, 329, 507, 233, 509, 285, 951, 1395, 1987, 949, 3291],
68
+ [1, 9, 126, 1, 3, 5, 1, 19, 27, 1, 49, 35, 75, 93, 83, 91, 221, 357, 31, 287, 485, 703, 475, 1403, 1659, 1787, 1475],
69
+ [1, 10, 1, 1, 3, 5, 7, 1, 3, 37, 47, 111, 69, 39, 75, 197, 5, 351, 295, 427, 373, 549, 441, 1227, 1579, 2803, 715, 585],
70
+ [1, 10, 4, 1, 1, 7, 3, 9, 5, 39, 61, 41, 85, 119, 85, 131, 169, 413, 37, 395, 365, 629, 657, 1063, 1523, 1175, 3591, 805],
71
+ [1, 10, 13, 1, 1, 7, 5, 11, 15, 31, 63, 97, 27, 113, 83, 67, 357, 247, 273, 221, 181, 587, 1021, 1381, 1867, 3029, 2709, 467],
72
+ [1, 10, 16, 1, 1, 7, 9, 23, 1, 47, 91, 95, 73, 23, 43, 145, 149, 379, 101, 509, 293, 515, 757, 1031, 1727, 2269, 1595, 1203],
73
+ [1, 10, 31, 1, 3, 7, 13, 15, 27, 5, 87, 45, 43, 53, 105, 85, 355, 105, 465, 465, 225, 125, 501, 1393, 1645, 2971, 435, 717],
74
+ [1, 10, 34, 1, 3, 7, 15, 31, 1, 47, 23, 59, 33, 37, 63, 165, 125, 159, 485, 365, 113, 275, 469, 1303, 1859, 2999, 699, 615],
75
+ [1, 10, 43, 1, 1, 1, 1, 17, 5, 23, 85, 7, 19, 39, 85, 179, 367, 169, 495, 119, 439, 271, 927, 1375, 1719, 1215, 3689, 1067],
76
+ [1, 10, 46, 1, 1, 1, 3, 31, 21, 21, 91, 61, 33, 101, 93, 7, 199, 509, 483, 141, 303, 439, 709, 1447, 1765, 2519, 4053, 975],
77
+ [1, 10, 49, 1, 1, 1, 7, 3, 7, 35, 53, 3, 11, 21, 3, 117, 353, 269, 445, 113, 53, 663, 1009, 1311, 1641, 2395, 4069, 661],
78
+ [1, 10, 52, 1, 1, 1, 9, 31, 29, 59, 29, 41, 43, 23, 99, 175, 59, 369, 211, 319, 391, 703, 947, 1289, 1655, 2877, 4053, 685],
79
+ [1, 10, 61, 1, 3, 1, 3, 31, 9, 35, 109, 97, 33, 101, 33, 27, 215, 463, 199, 349, 155, 195, 881, 1423, 1571, 2791, 2909, 901],
80
+ [1, 10, 64, 1, 3, 1, 5, 23, 27, 13, 67, 35, 125, 55, 115, 91, 485, 437, 145, 209, 423, 595, 1021, 1089, 1735, 3043, 3971, 977],
81
+ [1, 10, 67, 1, 3, 1, 9, 13, 15, 37, 107, 71, 5, 31, 53, 85, 159, 183, 319, 511, 499, 419, 805, 1283, 1621, 2913, 3795, 931],
82
+ [1, 10, 70, 1, 3, 1, 11, 1, 5, 61, 95, 5, 85, 19, 109, 47, 163, 279, 185, 73, 337, 631, 869, 1491, 1813, 2835, 1115, 711],
83
+ [1, 10, 79, 1, 1, 3, 3, 27, 13, 21, 53, 107, 97, 59, 23, 159, 247, 45, 275, 479, 169, 687, 1003, 1547, 1639, 2605, 3927, 1035],
84
+ [1, 10, 82, 1, 1, 3, 7, 11, 27, 43, 119, 35, 35, 39, 33, 37, 223, 457, 243, 355, 427, 267, 469, 1539, 1615, 2835, 2547, 1071],
85
+ [1, 10, 85, 1, 1, 3, 9, 9, 11, 53, 113, 111, 117, 113, 45, 191, 387, 99, 469, 267, 439, 677, 853, 1523, 1975, 3091, 4059, 1107],
86
+ [1, 10, 88, 1, 1, 3, 11, 13, 5, 63, 91, 7, 77, 3, 57, 145, 275, 189, 51, 287, 53, 457, 637, 1549, 1703, 2853, 3965, 1147],
87
+ [1, 10, 97, 1, 3, 3, 5, 13, 17, 33, 9, 119, 87, 27, 71, 163, 389, 439, 425, 509, 177, 439, 669, 1349, 1759, 3003, 3947, 1191],
88
+ [1, 10, 100, 1, 3, 3, 7, 27, 3, 47, 83, 109, 69, 93, 23, 75, 381, 369, 305, 381, 327, 719, 1009, 1449, 1871, 2987, 3931, 1235],
89
+ [1, 10, 103, 1, 3, 3, 11, 25, 17, 21, 83, 37, 41, 113, 109, 55, 303, 211, 303, 123, 505, 547, 1007, 1543, 1871, 3023, 3899, 1279],
90
+ [1, 10, 106, 1, 3, 3, 13, 3, 27, 25, 27, 67, 105, 81, 35, 85, 211, 237, 399, 511, 161, 703, 853, 1557, 1927, 3051, 3883, 1323],
91
+ [1, 10, 115, 1, 1, 5, 3, 25, 21, 15, 57, 91, 23, 71, 29, 195, 377, 313, 319, 159, 247, 439, 1011, 1359, 1759, 3047, 3855, 1371],
92
+ [1, 10, 118, 1, 1, 5, 5, 15, 9, 19, 111, 27, 73, 123, 9, 151, 285, 247, 163, 319, 289, 547, 851, 1551, 1927, 3099, 3839, 1415],
93
+ [1, 10, 121, 1, 1, 5, 9, 5, 3, 59, 55, 89, 123, 83, 77, 181, 111, 497, 223, 127, 325, 655, 997, 1361, 1935, 2775, 3823, 1459],
94
+ [1, 10, 124, 1, 1, 5, 11, 21, 11, 29, 5, 25, 69, 35, 109, 113, 467, 345, 345, 163, 487, 631, 1015, 1553, 1959, 3127, 3807, 1503],
95
+ [1, 11, 1, 1, 3, 5, 1, 11, 25, 13, 87, 57, 63, 37, 61, 99, 363, 377, 291, 459, 93, 631, 1011, 1347, 1935, 3059, 3791, 1551, 1543],
96
+ [1, 11, 4, 1, 3, 5, 3, 31, 13, 23, 97, 111, 25, 97, 101, 167, 337, 97, 503, 91, 407, 547, 1005, 1555, 1911, 3107, 3775, 1595, 1591],
97
+ [1, 11, 13, 1, 3, 5, 7, 5, 3, 57, 67, 55, 11, 85, 59, 149, 207, 105, 211, 367, 143, 687, 1015, 1363, 1943, 3131, 3759, 1639, 1639],
98
+ [1, 11, 16, 1, 3, 5, 9, 3, 21, 5, 77, 17, 85, 37, 49, 181, 373, 495, 487, 63, 439, 615, 1007, 1559, 1919, 3155, 3743, 1683, 1687],
99
+ [1, 11, 19, 1, 3, 5, 11, 19, 5, 59, 59, 95, 53, 53, 7, 133, 349, 341, 395, 263, 217, 471, 1009, 1371, 1951, 3179, 3727, 1727, 1735],
100
+ [1, 11, 22, 1, 3, 5, 13, 13, 19, 9, 69, 121, 95, 107, 73, 163, 469, 177, 303, 457, 339, 667, 1013, 1567, 1927, 3075, 3711, 1771, 1783],
101
+ [1, 11, 31, 1, 1, 7, 1, 9, 25, 19, 11, 49, 87, 99, 81, 149, 471, 363, 239, 241, 471, 631, 1015, 1379, 1959, 3123, 3695, 1815, 1831],
102
+ [1, 11, 34, 1, 1, 7, 5, 27, 11, 61, 83, 97, 53, 67, 55, 205, 107, 203, 159, 159, 293, 687, 1017, 1571, 1935, 3099, 3679, 1859, 1879],
103
+ [1, 11, 37, 1, 1, 7, 7, 11, 5, 5, 121, 51, 21, 9, 17, 97, 489, 487, 375, 377, 467, 551, 1019, 1387, 1967, 3147, 3663, 1903, 1927],
104
+ [1, 11, 40, 1, 1, 7, 9, 31, 19, 51, 17, 117, 91, 69, 87, 233, 119, 327, 279, 275, 183, 607, 1021, 1575, 1943, 3123, 3647, 1947, 1975],
105
+ [1, 11, 49, 1, 3, 7, 1, 23, 1, 25, 7, 21, 59, 121, 105, 137, 501, 171, 183, 477, 311, 695, 1023, 1395, 1975, 3171, 3631, 1991, 2023]
106
+ ];
107
+ const BITS = 32;
108
+ const SCALE = 1 / 4294967296; // 1 / 2^32
109
+ /**
110
+ * Sobol sequence generator using Gray code optimization
111
+ */
112
+ class SobolSequence {
113
+ dimensions;
114
+ direction;
115
+ x;
116
+ count = 0;
117
+ constructor(dimensions) {
118
+ if (dimensions < 1 || dimensions > DIRECTION_NUMBERS.length) {
119
+ throw new Error(`Sobol dimensions must be 1-${DIRECTION_NUMBERS.length}`);
120
+ }
121
+ this.dimensions = dimensions;
122
+ this.direction = new Array(dimensions);
123
+ this.x = new Uint32Array(dimensions);
124
+ for (let d = 0; d < dimensions; d++) {
125
+ this.direction[d] = new Uint32Array(BITS);
126
+ this.initializeDirection(d);
127
+ }
128
+ }
129
+ initializeDirection(dim) {
130
+ const v = this.direction[dim];
131
+ if (dim === 0) {
132
+ for (let i = 0; i < BITS; i++) {
133
+ v[i] = 1 << (BITS - 1 - i);
134
+ }
135
+ return;
136
+ }
137
+ const init = DIRECTION_NUMBERS[dim];
138
+ const s = init[0];
139
+ const a = init[1];
140
+ for (let i = 0; i < s; i++) {
141
+ v[i] = init[i + 2] << (BITS - 1 - i);
142
+ }
143
+ for (let i = s; i < BITS; i++) {
144
+ v[i] = v[i - s] ^ (v[i - s] >>> s);
145
+ for (let k = 1; k < s; k++) {
146
+ if ((a >>> (s - 1 - k)) & 1) {
147
+ v[i] ^= v[i - k];
148
+ }
149
+ }
150
+ }
151
+ }
152
+ next(dimension) {
153
+ return this.x[dimension] * SCALE;
154
+ }
155
+ advance() {
156
+ // Find rightmost zero bit (Gray code)
157
+ let c = 0;
158
+ let value = this.count;
159
+ while ((value & 1) === 1) {
160
+ value >>>= 1;
161
+ c++;
162
+ }
163
+ // XOR update all dimensions
164
+ const dir = this.direction;
165
+ const x = this.x;
166
+ for (let d = 0; d < this.dimensions; d++) {
167
+ x[d] ^= dir[d][c];
168
+ }
169
+ this.count++;
170
+ }
171
+ nextVector() {
172
+ this.advance();
173
+ const result = new Array(this.dimensions);
174
+ const x = this.x;
175
+ for (let d = 0; d < this.dimensions; d++) {
176
+ result[d] = x[d] * SCALE;
177
+ }
178
+ return result;
179
+ }
180
+ reset() {
181
+ this.count = 0;
182
+ this.x.fill(0);
183
+ }
184
+ skip(n) {
185
+ for (let i = 0; i < n; i++) {
186
+ this.advance();
187
+ }
188
+ }
189
+ getCount() {
190
+ return this.count;
191
+ }
192
+ }
193
+ exports.SobolSequence = SobolSequence;
194
+ // Maximum supported Sobol dimensions
195
+ const MAX_SOBOL_DIMENSIONS = DIRECTION_NUMBERS.length;
196
+ /**
197
+ * Create optimized QMC RNG using Sobol sequences
198
+ * Pre-generates values for each iteration to minimize overhead
199
+ *
200
+ * For dimensions > MAX_SOBOL_DIMENSIONS, falls back to pseudorandom
201
+ * for the extra dimensions (hybrid QMC/MC approach)
202
+ */
203
+ function createSobolRng(dimensions, seed) {
204
+ // Use Sobol for first N dimensions, pseudorandom for rest
205
+ const sobolDims = Math.min(dimensions, MAX_SOBOL_DIMENSIONS);
206
+ const needsPseudoRandom = dimensions > MAX_SOBOL_DIMENSIONS;
207
+ const sobol = new SobolSequence(sobolDims);
208
+ // Skip first point (index 0) which contains zeros that can cause
209
+ // numerical issues with Box-Muller normal distribution (log(0) = -Inf)
210
+ sobol.advance();
211
+ // Pre-allocate buffer for current iteration's values
212
+ const values = new Float64Array(dimensions);
213
+ let currentDim = 0;
214
+ let initialized = false;
215
+ // Optional scrambling via seed
216
+ const scramble = seed !== undefined;
217
+ const scrambleXor = seed !== undefined ? (seed >>> 0) : 0;
218
+ // Pseudorandom fallback for high dimensions (Mulberry32)
219
+ let prngState = seed ?? (Math.random() * 0xffffffff) >>> 0;
220
+ const pseudoRandom = () => {
221
+ prngState |= 0;
222
+ prngState = (prngState + 0x6d2b79f5) | 0;
223
+ let t = Math.imul(prngState ^ (prngState >>> 15), 1 | prngState);
224
+ t = (t + Math.imul(t ^ (t >>> 7), 61 | t)) ^ t;
225
+ return ((t ^ (t >>> 14)) >>> 0) / 4294967296;
226
+ };
227
+ // Pre-generate values for current iteration
228
+ const generateIteration = () => {
229
+ sobol.advance();
230
+ const x = sobol.x; // Direct access for speed
231
+ // Generate Sobol values for first dimensions
232
+ // Clamp to avoid exact 0.0 which causes issues with Box-Muller (log(0) = -Inf)
233
+ const MIN_VALUE = 1e-10;
234
+ if (scramble) {
235
+ for (let d = 0; d < sobolDims; d++) {
236
+ const v = ((x[d] ^ (scrambleXor * (d + 1))) >>> 0) * SCALE;
237
+ values[d] = v < MIN_VALUE ? MIN_VALUE : v;
238
+ }
239
+ }
240
+ else {
241
+ for (let d = 0; d < sobolDims; d++) {
242
+ const v = x[d] * SCALE;
243
+ values[d] = v < MIN_VALUE ? MIN_VALUE : v;
244
+ }
245
+ }
246
+ // Fill remaining dimensions with pseudorandom
247
+ if (needsPseudoRandom) {
248
+ for (let d = sobolDims; d < dimensions; d++) {
249
+ values[d] = pseudoRandom();
250
+ }
251
+ }
252
+ currentDim = 0;
253
+ };
254
+ return {
255
+ next() {
256
+ if (!initialized || currentDim >= dimensions) {
257
+ generateIteration();
258
+ initialized = true;
259
+ }
260
+ return values[currentDim++];
261
+ },
262
+ nextIteration() {
263
+ generateIteration();
264
+ }
265
+ };
266
+ }
267
+ //# sourceMappingURL=sobol.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sobol.js","sourceRoot":"","sources":["../../../src/engines/monte-carlo/sobol.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;AAiNH,wCA4EC;AA3RD,oDAAoD;AACpD,0EAA0E;AAC1E,0FAA0F;AAC1F,MAAM,iB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CAAC;YACD,OAAO,MAAM,CAAC,UAAU,EAAE,CAAC,CAAC;QAC9B,CAAC;QAED,aAAa;YACX,iBAAiB,EAAE,CAAC;QACtB,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Monte Carlo Engine Strategy (Optimized)
3
+ *
4
+ * Core simulation logic - samples from distributions, evaluates formulas,
5
+ * and computes statistics across iterations.
6
+ *
7
+ * Performance optimizations:
8
+ * - Pre-compiled formula functions (no runtime interpretation)
9
+ * - Direct value context (no Fact wrapper objects)
10
+ * - TypedArrays for history storage
11
+ * - Single-pass statistics calculation
12
+ * - Optional sensitivity analysis
13
+ */
14
+ import { IWorkingMemory } from '../../core/memory';
15
+ import { CompiledMonteCarloRuleSet, MonteCarloOptions, MonteCarloResult } from './types';
16
+ export declare class MonteCarloStrategy {
17
+ run(ruleSet: CompiledMonteCarloRuleSet, wm: IWorkingMemory, options?: MonteCarloOptions): MonteCarloResult;
18
+ }
19
+ export declare const monteCarloStrategy: MonteCarloStrategy;
20
+ //# sourceMappingURL=strategy.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"strategy.d.ts","sourceRoot":"","sources":["../../../src/engines/monte-carlo/strategy.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAInD,OAAO,EACL,yBAAyB,EAEzB,iBAAiB,EACjB,gBAAgB,EAIjB,MAAM,SAAS,CAAC;AA8PjB,qBAAa,kBAAkB;IAC7B,GAAG,CACD,OAAO,EAAE,yBAAyB,EAClC,EAAE,EAAE,cAAc,EAClB,OAAO,GAAE,iBAAsB,GAC9B,gBAAgB;CAoRpB;AAGD,eAAO,MAAM,kBAAkB,oBAA2B,CAAC"}