SPeCS Packages Documentation
    Preparing search index...

    Represents a visit to a node during Dijkstra's algorithm.

    interface DijkstraSearchVisit {
        distance: number;
        index: number;
        node: BaseNode.Class;
        path: BaseEdge.Class<BaseEdge.Data, BaseEdge.ScratchData>[];
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    distance: number

    The minimum weight from the root node to the current node.

    index: number

    The current iteration number.

    The current node that is being visited.

    The path taken in this visit from the root node to the current node.