Skip to main content
Module

x/rimbu/mod.ts>EdgeValuedGraphHashed

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace EdgeValuedGraphHashed
import { EdgeValuedGraphHashed } from "https://deno.land/x/rimbu@0.13.1/mod.ts";

Interfaces

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

The EdgeValuedGraphHashed'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 nodes are internally maintained using HashMaps See the Graph documentation and the EdgeValuedGraphHashed API documentation

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

interface EdgeValuedGraphHashed
import { type EdgeValuedGraphHashed } from "https://deno.land/x/rimbu@0.13.1/mod.ts";

An type-invariant immutable valued edge (undirected) graph. The nodes are internally maintained using HashMaps See the Graph documentation and the EdgeValuedGraphHashed API documentation

Examples

Example 1

const g1 = EdgeValuedGraphHashed.empty<number, string>()
const g2 = EdgeValuedGraphHashed.of([1], [2, 3, 'a'], [2, 4, 'b'])
variable EdgeValuedGraphHashed
import { EdgeValuedGraphHashed } from "https://deno.land/x/rimbu@0.13.1/mod.ts";