| Line | |
|---|
| 1 | |
|---|
| 2 | package jung; |
|---|
| 3 | |
|---|
| 4 | import clustering.GraphClusterer; |
|---|
| 5 | import data.GraphBuilder; |
|---|
| 6 | import view.GraphToGraphviz; |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | public class Main { |
|---|
| 11 | |
|---|
| 12 | public static void main(String[] args) { |
|---|
| 13 | |
|---|
| 14 | String maindir = "/home/luke/Desktop/nets/"; |
|---|
| 15 | String path_simply_net = maindir+"reteSemplice.txt"; |
|---|
| 16 | String path_mike_hidden = maindir+"reteUtentiMikeHidden.arff"; |
|---|
| 17 | String path_mike = maindir+"reteUtentiMike.arff"; |
|---|
| 18 | String karate_club = maindir+"karate.csv"; |
|---|
| 19 | String les_miserables = maindir+"lesmis.csv"; |
|---|
| 20 | String power_grids = maindir+"power.csv"; |
|---|
| 21 | String pol_blogs = maindir+"polblogs.csv"; |
|---|
| 22 | String dolphins = maindir+"dolphins.csv"; |
|---|
| 23 | String erdos_co_authors = maindir+"erdos.csv"; |
|---|
| 24 | String net_science = maindir+"netscience.csv"; |
|---|
| 25 | String epinions = maindir + "soc-Epinions1.csv"; |
|---|
| 26 | String friend_feed = maindir + "ffeed.csv"; |
|---|
| 27 | boolean isDirected = true; |
|---|
| 28 | boolean mainGraphOutput = false; |
|---|
| 29 | boolean clusterGraphOutput = false; |
|---|
| 30 | GraphClusterer cl = new GraphClusterer(friend_feed,isDirected,600000, mainGraphOutput); |
|---|
| 31 | cl.clusterize(mainGraphOutput,clusterGraphOutput); |
|---|
| 32 | |
|---|
| 33 | } |
|---|
| 34 | |
|---|
| 35 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.