Matlab Tools for Network Analysis 网络分析工具包 (2006-2011)

无论电力系统或者通信及其他领域经常遇到对拓扑进行分析的问题,本博客转发MIT一个实验室共享的分析工具包,希望能减轻大家的工作量,更focus到自己的工作中


http://strategic.mit.edu/downloads.php?page=matlab_networks


MIT Strategic Engineering

Matlab Tools for Network Analysis (2006-2011)

This toolbox was first written in 2006. The last version, posted here, is from November 2011. These routines are useful for someone who wants to start hands-on work with networks fairly quickly, explore simple graph statistics, distributions, simple visualization and compute common network theory metrics. The code is not object-oriented, and should be easy to use, read and improve upon. There is some overlap with the grTheory toolbox and the MatlabBGL library published on Matlab Central. Different authorship is indicated in the header. No code is perfect so please contact gergana at alum dot mit.edu if you notice errors or have pointers to better routines.

This code is published under the BSD license. The license text is also available at the end of this page.

Current version

The new and current version of this code is available in Octave (GNU Octave Version 3.4.0 and Gnuplot 4.2.5) here. Some parts of the code are restructured and updated. All functions are generally better documented. The Octave toolbox also includes a manual with background information and examples.

Archived Version (frozen Nov. 2011)

The code is classified by functionality as follows (121 routines total, last version Nov 6, 2011). All functions can be downloaded here.

Basic network routines (17)
  • getNodes.m - return the list of nodes for varying graph representations;
  • getEdges.m - return the list of edges for varying graph representations;
  • numnodes.m - number of vertices/nodes in the network;
  • numedges.m - number of edges/links in the network;
  • link_density.m - the density of links of the graph;
  • selfloops.m - number of selfloops, i.e. nodes connected to themselves;
  • multiedges.m - number of arcs (i,j) with multiple edges across them;
  • average_degree.m - the average degree (# links) across all nodes;
  • num_conn_comp.m - number of connected components (using algebraic connectivity);
  • find_conn_comp.m - the number of connected components in an undirected graph;
  • giant_component.m - extract the giant component only (undirected graph);
  • tarjan.m - find the strongly connected components in a directed graph;
  • graph_complement.m - the complement graph;
  • graph_dual.m - the graph dual (or line graph, adjoint graph);
  • subgraph.m - return the subgraph adjacency given the graph and the subgraph nodes;
  • leaf_nodes.m - nodes connected to only one other node;
  • leaf_edges.m - edges with only one adjacent edge;
Diagnostics (11)
Conversion routines (14)
Centrality measures & Distributions (15)
Spectral properties (6)
Distances (12)
Comparing graphs (1)
Modularity (6)
Example of Spectral Partitioning
Motifs (4)
Building graphs (16)
Hex Lattice
Random Modular Graph
Newman Gastner Example













Drawing graphs (13)
Dot Matrix Example
Circle Draw Example
Continental US
Radial Plot Example
Auxiliary (8)

Links

Publications

  1. Bounova, G., de Weck, O.L. "Overview of metrics and their correlation patterns for multiple-metric topology analysis on heterogeneous graph ensembles", Phys. Rev. E 85, 016117 (2012).

Copyright (c) 2011, Massachusetts Institute of Technology.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  • Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  • Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
  • Neither the name of the Massachusetts Institute of Technology nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值