bicliqueviz
Class CacheFilesLoader
java.lang.Object
bicliqueviz.CacheFilesLoader
public class CacheFilesLoader
- extends java.lang.Object
This class is used to load graphs from cache files
- Author:
- Martin Schwartz
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CacheFilesLoader
public CacheFilesLoader(java.lang.String dir,
ProgWin p)
- Parameters:
dir - directory for the cached filesp - progress window
init
public void init(BiCliqueWin win)
- Initialise cache file loader
- Parameters:
win - pointer to the GUI window
createBicliques
public java.util.Vector<Biclique> createBicliques()
- Returns:
- a vector with all the bicliques
createTreeMenu
public void createTreeMenu(org.dotuseful.ui.tree.SortedTreeNode top,
java.util.Vector<java.util.TreeSet<Community>> communitiesTree,
java.util.Vector<java.util.Vector<Biclique>> bicliquesTree,
java.util.Vector<Biclique> bicliques)
- Creates the tree menu
- Parameters:
top - top node of the tree menucommunitiesTree - pointer to the community treebicliquesTree - pointer to the biclique treebicliques - the vector with the bicliques