Options
All
  • Public
  • Public/Protected
  • All
Menu

Adapter for a graph data structure. These are the only methods the algorithm CycleDetector needs. See GenericGraphAdapter and GraphlibAdapter for two sample implementations.

Type parameters

  • TVertex

Hierarchy

  • GraphAdapter

Index

Methods

getData

getPredecessorsOf

  • getPredecessorsOf(vertex: TVertex): Iterator<TVertex>
  • Parameters

    • vertex: TVertex

      The vertex whose predecessors are to be found.

    Returns Iterator<TVertex>

    All immediate predecessors of the given vertex. None if the vertex does not exist.

getSuccessorsOf

  • getSuccessorsOf(vertex: TVertex): Iterator<TVertex>
  • Parameters

    • vertex: TVertex

      The vertex whose successors are to be found.

    Returns Iterator<TVertex>

    All immediate successors of the given vertex. None if the vertex does not exist.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc