@tscircuit/capacity-autorouter 0.0.886 → 0.0.888

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/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { CurvyTraceSolver } from '@tscircuit/curvy-trace-solver';
10
10
  import { JumperGraphSolver, JRegion, JPort, HyperGraph, RegionPort, Region, RegionPortAssignment, Connection, SolvedRoute, Candidate as Candidate$3, HyperGraphSolver, HyperGraphSectionOptimizer } from '@tscircuit/hypergraph';
11
11
  import { ConnectivityMap as ConnectivityMap$1 } from 'connectivity-map';
12
12
  import { HighDensityForceImproveSolver } from 'high-density-repair01/lib/HighDensityForceImproveSolver';
13
- import { GlobalDrcForceImproveSolver, GlobalDrcBranchPortfolioSolver, GlobalDrcBranchPortfolioSolverParams, HighDensityRoute as HighDensityRoute$2 } from 'high-density-repair03/lib';
13
+ import { GlobalDrcForceImproveSolver, GlobalDrcBranchPortfolioSolver } from 'high-density-repair03/lib';
14
14
  export { DrcError, DrcEvaluator, DrcSnapshot, GlobalDrcBranchPortfolioSolver, GlobalDrcBranchPortfolioSolverParams, GlobalDrcForceImproveSolver, GlobalDrcForceImproveSolverParams, HighDensityRoute } from 'high-density-repair03/lib';
15
15
  import { DatasetSample, HighDensityRepairSolver } from 'high-density-repair02';
16
16
  import { LayerMergeMode, ConvexRegionsComputeResult, SerializedPolyHyperGraph } from 'pcb-poly-hyper-graph';
@@ -18,7 +18,6 @@ import { PolyHyperGraphLoadResult, PolyHyperGraphSolver } from 'tiny-hypergraph-
18
18
  import { PostProcessingSolver } from '@tscircuit/length-matching-solver';
19
19
  import { PowerTraceExpanderOptions, PowerTraceExpanderSolver } from '@tscircuit/power-trace-expander';
20
20
  import { HighDensitySolverB01 } from '@tscircuit/high-density-b01';
21
- import * as high_density_repair03_types_high_density_types from 'high-density-repair03/types/high-density-types';
22
21
  import { FanoutSolverOptions, FanoutSolver, FanoutSolverOutput } from '@tscircuit/fanout-solver';
23
22
 
24
23
  interface CacheProvider {
@@ -6295,35 +6294,6 @@ declare class Pipeline9HighDensitySolver extends BaseSolver {
6295
6294
  visualize(): GraphicsObject;
6296
6295
  }
6297
6296
 
6298
- /**
6299
- * Tries Pipeline7's inexpensive two-layer repair portfolio first, then accepts
6300
- * it only when the same DRC evaluator used for candidate scoring reports a
6301
- * clean result. Failed probes are discarded before the original full
6302
- * portfolio runs, so routing behavior is selected by the result rather than
6303
- * board-size thresholds.
6304
- */
6305
- declare class Pipeline7AdaptiveDrcBranchPortfolioSolver extends BaseSolver$1 {
6306
- readonly params: GlobalDrcBranchPortfolioSolverParams;
6307
- readonly inputHdRoutes: HighDensityRoute$2[];
6308
- outputHdRoutes: HighDensityRoute$2[];
6309
- private phase;
6310
- private fastProbeSolver?;
6311
- private fallbackSolver?;
6312
- private selectedSolver?;
6313
- private fastProbeDrcIssueCount?;
6314
- private fastProbeAttempted;
6315
- constructor(params: GlobalDrcBranchPortfolioSolverParams);
6316
- getConstructorParams(): [GlobalDrcBranchPortfolioSolverParams];
6317
- private startFastProbe;
6318
- private startFallback;
6319
- private evaluateFastProbeDrcIssueCount;
6320
- private finish;
6321
- _step(): void;
6322
- getOutput(): high_density_repair03_types_high_density_types.HighDensityIntraNodeRoute[];
6323
- visualize(): GraphicsObject;
6324
- preview(): GraphicsObject;
6325
- }
6326
-
6327
6297
  type Pipeline9JointDrcRepairSolverParams = {
6328
6298
  srj: SimpleRouteJson;
6329
6299
  srjWithPointPairs: SimpleRouteJson;
@@ -6359,9 +6329,12 @@ declare class Pipeline9JointDrcRepairSolver extends BaseSolver {
6359
6329
  readonly movablePreloadedSections: MovablePreloadedSection[];
6360
6330
  readonly fixedPreloadedObstacleRoutes: PreloadedHighDensityRoute[];
6361
6331
  readonly syntheticConnectionNames: ReadonlySet<string>;
6362
- readonly exactRepairSolver?: Pipeline7AdaptiveDrcBranchPortfolioSolver;
6332
+ readonly exactRepairSolver?: GlobalDrcBranchPortfolioSolver;
6363
6333
  private drcEvaluator?;
6364
6334
  private cachedReferenceDrcEvaluator?;
6335
+ private clearancePrecisionDrcEvaluator?;
6336
+ private clearancePrecisionIndexedDrcEvaluator?;
6337
+ private clearanceMarginDrcEvaluator?;
6365
6338
  private referenceDrcValidationCount;
6366
6339
  private referenceDrcFalseNegativeCount;
6367
6340
  private indexedDrcEvaluationCount;