Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/core/menu/graph/non-valued/index.ts>Edge.Hashed

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Edge.Hashed
import { Edge } from "https://deno.land/x/rimbu@1.1.0/core/menu/graph/non-valued/index.ts";
const { Hashed } = Edge;

Interfaces

A mutable EdgeGraphHashed builder used to efficiently create new immutable instances. See the Graph documentation and the EdgeGraphHashed.Builder API documentation

The EdgeGraphHashed's Context instance that serves as a factory for all related immutable instances and builders.

A non-empty type-invariant immutable valued edge (undirected) graph. The connections are internally maintained using hashed collections See the Graph documentation and the EdgeGraphHashed API documentation

Utility interface that provides higher-kinded types for this collection.

interface Edge.Hashed
implements EdgeGraphBase<N, EdgeGraphHashed.Types>
import { type Edge } from "https://deno.land/x/rimbu@1.1.0/core/menu/graph/non-valued/index.ts";
const { Hashed } = Edge;

An type-invariant immutable valued edge (undirected) graph. The connections are internally maintained using hashed collections See the Graph documentation and the EdgeGraphHashed API documentation

Examples

Example 1

const g1 = EdgeGraphHashed.empty<number>()
const g2 = EdgeGraphHashed.of([1], [2, 3], [2, 4])
variable Edge.Hashed
import { Edge } from "https://deno.land/x/rimbu@1.1.0/core/menu/graph/non-valued/index.ts";
const { Hashed } = Edge;

type

EdgeGraphHashedCreators