|
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.Hits
public class Hits
Ref: Jon M. Kleinberg, Authoritative Sources in a Hyperlinked Environment, in Journal of the ACM 46 (5): 604–632 (1999)
Field Summary | |
---|---|
static java.lang.String |
AUTHORITY
|
static java.lang.String |
HUB
|
Constructor Summary | |
---|---|
Hits()
|
Method Summary | |
---|---|
boolean |
cancel()
Cancel the task. |
void |
execute(GraphModel graphModel,
AttributeModel attributeModel)
Executes the statistics algorithm. |
void |
execute(HierarchicalGraph hgraph,
AttributeModel attributeModel)
|
double |
getEpsilon()
|
java.lang.String |
getReport()
Returns an HTML string that displays the statistics result. |
boolean |
getUndirected()
|
void |
setEpsilon(double eps)
|
void |
setProgressTicket(ProgressTicket progressTicket)
Set the progress ticket for the long task. |
void |
setUndirected(boolean pUndirected)
|
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 AUTHORITY
public static final java.lang.String HUB
Constructor Detail |
---|
public Hits()
Method Detail |
---|
public void setUndirected(boolean pUndirected)
public boolean getUndirected()
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 setEpsilon(double eps)
eps
- public double getEpsilon()
|
Gephi Toolkit Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |