View Source LAG.Graph (LAG v0.0.1)
Summary
Types
@type adjacency_matrix() :: Nx.Tensor.t()
@type graph_type() :: :directed | :undirected
@type t() :: %LAG.Graph{ adjacency_matrix: adjacency_matrix(), backend: {atom(), list()}, type: graph_type(), vertices: vertices() }
@type vertex() :: term()
@type vertex_id() :: non_neg_integer()