@tscircuit/capacity-autorouter 0.0.639 → 0.0.640

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
@@ -6037,39 +6037,31 @@ interface RouteSection {
6037
6037
  startIndex: number;
6038
6038
  endIndex: number;
6039
6039
  z: number;
6040
- points: HighDensityRoute["route"];
6040
+ points: HighDensityRoute$1["route"];
6041
6041
  }
6042
+
6042
6043
  declare class SingleRouteUselessViaRemovalSolver extends BaseSolver {
6043
6044
  getSolverName(): string;
6044
6045
  obstacleSHI: ObstacleSpatialHashIndex;
6045
6046
  hdRouteSHI: HighDensityRouteSpatialIndex;
6046
6047
  unsimplifiedRoute: HighDensityRoute;
6048
+ connMap: ConnectivityMap;
6047
6049
  routeSections: Array<RouteSection>;
6048
6050
  currentSectionIndex: number;
6049
6051
  TRACE_THICKNESS: number;
6050
6052
  OBSTACLE_MARGIN: number;
6051
- ENDPOINT_LAYER_EPSILON: number;
6052
6053
  constructor(params: {
6053
6054
  obstacleSHI: ObstacleSpatialHashIndex;
6054
6055
  hdRouteSHI: HighDensityRouteSpatialIndex;
6055
6056
  unsimplifiedRoute: HighDensityRoute;
6057
+ connMap: ConnectivityMap;
6056
6058
  });
6057
- breakRouteIntoSections(route: HighDensityRoute): never[] | this["routeSections"];
6058
6059
  _step(): void;
6059
- /**
6060
- * Check if an endpoint (first or last point of the route) can connect
6061
- * to a different layer. This is only allowed if the obstacles the endpoint
6062
- * connects to support that layer.
6063
- */
6064
- canEndpointConnectOnLayer(endpointX: number, endpointY: number, targetZ: number): boolean;
6065
- canSectionMoveToLayer({ currentSection, targetZ, }: {
6066
- currentSection: RouteSection;
6067
- targetZ: number;
6068
- }): boolean;
6069
6060
  getConstructorParams(): {
6070
6061
  obstacleSHI: ObstacleSpatialHashIndex;
6071
6062
  hdRouteSHI: HighDensityRouteSpatialIndex;
6072
6063
  unsimplifiedRoute: HighDensityIntraNodeRoute;
6064
+ connMap: ConnectivityMap;
6073
6065
  };
6074
6066
  getOptimizedHdRoute(): HighDensityRoute;
6075
6067
  visualize(): GraphicsObject;
@@ -6080,6 +6072,7 @@ interface UselessViaRemovalSolverInput {
6080
6072
  obstacles: Obstacle[];
6081
6073
  colorMap: Record<string, string>;
6082
6074
  layerCount: number;
6075
+ connMap: ConnectivityMap;
6083
6076
  }
6084
6077
  declare class UselessViaRemovalSolver extends BaseSolver {
6085
6078
  private input;