@iyulab/u-routing 0.2.2 → 0.2.3
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.
- package/package.json +1 -1
- package/u_routing_bg.js +41 -41
- package/u_routing_bg.wasm +0 -0
package/package.json
CHANGED
package/u_routing_bg.js
CHANGED
|
@@ -26,11 +26,11 @@ export function solve_vrp(problem_json) {
|
|
|
26
26
|
}
|
|
27
27
|
return takeFromExternrefTable0(ret[0]);
|
|
28
28
|
}
|
|
29
|
-
export function
|
|
29
|
+
export function __wbg_Error_2e59b1b37a9a34c3(arg0, arg1) {
|
|
30
30
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
31
31
|
return ret;
|
|
32
32
|
}
|
|
33
|
-
export function
|
|
33
|
+
export function __wbg_Number_e6ffdb596c888833(arg0) {
|
|
34
34
|
const ret = Number(arg0);
|
|
35
35
|
return ret;
|
|
36
36
|
}
|
|
@@ -41,60 +41,60 @@ export function __wbg_String_8564e559799eccda(arg0, arg1) {
|
|
|
41
41
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
42
42
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
43
43
|
}
|
|
44
|
-
export function
|
|
44
|
+
export function __wbg___wbindgen_bigint_get_as_i64_2c5082002e4826e2(arg0, arg1) {
|
|
45
45
|
const v = arg1;
|
|
46
46
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
47
47
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
48
48
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
49
49
|
}
|
|
50
|
-
export function
|
|
50
|
+
export function __wbg___wbindgen_boolean_get_a86c216575a75c30(arg0) {
|
|
51
51
|
const v = arg0;
|
|
52
52
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
53
53
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
54
54
|
}
|
|
55
|
-
export function
|
|
55
|
+
export function __wbg___wbindgen_debug_string_dd5d2d07ce9e6c57(arg0, arg1) {
|
|
56
56
|
const ret = debugString(arg1);
|
|
57
57
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
58
58
|
const len1 = WASM_VECTOR_LEN;
|
|
59
59
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
60
60
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
61
61
|
}
|
|
62
|
-
export function
|
|
62
|
+
export function __wbg___wbindgen_in_4bd7a57e54337366(arg0, arg1) {
|
|
63
63
|
const ret = arg0 in arg1;
|
|
64
64
|
return ret;
|
|
65
65
|
}
|
|
66
|
-
export function
|
|
66
|
+
export function __wbg___wbindgen_is_bigint_6c98f7e945dacdde(arg0) {
|
|
67
67
|
const ret = typeof(arg0) === 'bigint';
|
|
68
68
|
return ret;
|
|
69
69
|
}
|
|
70
|
-
export function
|
|
70
|
+
export function __wbg___wbindgen_is_function_49868bde5eb1e745(arg0) {
|
|
71
71
|
const ret = typeof(arg0) === 'function';
|
|
72
72
|
return ret;
|
|
73
73
|
}
|
|
74
|
-
export function
|
|
74
|
+
export function __wbg___wbindgen_is_object_40c5a80572e8f9d3(arg0) {
|
|
75
75
|
const val = arg0;
|
|
76
76
|
const ret = typeof(val) === 'object' && val !== null;
|
|
77
77
|
return ret;
|
|
78
78
|
}
|
|
79
|
-
export function
|
|
79
|
+
export function __wbg___wbindgen_is_undefined_c0cca72b82b86f4d(arg0) {
|
|
80
80
|
const ret = arg0 === undefined;
|
|
81
81
|
return ret;
|
|
82
82
|
}
|
|
83
|
-
export function
|
|
83
|
+
export function __wbg___wbindgen_jsval_eq_7d430e744a913d26(arg0, arg1) {
|
|
84
84
|
const ret = arg0 === arg1;
|
|
85
85
|
return ret;
|
|
86
86
|
}
|
|
87
|
-
export function
|
|
87
|
+
export function __wbg___wbindgen_jsval_loose_eq_3a72ae764d46d944(arg0, arg1) {
|
|
88
88
|
const ret = arg0 == arg1;
|
|
89
89
|
return ret;
|
|
90
90
|
}
|
|
91
|
-
export function
|
|
91
|
+
export function __wbg___wbindgen_number_get_7579aab02a8a620c(arg0, arg1) {
|
|
92
92
|
const obj = arg1;
|
|
93
93
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
94
94
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
95
95
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
96
96
|
}
|
|
97
|
-
export function
|
|
97
|
+
export function __wbg___wbindgen_string_get_914df97fcfa788f2(arg0, arg1) {
|
|
98
98
|
const obj = arg1;
|
|
99
99
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
100
100
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -102,25 +102,25 @@ export function __wbg___wbindgen_string_get_395e606bd0ee4427(arg0, arg1) {
|
|
|
102
102
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
103
103
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
104
104
|
}
|
|
105
|
-
export function
|
|
105
|
+
export function __wbg___wbindgen_throw_81fc77679af83bc6(arg0, arg1) {
|
|
106
106
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
107
107
|
}
|
|
108
|
-
export function
|
|
108
|
+
export function __wbg_call_7f2987183bb62793() { return handleError(function (arg0, arg1) {
|
|
109
109
|
const ret = arg0.call(arg1);
|
|
110
110
|
return ret;
|
|
111
111
|
}, arguments); }
|
|
112
|
-
export function
|
|
112
|
+
export function __wbg_done_547d467e97529006(arg0) {
|
|
113
113
|
const ret = arg0.done;
|
|
114
114
|
return ret;
|
|
115
115
|
}
|
|
116
116
|
export function __wbg_getRandomValues_3f44b700395062e5() { return handleError(function (arg0, arg1) {
|
|
117
117
|
globalThis.crypto.getRandomValues(getArrayU8FromWasm0(arg0, arg1));
|
|
118
118
|
}, arguments); }
|
|
119
|
-
export function
|
|
119
|
+
export function __wbg_get_ed0642c4b9d31ddf() { return handleError(function (arg0, arg1) {
|
|
120
120
|
const ret = Reflect.get(arg0, arg1);
|
|
121
121
|
return ret;
|
|
122
122
|
}, arguments); }
|
|
123
|
-
export function
|
|
123
|
+
export function __wbg_get_unchecked_7d7babe32e9e6a54(arg0, arg1) {
|
|
124
124
|
const ret = arg0[arg1 >>> 0];
|
|
125
125
|
return ret;
|
|
126
126
|
}
|
|
@@ -128,7 +128,7 @@ export function __wbg_get_with_ref_key_6412cf3094599694(arg0, arg1) {
|
|
|
128
128
|
const ret = arg0[arg1];
|
|
129
129
|
return ret;
|
|
130
130
|
}
|
|
131
|
-
export function
|
|
131
|
+
export function __wbg_instanceof_ArrayBuffer_ff7c1337a5e3b33a(arg0) {
|
|
132
132
|
let result;
|
|
133
133
|
try {
|
|
134
134
|
result = arg0 instanceof ArrayBuffer;
|
|
@@ -138,7 +138,7 @@ export function __wbg_instanceof_ArrayBuffer_101e2bf31071a9f6(arg0) {
|
|
|
138
138
|
const ret = result;
|
|
139
139
|
return ret;
|
|
140
140
|
}
|
|
141
|
-
export function
|
|
141
|
+
export function __wbg_instanceof_Uint8Array_4b8da683deb25d72(arg0) {
|
|
142
142
|
let result;
|
|
143
143
|
try {
|
|
144
144
|
result = arg0 instanceof Uint8Array;
|
|
@@ -148,60 +148,60 @@ export function __wbg_instanceof_Uint8Array_740438561a5b956d(arg0) {
|
|
|
148
148
|
const ret = result;
|
|
149
149
|
return ret;
|
|
150
150
|
}
|
|
151
|
-
export function
|
|
151
|
+
export function __wbg_isArray_db61795ad004c139(arg0) {
|
|
152
152
|
const ret = Array.isArray(arg0);
|
|
153
153
|
return ret;
|
|
154
154
|
}
|
|
155
|
-
export function
|
|
155
|
+
export function __wbg_isSafeInteger_ea83862ba994770c(arg0) {
|
|
156
156
|
const ret = Number.isSafeInteger(arg0);
|
|
157
157
|
return ret;
|
|
158
158
|
}
|
|
159
|
-
export function
|
|
159
|
+
export function __wbg_iterator_de403ef31815a3e6() {
|
|
160
160
|
const ret = Symbol.iterator;
|
|
161
161
|
return ret;
|
|
162
162
|
}
|
|
163
|
-
export function
|
|
163
|
+
export function __wbg_length_0c32cb8543c8e4c8(arg0) {
|
|
164
164
|
const ret = arg0.length;
|
|
165
165
|
return ret;
|
|
166
166
|
}
|
|
167
|
-
export function
|
|
167
|
+
export function __wbg_length_6e821edde497a532(arg0) {
|
|
168
168
|
const ret = arg0.length;
|
|
169
169
|
return ret;
|
|
170
170
|
}
|
|
171
|
-
export function
|
|
171
|
+
export function __wbg_new_4f9fafbb3909af72() {
|
|
172
|
+
const ret = new Object();
|
|
173
|
+
return ret;
|
|
174
|
+
}
|
|
175
|
+
export function __wbg_new_a560378ea1240b14(arg0) {
|
|
172
176
|
const ret = new Uint8Array(arg0);
|
|
173
177
|
return ret;
|
|
174
178
|
}
|
|
175
|
-
export function
|
|
179
|
+
export function __wbg_new_f3c9df4f38f3f798() {
|
|
176
180
|
const ret = new Array();
|
|
177
181
|
return ret;
|
|
178
182
|
}
|
|
179
|
-
export function
|
|
180
|
-
const ret =
|
|
183
|
+
export function __wbg_next_01132ed6134b8ef5(arg0) {
|
|
184
|
+
const ret = arg0.next;
|
|
181
185
|
return ret;
|
|
182
186
|
}
|
|
183
|
-
export function
|
|
187
|
+
export function __wbg_next_b3713ec761a9dbfd() { return handleError(function (arg0) {
|
|
184
188
|
const ret = arg0.next();
|
|
185
189
|
return ret;
|
|
186
190
|
}, arguments); }
|
|
187
|
-
export function
|
|
188
|
-
const ret = arg0.next;
|
|
189
|
-
return ret;
|
|
190
|
-
}
|
|
191
|
-
export function __wbg_now_16f0c993d5dd6c27() {
|
|
191
|
+
export function __wbg_now_88621c9c9a4f3ffc() {
|
|
192
192
|
const ret = Date.now();
|
|
193
193
|
return ret;
|
|
194
194
|
}
|
|
195
|
-
export function
|
|
195
|
+
export function __wbg_prototypesetcall_3e05eb9545565046(arg0, arg1, arg2) {
|
|
196
196
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), arg2);
|
|
197
197
|
}
|
|
198
|
-
export function __wbg_set_282384002438957f(arg0, arg1, arg2) {
|
|
199
|
-
arg0[arg1 >>> 0] = arg2;
|
|
200
|
-
}
|
|
201
198
|
export function __wbg_set_6be42768c690e380(arg0, arg1, arg2) {
|
|
202
199
|
arg0[arg1] = arg2;
|
|
203
200
|
}
|
|
204
|
-
export function
|
|
201
|
+
export function __wbg_set_6c60b2e8ad0e9383(arg0, arg1, arg2) {
|
|
202
|
+
arg0[arg1 >>> 0] = arg2;
|
|
203
|
+
}
|
|
204
|
+
export function __wbg_value_7f6052747ccf940f(arg0) {
|
|
205
205
|
const ret = arg0.value;
|
|
206
206
|
return ret;
|
|
207
207
|
}
|
package/u_routing_bg.wasm
CHANGED
|
Binary file
|