@mark1russell7/layout-contract 0.6.0 → 0.6.2
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/build/index.d.ts +40 -2
- package/build/index.d.ts.map +1 -1
- package/build/index.js +72 -1
- package/build/index.js.map +1 -1
- package/build/{measures-COqcrCzv.d.ts → measures-DGKAulWv.d.ts} +17 -2
- package/build/measures-DGKAulWv.d.ts.map +1 -0
- package/build/text.d.ts +1 -1
- package/package.json +1 -1
- package/src/geometry.ts +23 -0
- package/src/record.ts +73 -0
- package/build/measures-COqcrCzv.d.ts.map +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as CorpusSplit, A as shapeKindsOf, At as
|
|
1
|
+
import { $ as CorpusSplit, A as shapeKindsOf, At as overlapOf, B as LayoutInput, C as checkShapes, Ct as Sides, D as ruleLevel, Dt as dropIndex, E as itemShapeOf, Et as crossingPoint, F as LayoutBox, Ft as toSizedRect, G as PairGap, H as PackInput, I as LayoutCell, It as translate, J as packLinks, K as Port, L as LayoutContainer, M as shapeSupportProblems, Mt as regionArea, N as shapesOf, Nt as segmentsCross, O as shapeKindOf, Ot as grow, P as Item, Pt as toRect, Q as CorpusEntry, R as LayoutEdge, S as boxArea, St as Side, T as isShapeKind, Tt as boundsOf, U as PackInputOptions, V as Obstacle, W as PackLink, X as toPackInput, Y as portPoint, Z as ClaimBreak, _ as ShapeKind, _t as Margin, a as MeasureSpec, at as SPLIT_SCHEMA, b as ShapeLimit, bt as Region, c as minEffectOf, ct as checkDeclared, d as SHAPE_KINDS, dt as declaredClaimOf, et as DeclaredClaim, f as SHAPE_KIND_IDS, ft as declaredCounts, g as ShapeInput, gt as splitFolds, h as ShapeGeometry, ht as splitFileName, i as JointMeasureId, it as FamilyCell, j as shapeLevel, jt as pointSegmentDistance, k as shapeKindProblem, kt as marginSides, l as DEFAULT_SHAPES, lt as checkSplit, m as ShapeCheck, mt as leaveOneSeedOut, n as JOINT_MEASURES, nt as FAMILY_ANY_KIND, o as Verdict, ot as SplitCorpus, p as ShapeBound, pt as familyOf, q as canonicalInput, r as JOINT_MOVED_MIN, rt as FamilyBy, s as compareMeasure, st as SplitFold, t as Direction, tt as Declares, u as RuleLevel, ut as corpusHashOf, v as ShapeKindSpec, vt as Point, w as inputShapeLevel, wt as SizedRect, x as ShapeSupport, xt as SIDES, y as ShapeLevel, yt as Rect, z as LayoutGenerator } from "./measures-DGKAulWv.js";
|
|
2
2
|
/** The epsilon for the float compares in an engine. */
|
|
3
3
|
export declare const EPS = 1e-6;
|
|
4
4
|
/** The count of `EPS` steps in one layout unit. It is the integer equal to `1 / EPS`. */
|
|
@@ -129,6 +129,26 @@ export interface LayoutRecord {
|
|
|
129
129
|
/** The reason when the strategy did not run, for example an input over its `maxNodes`. Then the record has no measures. */
|
|
130
130
|
readonly skipped?: string;
|
|
131
131
|
readonly commit?: string;
|
|
132
|
+
/**
|
|
133
|
+
* The facts of a carry: a later run kept this record after an engine release, with no new measure (L147).
|
|
134
|
+
* Without the field, the engines of the run of the record measured it.
|
|
135
|
+
* The measures, the hashes and the times stay the values of the versions of `carried.from`.
|
|
136
|
+
*/
|
|
137
|
+
readonly carried?: Carried;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* The facts of a record that a run kept from an older run after an engine release (L147).
|
|
141
|
+
* The run kept it because each strategy of the record has the same fingerprint at the two versions.
|
|
142
|
+
*/
|
|
143
|
+
export interface Carried {
|
|
144
|
+
/** The version of each engine at the measure, by the name of the engine. */
|
|
145
|
+
readonly from: Readonly<Record<string, string>>;
|
|
146
|
+
/** The version of each engine of the run that keeps the record. The names are the names of `from`. */
|
|
147
|
+
readonly to: Readonly<Record<string, string>>;
|
|
148
|
+
/** The fingerprint of each strategy of the record, by its name: `fingerprintOf` of its probes, the same at the two versions. */
|
|
149
|
+
readonly fingerprints: Readonly<Record<string, string>>;
|
|
150
|
+
/** The id of the run that measured the record. */
|
|
151
|
+
readonly run?: string;
|
|
132
152
|
}
|
|
133
153
|
/**
|
|
134
154
|
* The values that a strategy supports, for each dimension of a taxonomy.
|
|
@@ -175,6 +195,24 @@ export declare function checkLayoutRecord(value: unknown): string[];
|
|
|
175
195
|
* An old skipped record has a boolean `deterministic`. The result has `null` in its place, because no run made that claim.
|
|
176
196
|
*/
|
|
177
197
|
export declare function parseLayoutRecord(value: unknown): LayoutRecord;
|
|
198
|
+
/** The facts of one carry, for `carryRecord`. */
|
|
199
|
+
export interface CarryFacts {
|
|
200
|
+
/** The version of each engine of the run that keeps the record. */
|
|
201
|
+
readonly to: Readonly<Record<string, string>>;
|
|
202
|
+
/** The fingerprint of each strategy of the record, the same at the two versions. */
|
|
203
|
+
readonly fingerprints: Readonly<Record<string, string>>;
|
|
204
|
+
/** The version of each engine at the measure. A record that a run carried before keeps its `carried.from`, and the function ignores this value. */
|
|
205
|
+
readonly from?: Readonly<Record<string, string>>;
|
|
206
|
+
/** The id of the run that measured the record. A record that a run carried before keeps its `carried.run`. */
|
|
207
|
+
readonly run?: string;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* This function gives a record that a run keeps after an engine release, with the field `carried` (L147).
|
|
211
|
+
* A record that a run carried before keeps the versions and the run of its measure, so `carried.from` always names the measure.
|
|
212
|
+
* The function throws a `RangeError` for a skipped record: a skip makes no claim on an output, so the run measures the pair again.
|
|
213
|
+
* It also throws a `RangeError` when `checkLayoutRecord` refuses the field `carried` of the result.
|
|
214
|
+
*/
|
|
215
|
+
export declare function carryRecord(record: LayoutRecord, facts: CarryFacts): LayoutRecord;
|
|
178
216
|
/** This function gives the area of a placed box: its shape or its rectangle, at its position. A box without a position gives `undefined`. */
|
|
179
217
|
export declare function placedRect(box: LayoutBox): Rect | undefined;
|
|
180
218
|
/**
|
|
@@ -1734,5 +1772,5 @@ export declare const CIRCLE_SCATTERED: CorpusFamily<LayoutInput>;
|
|
|
1734
1772
|
* The steps `container`, `obstacles` and `boxes` each have a stream of `stepRandom`. Each value is a whole number, so the family is `exact`.
|
|
1735
1773
|
*/
|
|
1736
1774
|
export declare const RECT_SCATTERED: CorpusFamily<LayoutInput>;
|
|
1737
|
-
export { ClaimBreak, CorpusEntry, CorpusSplit, DEFAULT_SHAPES, DeclaredClaim, Declares, Direction, FAMILY_ANY_KIND, FamilyBy, FamilyCell, Item, JOINT_MEASURES, JOINT_MOVED_MIN, JointMeasureId, LayoutBox, LayoutCell, LayoutContainer, LayoutEdge, LayoutGenerator, LayoutInput, Margin, MeasureSpec, Obstacle, PackInput, PackInputOptions, PackLink, PairGap, Point, Port, Rect, Region, RuleLevel, SHAPE_KINDS, SHAPE_KIND_IDS, SIDES, SPLIT_SCHEMA, ShapeBound, ShapeCheck, ShapeGeometry, ShapeInput, ShapeKind, ShapeKindSpec, ShapeLevel, ShapeLimit, ShapeSupport, Side, Sides, SizedRect, SplitCorpus, SplitFold, Verdict, boundsOf, boxArea, canonicalInput, checkDeclared, checkShapes, checkSplit, compareMeasure, corpusHashOf, crossingPoint, declaredClaimOf, declaredCounts, familyOf, grow, inputShapeLevel, isShapeKind, itemShapeOf, leaveOneSeedOut, marginSides, minEffectOf, overlapOf, packLinks, pointSegmentDistance, portPoint, regionArea, ruleLevel, segmentsCross, shapeKindOf, shapeKindProblem, shapeKindsOf, shapeLevel, shapeSupportProblems, shapesOf, splitFileName, splitFolds, toPackInput, toRect, toSizedRect, translate };
|
|
1775
|
+
export { ClaimBreak, CorpusEntry, CorpusSplit, DEFAULT_SHAPES, DeclaredClaim, Declares, Direction, FAMILY_ANY_KIND, FamilyBy, FamilyCell, Item, JOINT_MEASURES, JOINT_MOVED_MIN, JointMeasureId, LayoutBox, LayoutCell, LayoutContainer, LayoutEdge, LayoutGenerator, LayoutInput, Margin, MeasureSpec, Obstacle, PackInput, PackInputOptions, PackLink, PairGap, Point, Port, Rect, Region, RuleLevel, SHAPE_KINDS, SHAPE_KIND_IDS, SIDES, SPLIT_SCHEMA, ShapeBound, ShapeCheck, ShapeGeometry, ShapeInput, ShapeKind, ShapeKindSpec, ShapeLevel, ShapeLimit, ShapeSupport, Side, Sides, SizedRect, SplitCorpus, SplitFold, Verdict, boundsOf, boxArea, canonicalInput, checkDeclared, checkShapes, checkSplit, compareMeasure, corpusHashOf, crossingPoint, declaredClaimOf, declaredCounts, dropIndex, familyOf, grow, inputShapeLevel, isShapeKind, itemShapeOf, leaveOneSeedOut, marginSides, minEffectOf, overlapOf, packLinks, pointSegmentDistance, portPoint, regionArea, ruleLevel, segmentsCross, shapeKindOf, shapeKindProblem, shapeKindsOf, shapeLevel, shapeSupportProblems, shapesOf, splitFileName, splitFolds, toPackInput, toRect, toSizedRect, translate };
|
|
1738
1776
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/balance.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/strategy-options.ts","../src/strategy-catalog.ts","../src/verdict.ts","../src/families.ts"],"mappings":";;qBACa;;qBAGA;;;;;qBAMA;;;;;qBAMA;;;;;iBAMI;;WAEN;;WAEA;;;;;;qBAOE,mBAAmB;;iBC5Bf;WACN;WACA;WACA;WACA;;;iBAIM;WACN;WACA;WACA,WAAW,SAAS;;;iBAId;WACN,qBAAqB;;WAErB;;WAEA;aAAiB;aAAoB;;;WAErC;aAA2B;aAAqB;aAAoB;;WACpE,iBAAiB;;;;;;;wBAQZ,UAAU,OAAO,aAAa,QAAQ,aAAa;;YC/BvD;;iBAGK;WACN;WACA,OAAO;WACP;WACA;;WAEA,SAAS,SAAS;WAClB;;WAEA;;WAEA;WACA;WACA;WACA;WACA;;WAEA,kBAAkB;;WAElB,UAAU,SAAS;;WAEnB,MAAM,SAAS;;WAEf,YAAY,SAAS,QAAQ;;WAE7B;;;;;;;WAOA;;WAEA;;WAEA;;WAEA;;;;;;WAMA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;WAEA,MAAM;;WAEN;WACA;;;;;;YAOC,WAAW,SAAS;;iBAGf;WACN;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;;YAIC,WAAW,KAAK;;;;;wBAMZ,eAAe,OAAO,aAAa,KAAK,WAAW;;;;;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/tolerance.ts","../src/output.ts","../src/record.ts","../src/rules.ts","../src/turn.ts","../src/balance.ts","../src/strategy.ts","../src/random.ts","../src/edges.ts","../src/hash.ts","../src/portfolio.ts","../src/strategy-space.ts","../src/strategy-options.ts","../src/strategy-catalog.ts","../src/verdict.ts","../src/families.ts"],"mappings":";;qBACa;;qBAGA;;;;;qBAMA;;;;;qBAMA;;;;;iBAMI;;WAEN;;WAEA;;;;;;qBAOE,mBAAmB;;iBC5Bf;WACN;WACA;WACA;WACA;;;iBAIM;WACN;WACA;WACA,WAAW,SAAS;;;iBAId;WACN,qBAAqB;;WAErB;;WAEA;aAAiB;aAAoB;;;WAErC;aAA2B;aAAqB;aAAoB;;WACpE,iBAAiB;;;;;;;wBAQZ,UAAU,OAAO,aAAa,QAAQ,aAAa;;YC/BvD;;iBAGK;WACN;WACA,OAAO;WACP;WACA;;WAEA,SAAS,SAAS;WAClB;;WAEA;;WAEA;WACA;WACA;WACA;WACA;;WAEA,kBAAkB;;WAElB,UAAU,SAAS;;WAEnB,MAAM,SAAS;;WAEf,YAAY,SAAS,QAAQ;;WAE7B;;;;;;;WAOA;;WAEA;;WAEA;;WAEA;;;;;;WAMA;;WAEA;;WAEA;;WAEA;;;;;WAKA;;WAEA,MAAM;;WAEN;WACA;;;;;;WAMA,UAAU;;;;;;iBAOJ;;WAEN,MAAM,SAAS;;WAEf,IAAI,SAAS;;WAEb,cAAc,SAAS;;WAEvB;;;;;;YAOC,WAAW,SAAS;;iBAG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AAiB;;;;;wBA+FxC,YAAY,KAAK,YAAY;;wBAa7B,cAAc,KAAK,YAAY;;;;;;wBAsB/B,SAAS,KAAK,iBAAiB,iBAAiB;;;;;;;;wBAsChD,kBACd,qBAAqB,mBACrB,OAAM,SAAS,eAAe,cAC9B,gBACA,cACC;;wBA8Ha,qBAAqB,IAAI,aAAa,WAAU,SAAS,aAAa,MAAW,eAAe;;iBA2G/F;WACN;WACA;;WAEA;WACA;;WAEA,qBAAqB;;WAErB;WACA,aAAa;;WAEb,cAAc,MAAM;;EAE7B,MAAM,OAAO,aAAa,cAAc,MAAM,kBAAkB;;;iBAIjD;;WAEN;;WAEA;WACA;;WAEA,QAAQ,OAAO;;;;;;;wBAWV,cAAc,MAAM,aAAa,cAAc,gBAAgB,cAAc,UAAS,iBAAsB,aAAa;;;;;qBA+D5H,YAAY;;;;qBA0BZ,eAAe;;;;;;;;;qBAuBf,kBAAkB,aAAa;;;;;;qBAqD/B,gBAAgB,aAAa"}
|
package/build/index.js
CHANGED
|
@@ -187,6 +187,28 @@ function pointSegmentDistance(p, a, b) {
|
|
|
187
187
|
const t = l2 === 0 ? 0 : Math.max(0, Math.min(1, ((p.x - a.x) * dx + (p.y - a.y) * dy) / l2));
|
|
188
188
|
return Math.hypot(p.x - (a.x + t * dx), p.y - (a.y + t * dy));
|
|
189
189
|
}
|
|
190
|
+
/**
|
|
191
|
+
* This function gives the index at which a point goes among the items of a list on the screen.
|
|
192
|
+
* The reading order is the rows from top to bottom, and each row from left to right.
|
|
193
|
+
* The index is that of the first item whose center comes after the point, from 0 to the number of items.
|
|
194
|
+
* A center within `rowTolerance` of the point on the vertical axis is in the row of the point.
|
|
195
|
+
* The tolerance has the units of the points: on a screen, the default 24 is 24 pixels.
|
|
196
|
+
*
|
|
197
|
+
* Give the centers in reading order and without the item that moves.
|
|
198
|
+
*
|
|
199
|
+
* @example
|
|
200
|
+
* ```ts
|
|
201
|
+
* const index = dropIndex(pointer, others.map(centerOf));
|
|
202
|
+
* ```
|
|
203
|
+
*/
|
|
204
|
+
function dropIndex(point, centers, rowTolerance = 24) {
|
|
205
|
+
for (let i = 0; i < centers.length; i++) {
|
|
206
|
+
const c = centers[i];
|
|
207
|
+
if (point.y < c.y - rowTolerance) return i;
|
|
208
|
+
if (Math.abs(point.y - c.y) <= rowTolerance && point.x < c.x) return i;
|
|
209
|
+
}
|
|
210
|
+
return centers.length;
|
|
211
|
+
}
|
|
190
212
|
// src/shapes.ts
|
|
191
213
|
/**
|
|
192
214
|
* The declared shape kinds, in their order. Only `rect` has all of its geometry.
|
|
@@ -721,6 +743,27 @@ function numberMap(out, v, name) {
|
|
|
721
743
|
}
|
|
722
744
|
for (const [key, n] of Object.entries(v)) if (typeof n !== "number") out.push(`${name}.${key} is not a number`);
|
|
723
745
|
}
|
|
746
|
+
/** This function tells if a value is an object whose values are strings. */
|
|
747
|
+
const isStringMap = (v) => isFields$1(v) && Object.values(v).every((s) => typeof s === "string");
|
|
748
|
+
/** This function gives the problems of the field `carried` of a record. */
|
|
749
|
+
function carriedProblems(carried) {
|
|
750
|
+
if (!isFields$1(carried)) return ["carried is not an object"];
|
|
751
|
+
const out = [];
|
|
752
|
+
for (const key of [
|
|
753
|
+
"from",
|
|
754
|
+
"to",
|
|
755
|
+
"fingerprints"
|
|
756
|
+
]) if (!isStringMap(carried[key])) out.push(`carried.${key} is not a map of strings`);
|
|
757
|
+
if (carried["run"] !== void 0 && typeof carried["run"] !== "string") out.push("carried.run is not a string");
|
|
758
|
+
if (out.length > 0) return out;
|
|
759
|
+
const from = carried["from"];
|
|
760
|
+
const to = carried["to"];
|
|
761
|
+
const names = (m) => Object.keys(m).sort().join(",");
|
|
762
|
+
if (names(from) === "" || names(from) !== names(to)) out.push("carried.from and carried.to do not name the same engines");
|
|
763
|
+
else if (Object.keys(from).every((name) => from[name] === to[name])) out.push("carried.to has no other version than carried.from");
|
|
764
|
+
if (Object.keys(carried["fingerprints"]).length === 0) out.push("carried.fingerprints is empty");
|
|
765
|
+
return out;
|
|
766
|
+
}
|
|
724
767
|
/** This function gives the problems of the field `env` of a record. */
|
|
725
768
|
function envProblems(env) {
|
|
726
769
|
if (!isFields$1(env)) return ["env is not an object"];
|
|
@@ -764,6 +807,10 @@ function checkLayoutRecord(value) {
|
|
|
764
807
|
const because = v["because"];
|
|
765
808
|
if (because !== void 0 && (!Array.isArray(because) || !because.every((s) => typeof s === "string"))) out.push("because is not a list of strings");
|
|
766
809
|
if (v["env"] !== void 0) out.push(...envProblems(v["env"]));
|
|
810
|
+
if (v["carried"] !== void 0) {
|
|
811
|
+
out.push(...carriedProblems(v["carried"]));
|
|
812
|
+
if (v["skipped"] !== void 0) out.push("a skipped record has carried");
|
|
813
|
+
}
|
|
767
814
|
const deterministic = v["deterministic"];
|
|
768
815
|
if (v["skipped"] === void 0) {
|
|
769
816
|
const noClaim = deterministic === null && v["oneRun"] === true;
|
|
@@ -785,6 +832,30 @@ function parseLayoutRecord(value) {
|
|
|
785
832
|
deterministic: null
|
|
786
833
|
} : record;
|
|
787
834
|
}
|
|
835
|
+
/**
|
|
836
|
+
* This function gives a record that a run keeps after an engine release, with the field `carried` (L147).
|
|
837
|
+
* A record that a run carried before keeps the versions and the run of its measure, so `carried.from` always names the measure.
|
|
838
|
+
* The function throws a `RangeError` for a skipped record: a skip makes no claim on an output, so the run measures the pair again.
|
|
839
|
+
* It also throws a `RangeError` when `checkLayoutRecord` refuses the field `carried` of the result.
|
|
840
|
+
*/
|
|
841
|
+
function carryRecord(record, facts) {
|
|
842
|
+
if (record.skipped !== void 0) throw new RangeError(`The record of ${record.strategy} on ${record.input} is skipped, so a run measures it again.`);
|
|
843
|
+
const from = record.carried?.from ?? facts.from;
|
|
844
|
+
if (from === void 0) throw new RangeError(`The record of ${record.strategy} on ${record.input} has no carried.from, so the carry needs from.`);
|
|
845
|
+
const run = record.carried?.run ?? facts.run;
|
|
846
|
+
const carried = {
|
|
847
|
+
from,
|
|
848
|
+
to: facts.to,
|
|
849
|
+
fingerprints: facts.fingerprints,
|
|
850
|
+
...run === void 0 ? {} : { run }
|
|
851
|
+
};
|
|
852
|
+
const problems = carriedProblems(carried);
|
|
853
|
+
if (problems.length > 0) throw new RangeError(`The carry of ${record.strategy} on ${record.input} is bad: ${problems.join(", ")}.`);
|
|
854
|
+
return {
|
|
855
|
+
...record,
|
|
856
|
+
carried
|
|
857
|
+
};
|
|
858
|
+
}
|
|
788
859
|
// src/rules.ts
|
|
789
860
|
/** This function gives the area of a placed box: its shape or its rectangle, at its position. A box without a position gives `undefined`. */
|
|
790
861
|
function placedRect(box) {
|
|
@@ -6260,6 +6331,6 @@ const RECT_SCATTERED = /* @__PURE__ */ Object.freeze({
|
|
|
6260
6331
|
};
|
|
6261
6332
|
}
|
|
6262
6333
|
});
|
|
6263
|
-
export { BALANCE_MEASURE_SUFFIXES, BALANCE_SIDE_DEPTH, CIRCLE_SCATTERED, CORPUS_DIMENSIONS, DEFAULT_FAMILY_BY, DEFAULT_RNG, DEFAULT_SHAPES, DEFAULT_TOLERANCE, EDGES_STEP, EDGE_DENSITY, EDGE_KEY_STEP, EDGE_KEY_STEP_VERSION, EDGE_STEP_VERSION, EPS, EPS_STEPS, FAMILY_ANY_KIND, HARD_RULE_VERSION, INVALIDATED_FIELD, JOINT_MEASURES, JOINT_MOVED_MIN, NODE_POSITIONS_DIMENSION, OUTPUT_CLASS_MIN_INPUTS, OUTPUT_GRID_PROPERTIES, OUTPUT_NEAR_WHOLE, PACK_HARD_RULES, RECORD_EPS, RECORD_SCALE, RECT_SCATTERED, REFUSED_PROBE, SHAPE_KINDS, SHAPE_KIND_IDS, SIDES, SPLIT_SCHEMA, STRATEGY_CATALOG_SCHEMA, STRATEGY_CATALOG_SCHEMAS, STRATEGY_SPACE_SCHEMA, VERDICT_DRAWS, VERDICT_EXACT_CAP, VERDICT_EXACT_MAX, VERDICT_RUNS, VERDICT_SEED, applyPack, balanceMeasureSpecs, balanceMeasures, balanceOf, boundsOf, boxArea, canonicalConfig, canonicalInput, canonicalJson, catalogChoices, catalogDefaults, catalogKey, catalogOptions, checkCatalog, checkConfig, checkDeclared, checkInput, checkLayoutRecord, checkOptions, checkSchema, checkShapes, checkSpace, checkSplit, circleOverlaps, circlesOutside, clampOptions, compareMeasure, composeFamily, configId, corpusHashOf, countLinksThroughShapes, countObstacleHits, countOutside, countOverlaps, countPortsOffBorder, createFamilyRegistry, crossingPoint, declarationIssues, declaredClaimOf, declaredCounts, decodeOptionValue, dimensionAt, dimensionSupports, dimensionUnit, documentHash, edgeKeyStep, edgeStep, encodeOptionValue, enumerateSpace, exercised, familyKind, familyOf, fingerprintOf, fnv1a32, grow, hardRuleOf, inputShapeLevel, isShapeKind, itemShapeOf, joinConfigs, leaveOneSeedOut, levelsOf, listOptions, marginSides, minEffectOf, mulberry32, nearestGaps, optionDefaults, optionIssue, outputGridClass, outputGroups, outputHash, overlapOf, ownerDimension, packHard, packLinks, packOutputForm, paramActive, paramLevels, paramProblem, paramValue, parseLayoutRecord, parseStrategyCatalog, perChange, pickMoves, placedCircle, placedRect, pointSegmentDistance, portPoint, portfolio, probeHash, procrustesOf, productSpace, randomInt, rectInRegion, regionArea, regionHitsRect, resolveDimensions, ruleLevel, segmentThroughShape, segmentsCross, selectBest, sha256Hex, shapeKindOf, shapeKindProblem, shapeKindsOf, shapeLevel, shapeSupportProblems, shapesOf, shapesOverlap, sharedDimension, spaceShapeKinds, spaceSize, splitConfig, splitFileName, splitFolds, stepRandom, sweepGrid, sweepOf, sweepValues, toLayoutRecord, toPackInput, toRect, toSizedRect, translate, turnBox, turnMargin, turnPoint, turnPort, turnRegion, turnSide, verdict, writeStrategyCatalog };
|
|
6334
|
+
export { BALANCE_MEASURE_SUFFIXES, BALANCE_SIDE_DEPTH, CIRCLE_SCATTERED, CORPUS_DIMENSIONS, DEFAULT_FAMILY_BY, DEFAULT_RNG, DEFAULT_SHAPES, DEFAULT_TOLERANCE, EDGES_STEP, EDGE_DENSITY, EDGE_KEY_STEP, EDGE_KEY_STEP_VERSION, EDGE_STEP_VERSION, EPS, EPS_STEPS, FAMILY_ANY_KIND, HARD_RULE_VERSION, INVALIDATED_FIELD, JOINT_MEASURES, JOINT_MOVED_MIN, NODE_POSITIONS_DIMENSION, OUTPUT_CLASS_MIN_INPUTS, OUTPUT_GRID_PROPERTIES, OUTPUT_NEAR_WHOLE, PACK_HARD_RULES, RECORD_EPS, RECORD_SCALE, RECT_SCATTERED, REFUSED_PROBE, SHAPE_KINDS, SHAPE_KIND_IDS, SIDES, SPLIT_SCHEMA, STRATEGY_CATALOG_SCHEMA, STRATEGY_CATALOG_SCHEMAS, STRATEGY_SPACE_SCHEMA, VERDICT_DRAWS, VERDICT_EXACT_CAP, VERDICT_EXACT_MAX, VERDICT_RUNS, VERDICT_SEED, applyPack, balanceMeasureSpecs, balanceMeasures, balanceOf, boundsOf, boxArea, canonicalConfig, canonicalInput, canonicalJson, carryRecord, catalogChoices, catalogDefaults, catalogKey, catalogOptions, checkCatalog, checkConfig, checkDeclared, checkInput, checkLayoutRecord, checkOptions, checkSchema, checkShapes, checkSpace, checkSplit, circleOverlaps, circlesOutside, clampOptions, compareMeasure, composeFamily, configId, corpusHashOf, countLinksThroughShapes, countObstacleHits, countOutside, countOverlaps, countPortsOffBorder, createFamilyRegistry, crossingPoint, declarationIssues, declaredClaimOf, declaredCounts, decodeOptionValue, dimensionAt, dimensionSupports, dimensionUnit, documentHash, dropIndex, edgeKeyStep, edgeStep, encodeOptionValue, enumerateSpace, exercised, familyKind, familyOf, fingerprintOf, fnv1a32, grow, hardRuleOf, inputShapeLevel, isShapeKind, itemShapeOf, joinConfigs, leaveOneSeedOut, levelsOf, listOptions, marginSides, minEffectOf, mulberry32, nearestGaps, optionDefaults, optionIssue, outputGridClass, outputGroups, outputHash, overlapOf, ownerDimension, packHard, packLinks, packOutputForm, paramActive, paramLevels, paramProblem, paramValue, parseLayoutRecord, parseStrategyCatalog, perChange, pickMoves, placedCircle, placedRect, pointSegmentDistance, portPoint, portfolio, probeHash, procrustesOf, productSpace, randomInt, rectInRegion, regionArea, regionHitsRect, resolveDimensions, ruleLevel, segmentThroughShape, segmentsCross, selectBest, sha256Hex, shapeKindOf, shapeKindProblem, shapeKindsOf, shapeLevel, shapeSupportProblems, shapesOf, shapesOverlap, sharedDimension, spaceShapeKinds, spaceSize, splitConfig, splitFileName, splitFolds, stepRandom, sweepGrid, sweepOf, sweepValues, toLayoutRecord, toPackInput, toRect, toSizedRect, translate, turnBox, turnMargin, turnPoint, turnPort, turnRegion, turnSide, verdict, writeStrategyCatalog };
|
|
6264
6335
|
|
|
6265
6336
|
//# sourceMappingURL=index.js.map
|