Ejemplo n.º 1
0
 /****************************** Constructor **********************************/
 public DataLoader(string dbPath) 
 {
     this.dbAdapter = new SQLiteAdapter(dbPath);
     long egoID = long.Parse(Path.GetFileNameWithoutExtension(dbPath));
     egoUser = new User(egoID);
     numOfFriend = 0;
 }
Ejemplo n.º 2
0
        /****************************** Constructor **********************************/
        public DataLoader(string dbPath)
        {
            this.dbAdapter = new SQLiteAdapter(dbPath);
            long egoID = long.Parse(Path.GetFileNameWithoutExtension(dbPath));

            egoUser     = new User(egoID);
            numOfFriend = 0;
        }
Ejemplo n.º 3
0
 public DataLoader(string dbPath, int nFolds)
 {
     this.egoUserId = long.Parse(Path.GetFileNameWithoutExtension(dbPath));
     this.dbAdapter = new SQLiteAdapter(dbPath);
     this.nFolds = nFolds;
 }