Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "index"

Index

Functions

Const defDGraph

  • defDGraph<T>(edges?: Iterable<Pair<T, Nullable<T>>>): DGraph<T>
  • DGraph factory function using optional provided edge pairs. If given, each pair is a [node, parent] tuple, or using [node, null] to merely register a node in the graph (without dependencies).

    Type parameters

    • T

    Parameters

    • Optional edges: Iterable<Pair<T, Nullable<T>>>

    Returns DGraph<T>

Const transitive

  • transitive<T>(nodes: EquivMap<T, ArraySet<T>>, x: T): Set<T>
  • Type parameters

    • T

    Parameters

    • nodes: EquivMap<T, ArraySet<T>>
    • x: T

    Returns Set<T>

Generated using TypeDoc