在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:JuliaGraphs/MatrixNetworks.jl开源软件地址:https://github.com/JuliaGraphs/MatrixNetworks.jl开源编程语言:Julia 100.0%开源软件介绍:MatrixNetworksThis package consists of a collection of network algorithms. In short, the major difference between MatrixNetworks.jl and packages like LightGraphs.jl or Graphs.jl is the way graphs are treated. In LightGraphs.jl, graphs are created through Graph() and DiGraph() which are based on the representation of G as G = (V,E). Our viewpoint is different. MatrixNetworks is based on the philosophy that there should be no distinction between a matrix and a network - thus the name. For example, The package provides documentation with sample runs for all functions - viewable through Juila’s REPL. These sample runs come with sample data, which makes it easier for users to get started on Package Installation:To install package
Example
To run test cases:
Data available:For a full list of all datasets:
Loading data example:
Some examples:largest_component: Return the largest connected component of a graphAcc is a sparse matrix containing the largest connected piece of a directed graph A p is a logical vector indicating which vertices in A were chosen
clustercoeffs: Compute undirected clustering coefficients for a graphcc is the clustering coefficients
bfs: Compute breadth first search distances starting from a node in a graphd is a vector containing the distances of all nodes from node u (1 in the example below) dt is a vector containing the discover times of all the nodes pred is a vector containing the predecessors of each of the nodes
scomponents: Compute the strongly connected components of a graph
Can work on ei,ej:
bipartite_matching: Return a maximum weight bipartite matching of a graph
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论