Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/src/wgps/reconciliation/aoi_intersection_finder.ts>AoiIntersectionFinder

Exploring Willow in the most efficient and sound programming language
Go to Latest
class AoiIntersectionFinder
import { AoiIntersectionFinder } from "https://deno.land/x/willow@0.2.1/src/wgps/reconciliation/aoi_intersection_finder.ts";

Type Parameters

NamespaceId
SubspaceId

Properties

private
handlesOurs: HandleStore<AreaOfInterest<SubspaceId>>
private
handlesOursNamespaceMap: Map<bigint, NamespaceId>
private
handlesTheirs: HandleStore<AreaOfInterest<SubspaceId>>
private
handlesTheirsNamespaceMap: Map<bigint, NamespaceId>
private
intersectingAoiQueue: FIFO<{ namespace: NamespaceId; ours: bigint; theirs: bigint; }>
private
namespaceScheme: NamespaceScheme<NamespaceId>
private
subspaceScheme: SubspaceScheme<SubspaceId>

Methods

addAoiHandleForNamespace(
handle: bigint,
namespace: NamespaceId,
ours: boolean,
): void
handleToNamespaceId(handle: bigint, ours: boolean): NamespaceId | undefined