Module pargraph::local_view

source ·
Expand description

Wrapper which provides a local view of a graph. The local view can only see the active node and its neighborhood.

Such local views are used to as inputs for graph operators to make sure that the operator cannot access parts of the graph which it is not allowed to.

Structs§

Traits§

Type Aliases§

  • Type which is returned when trying to get access to the weight of an edge in the graph.
  • Type which is returned when trying to get access to the weight of a node in the graph.
  • Guard type which allows safe read-only access to the explicitly synchronized part of the node/edge data.