资源简介
一个关于复杂网络社团发现的MATLAB工具箱,包括常见的社团发现算法的实现。
![](http://www.nz998.com/pic/48229.jpg)
代码片段和文件信息
function gui(varargin)
%GUI Community Detection Toolbox Front-End
%%% LOAD DATA %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Data.Graphs = load_data(‘Graphs‘);
Data.Algorithms = load_data(‘Algorithms‘);
Data.Cluster_Number = load_data(‘Cluster_Number‘);
Data.Evaluation = load_data(‘Evaluation‘);
%%% CONSTANTS & VARIABLES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%constants
Pos = struct;
Pos.Gui = [51 51 1210 710 ]; %pixels (the rest are normalized)
Color.tab = [ 0.85 0.85 0.85];
Color.Gui = [ 0.8 0.8 0.8 ];
Color.msg = [ 1 1 1 ]; %white
msgFontSize = 11; %font size for GUI messages
%Panel 1 contains 4 sub-panels
% Graph Algorithm Cluster_NumberEvaluation
% each one for the respective group of functions
Pos.Panel1 = [ 0 0.2 0.65 0.8 ];
Pos.Panel1a = [ 0 0.5 0.5 0.5 ]; %sub-panel a
Pos.add_grf = [ 0 0.9056 0.2 0.0944]; %add function pushbutton
Pos.rm_grf = [ 0.2 0.9056 0.2 0.0944]; %remove function pushbutton
Pos.slc_grf = [ 0 0 1 0.9056]; %selected graph
Pos.Panel1b = [ 0.5 0.5 0.5 0.5 ]; %sub-panel b
Pos.add_alg = [ 0 0.9056 0.2 0.0944]; %add function pushbutton
Pos.edit_alg = [ 0.2 0.9056 0.2 0.0944]; %edit function pushbutton
Pos.rm_alg = [ 0.4 0.9056 0.2 0.0944]; %remove function pushbutton
Pos.slc_alg = [ 0 0.08 1 0.8256]; %selected algorithm
Pos.Panel1c = [ 0 0 0.5 0.5 ]; %sub-panel c
Pos.add_cln = [ 0 0.9056 0.2 0.0944]; %add function pushbutton
Pos.rm_cln = [ 0.2 0.9056 0.2 0.0944]; %remove function pushbutton
Pos.slc_cln = [ 0 0 1 0.9056]; %selected cluster_number
Pos.Panel1d = [ 0.5 0 0.5 0.5 ]; %sub-panel d
Pos.add_eva = [ 0 0.9056 0.2 0.0944]; %add function pushbutton
Pos.rm_eva = [ 0.2 0.9056 0.2 0.0944]; %remove function pushbutton
Pos.slc_eva = [ 0 0 1 0.9056]; %selected evaluation
%Panel 2 contains a preview of the figure produced
Pos.Panel2 = [ 0.65 0.2 0.35 0.8 ];
Pos.Preview = [ 0.12 0.075 0.85 0.85 ];
%Panel 3 contains control buttons and space for the GUI messages
Pos.Panel3 = [ 0 0 1 0.2 ];
Pos.msg = [ 0 0 0.98 0.75 ];
Pos.slider = [ 0.98 0 0.02 0.75 ];
Pos.options = [ 0.01 0.775 0.1 0.2 ];
Pos.variables = [ 0.11 0.775 0.1 0.2 ];
Pos.reseed = [ 0.79 0.775 0.1 0.2 ];
Pos.run_exp = [ 0.89 0.775 0.1 0.2 ];
%%variables
Param.Grf = struct; %the graph function chosen and any parameters
Param.Alg = struct; %the algorithm functions chosen and any parameters
Param.Cln = struct; %the cluster_nu
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 10568 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCAFG.m
文件 3537 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCDanon.m
文件 9903 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCHSLSW.m
文件 11727 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCLFK.m
文件 6798 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCModulMax1.m
文件 8271 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCModulMax2.m
文件 3926 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCModulMax3.m
文件 3887 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCReichardt.m
文件 4037 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCRonhovde.m
文件 7611 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCSpectralClust1.m
文件 1329 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCSpectralClust2.m
文件 22371 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Algorithms\GCStabilityOpt.m
文件 32 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\empty_all.m
文件 819 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\get_args.m
文件 1251 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\get_community_matrix.m
文件 840 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\is_connected.m
文件 1051 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\load_data.m
文件 15761 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\make.m
文件 385 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\PermMat.m
文件 1192 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\PlotGraph.m
文件 1345 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\PlotGraph_gui.m
文件 1031 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\print_status.m
文件 623 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\sec2hms.m
文件 392 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\set_seed.m
文件 412 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\WriteGraph.m
文件 294 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Auxiliary\WriteNum.m
文件 888 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\ClusterValidity\CVIdx.m
文件 772 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Cluster_Number\CNDistba
文件 604 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Cluster_Number\CNFixed.m
文件 778 2014-03-12 19:17 ComDetTBv090社团发现\ComDetTBv090\Cluster_Number\CNGloDens.m
............此处省略45个文件信息
- 上一篇:基于MATLAB的Harris角点检测并精确到亚像素
- 下一篇:PESQ与LSD评价
相关资源
- 高灵敏度GPS接收机MATLAB仿真,附捕获
- 基于MATLAB的质点弹道计算与外弹道优
- 阵列天线的matlab仿真
- MATLAB 经典程序源代码大全
- MATLAB小波软阈值去噪代码33473
- 天线阵的波束形成在MATLAB仿真程序及
- 非线性SVM算法-matlab实现
- 《MATLAB 智能算法超级学习手册》-程序
- 组合导航matlab程序
- 读取txt文件内容matlab代码实现
- Matlab实现基于相关的模板匹配程序
- matlab优化工具箱讲解
- 基于MATLAB的快速傅里叶变换
- 光纤传输中的分布傅立叶算法matlab实
- 基于matlab的图像处理源程序
- matlab 椭圆拟合程序
- 算术编码解码matlab源代码
- optical_flow 光流法 matlab 实现程序
- 引导图像滤波器 Matlab实现
- 分形几何中一些经典图形的Matlab画法
- OFDM系统MATLAB仿真代码
- SVM工具箱(matlab中运行)
- 图像小波变换MatLab源代码
- LU分解的MATLAB实现
- 冈萨雷斯数字图像处理matlab版(第三
- 替代数据法的matlab程序
- 用matlab实现的多站定位系统性能仿真
- 通过不同方法进行粗糙集属性约简m
- k近邻算法matlab实现
- matlab识别系统
评论
共有 条评论