class datasource

Datasource class for Ranking Algorithms More...

Definition#include <rank/datasource.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Private Members


Detailed Description

Datasource class for Ranking Algorithms

 datasource (string str_fname)

datasource

 ~datasource ()

~datasource

int  getRefs ()

getRefs

int  nextRef (unsigned int &src_id, vector &lnk_ids)

nextRef

int  nextRef (unsigned int &src_id, vector &lnk_ids, vector &backlnk_ids)

nextRef

string  getURL (unsigned int id)

getURL

int  getMatrixSize (void)

getMatrixSize

int  getAdjMatrix (matrix &m)

getAdjMatrix

int  getAdjascencyMatrix (matrix &m)

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]