Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Why G.weights is the transpose of adjacent_matrix(G)  #65

@ChasingZenith

Description

@ChasingZenith

I just wondering why do we design this.
when I add an edge

add_edge!(G, 1, 3, 0.9)

G.weights is

5×5 SparseArrays.SparseMatrixCSC{Float64,Int64} with 1 stored entry:
  [3, 1]  =  0.9

Sorry if it is not proper to ask question by raising issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions