|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gephi.statistics.plugin.PageRank
public class PageRank
Ref: Sergey Brin, Lawrence Page, The Anatomy of a Large-Scale Hypertextual Web Search Engine, in Proceedings of the seventh International Conference on the World Wide Web (WWW1998):107-117
Field Summary | |
---|---|
static java.lang.String |
PAGERANK
|
Constructor Summary | |
---|---|
PageRank()
|
Method Summary | |
---|---|
boolean |
cancel()
Cancel the task. |
void |
execute(GraphModel graphModel,
AttributeModel attributeModel)
Executes the statistics algorithm. |
void |
execute(HierarchicalGraph hgraph,
AttributeModel attributeModel)
|
boolean |
getDirected()
|
double |
getEpsilon()
|
double |
getProbability()
|
java.lang.String |
getReport()
Returns an HTML string that displays the statistics result. |
boolean |
isUseEdgeWeight()
|
void |
setDirected(boolean isDirected)
|
void |
setEpsilon(double eps)
|
void |
setProbability(double prob)
|
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task. |
void |
setUseEdgeWeight(boolean useEdgeWeight)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PAGERANK
Constructor Detail |
---|
public PageRank()
Method Detail |
---|
public void setDirected(boolean isDirected)
public boolean getDirected()
public void execute(GraphModel graphModel, AttributeModel attributeModel)
Statistics
It is preferable to work on visible graphs, to be synchronized with the visualization.
execute
in interface Statistics
graphModel
- The graph topologyattributeModel
- The elements attributes, and where to write table resultspublic void execute(HierarchicalGraph hgraph, AttributeModel attributeModel)
public java.lang.String getReport()
Statistics
getReport
in interface Statistics
public boolean cancel()
LongTask
true
if the task has been sucessfully cancelled, false
otherwise.
cancel
in interface LongTask
public void setProgressTicket(ProgressTicket progressTicket)
LongTask
setProgressTicket
in interface LongTask
progressTicket
- public void setProbability(double prob)
prob
- public void setEpsilon(double eps)
eps
- public double getProbability()
public double getEpsilon()
public boolean isUseEdgeWeight()
public void setUseEdgeWeight(boolean useEdgeWeight)
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |