src/crawler/TimeSpanCrawler.java
/*
	 * Read the crawled files to memory
	 */
Read the crawled files to memory
Read the crawled files to memory
private void readFiles() throws IOException {
		users = Input.readOnlyUsersWithTheirNetwork(TWITTER_USER_FILE,TWITTER_NETWORK_FILE);
		network = Input.readNetwork(Input.readUsers(TWITTER_USER_FILE), TWITTER_NETWORK_FILE);
		statuses = Input.readStatuses(TWITTER_STATUSES_FILE);
		addedNetwork = new HashMap<Long, Set<Long>>();
		removedNetwork = new HashMap<Long, Set<Long>>();
		addedStatuses = new HashMap<Long, List<Status>>();
		removedStatuses = new HashMap<Long, List<Status>>();
		addedUsers = new ArrayList<User>();
	}
private void readFiles ( ) throws IOException { users = Input . readOnlyUsersWithTheirNetwork ( TWITTER_USER_FILE , TWITTER_NETWORK_FILE ) ; network = Input . readNetwork ( Input . readUsers ( TWITTER_USER_FILE ) , TWITTER_NETWORK_FILE ) ; statuses = Input . readStatuses ( TWITTER_STATUSES_FILE ) ; addedNetwork = new HashMap < Long , Set < Long > > ( ) ; removedNetwork = new HashMap < Long , Set < Long > > ( ) ; addedStatuses = new HashMap < Long , List < Status > > ( ) ; removedStatuses = new HashMap < Long , List < Status > > ( ) ; addedUsers = new ArrayList < User > ( ) ; }
Read the crawled files to memory
Read the crawled files to memory
//users = Input.readUsers(TWITTER_USER_FILE);
