-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathFLICAmain.m
More file actions
26 lines (23 loc) · 1.13 KB
/
FLICAmain.m
File metadata and controls
26 lines (23 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
% FLICA: A Framework for Leader Identification in Coordinated Activity
% Developer: C. Amornbunchornvej
% Date: Febuary 12, 2017
% Copyright © 2017 University of Illinois at Chicago.
% This framework has deployed the Matlab Tools for Network Analysis (2006-2011)
% see http://strategic.mit.edu/downloads.php?page=matlab_networks
%============== input
% Setting Everything here
traWin = 20; % time windows (\omega)
timeShiftWin=20; % time shift window (\delta)
%inputPath='EMTrajectoryXY100.mat';
inputPath='HMTrajectoryXY2.mat'; % ===== trajectories input file
% Note that if outputPath exists, the framework will skip some heavy
% computational module, otherwise the framework will run from the
% beginning.
%outputPath='FLICANetData100.mat'; % ===== output file
outputPath='FLICANetData2_.mat'; % ===== output file
%============== process parts
DataOut=FLICAfunc( traWin,timeShiftWin, inputPath,outputPath);
% %============== output
%=== plot leadership ordered lists
methodComparePlot3( DataOut.GlobalRankOrderMat,DataOut.InitRankOrderMat,DataOut.localPRRankOrderMat,traWin, timeShiftWin);
% ===== output: result plot is report at the directory "plot"