Hi Jie,

Please try to download these two files:

https://cid-fbb933ea04b8ec8d.skydrive.live.com/self.aspx/advisor/advisor.rar

https://cid-fbb933ea04b8ec8d.skydrive.live.com/self.aspx/advisor/matlabcode.rar

The two packages contain matlab code and C++ code. To run them you need to have two input files such as paper_year.txt and paper_author.txt in matlabcode.rar, and store them in two matlab matrices named as py and pa, as you can see in dblp.mat. 

The format of input:
Paper_year.txt:                paper_id               publish_year
Paper_author.txt:           paper_id              author_id                                            (meaning author_id is one coauthor of paper_id)


The execution steps are:

1.	Run tran1.m in matlab after you prepare the two matrices py and pa. You can put them in dblp.mat or change the file name in tran1.m, or make sure you have load py and pa into matlab environment. You also need to store the number of authors in a variable na. When the code finishes node.mat will be generated.

2.	Run tran2.m in matlab after node.mat is loaded. It will generate edge.txt. You need to count the number of lines in edge.txt and add this number-1 as the number of edges to edge.txt in the first line. For example, the first line in generated edge.txt is 654628, and it contains 236829 lines in total, you need to change the first line into 654628 236828. Sorry for the awkwardness.

3.	Build the c++ project in visual studio 2008 or build it on your own or use the executable advisor.exe. Put the modified edge.txt in the same folder as the executable. Run it and the result will be output into adv.txt. The format is the same as the data I sent you before. 

Let me know if you have any question.

Best,

Chi
