uk.ac.ic.doc.automed.p2p.rank.pagerank
Class PowerMethod

java.lang.Object
  extended by uk.ac.ic.doc.automed.p2p.rank.pagerank.LinearAlgebraicMethod
      extended by uk.ac.ic.doc.automed.p2p.rank.pagerank.PowerMethod
All Implemented Interfaces:
RankAlgorithm
Direct Known Subclasses:
RankSchemaObject.RankSO

public class PowerMethod
extends LinearAlgebraicMethod


Field Summary
private  GraphReader greader
           
protected  int N
           
 
Fields inherited from class uk.ac.ic.doc.automed.p2p.rank.pagerank.LinearAlgebraicMethod
c, d, DAMPENING_FACTOR, DEFAULT_NUM_ITERATIONS, epsilon, EPSILON, numIt, P, x0
 
Constructor Summary
PowerMethod(int numberOfNodes, GraphReader greader, Jama.Matrix x0)
           
 
Method Summary
 Jama.Matrix rank()
           
 
Methods inherited from class uk.ac.ic.doc.automed.p2p.rank.pagerank.LinearAlgebraicMethod
getInitMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

greader

private GraphReader greader

N

protected int N
Constructor Detail

PowerMethod

public PowerMethod(int numberOfNodes,
                   GraphReader greader,
                   Jama.Matrix x0)
Method Detail

rank

public Jama.Matrix rank()
Specified by:
rank in interface RankAlgorithm
Overrides:
rank in class LinearAlgebraicMethod