|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ca.aura.algorithms.ReferentialIntegrity
Constructor Summary | |
ReferentialIntegrity(Report report,
Graph graph)
default |
|
ReferentialIntegrity(Report report,
Graph graph,
int k)
also set the convergence number |
Method Summary | |
protected Hashtable |
buildInitialHash(Report r)
build the initial hashtables for the hub and authority values |
double |
getReferentialAge(Artefact a1,
Artefact a2,
Report report)
get the reference age between two poitns |
protected double |
getReferentialContribution(Artefact a,
java.util.Iterator points,
Report report,
Graph g,
Hashtable ri)
get the referential integrity of a set of points |
Hashtable |
getResults()
get the hashtable describing... |
void |
normalize(Hashtable hash)
normalize a hashtable of values :-) |
double |
updateReferenceIntegrity(Artefact a,
Report report,
Graph g,
Hashtable ri)
update the referential integrity for a particular point get all q that points to p q1 -> p q2 -> p q3 -> p and all r that p points to r1 -> p r2 -> p then apply the following: RI(q1)*Age(p,q1) + ... |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReferentialIntegrity(Report report, Graph graph)
public ReferentialIntegrity(Report report, Graph graph, int k)
Method Detail |
public Hashtable getResults()
AuraAlgorithm
getResults
in interface AuraAlgorithm
ca.aura.algorithms.RateAlgorithm#getResults()
public double updateReferenceIntegrity(Artefact a, Report report, Graph g, Hashtable ri)
protected double getReferentialContribution(Artefact a, java.util.Iterator points, Report report, Graph g, Hashtable ri)
public double getReferentialAge(Artefact a1, Artefact a2, Report report)
protected Hashtable buildInitialHash(Report r)
public void normalize(Hashtable hash)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |