LinkView

class LinkView

The LinkView provides a read-only interface to links in the DistanceGraph. LinkView can only be generated using the next, prev methods in NodeView.

Public Functions

const NodeView node() const

NodeView of the DistanceGraph node referenced by the link.

Return

A NodeView of the traversed ID

const int32_t distance() const

Distance to the neighbour node this LinkView was generated from.

Return

A negative value represents an overlap, a positive value represents a gap.

const Support support() const

Provides information about the origin of the Link.

Return

A summary of the information about the origin of the Link