|
|
Datasource class for Ranking Algorithms
datasource (string str_fname)
| datasource |
~datasource ()
| ~datasource |
int getRefs ()
| getRefs |
int nextRef (unsigned int &src_id, vector | nextRef |
int nextRef (unsigned int &src_id, vector | nextRef |
string getURL (unsigned int id)
| getURL |
int getMatrixSize (void)
| getMatrixSize |
int getAdjMatrix (matrix | getAdjMatrix |
int getAdjascencyMatrix (matrix | getAdjascencyMatrix |
bool ready | ready |
std::ifstream * f_index | f_index |
[private]
std::ifstream * f_refs | f_refs |
[private]
std::ifstream * f_url | f_url |
[private]
std::ifstream * f_irefs | f_irefs |
[private]
unsigned int offs_ref | offs_ref |
[private]
unsigned int offs_url | offs_url |
[private]
unsigned int offs_iref | offs_iref |
[private]
unsigned short n_refs | n_refs |
[private]
unsigned short n_irefs | n_irefs |
[private]
unsigned int size | size |
[private]