|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.aura.algorithms.AuthoritativeSources
Constructor Summary | |
AuthoritativeSources(Vector artefacts,
Graph associations)
default is given a whole bunch of artefacts and the entire depot |
|
AuthoritativeSources(Vector artefacts,
Graph associations,
int k)
also specify how often to do it |
Method Summary | |
Graph |
buildBase(Vector rootSet,
Graph graph)
build the base vector The entire graph may have a -> x,y b -> x z -> b y -> z y -> w w -> x root = [ a, b ] base = [ a, b, y, z ] We are ignoring becase they are outside of our base y -> w w -> x |
Hashtable |
buildInitialHash(Graph g)
build the initial hashtables for the hub and authority values |
Hashtable |
getResults()
get the hashtable describing... |
void |
normalize(Hashtable hash)
normalize a hashtable of values :-) |
void |
updateAuthority(java.lang.Object p,
Graph g,
Hashtable auth,
Hashtable hub)
get the authoritative value of point p get all q that points to p q1 -> p q2 -> p q3 -> p then sum all the hub values of those q's |
void |
updateHub(java.lang.Object q,
Graph g,
Hashtable auth,
Hashtable hub)
get the hubness value of point q get all p's that q points to q -> p1 q -> p2 q -> p3 then sum all the auth values of those p's |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AuthoritativeSources(Vector artefacts, Graph associations)
public AuthoritativeSources(Vector artefacts, Graph associations, int k)
Method Detail |
public Hashtable getResults()
AuraAlgorithm
getResults
in interface AuraAlgorithm
ca.aura.algorithms.RateAlgorithm#getResults()
public Graph buildBase(Vector rootSet, Graph graph)
public void updateAuthority(java.lang.Object p, Graph g, Hashtable auth, Hashtable hub)
public void updateHub(java.lang.Object q, Graph g, Hashtable auth, Hashtable hub)
public Hashtable buildInitialHash(Graph g)
public void normalize(Hashtable hash)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |