|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.cg.prdualrank.inference.convergence.impl.NumberOfIterationsConvergence
public class NumberOfIterationsConvergence
This class is used for our implementation of:
"Searching Patterns for Relation Extraction over the Web: Rediscovering the Pattern-Relation Duality" . Y. Fang and K. C.-C. Chang. In WSDM, pages 825-834, 2011.
For further information, WSDM 2011 Conference Website .
Description
Convergence method based on the number of iterations executed. After the object is asked N times for the method converged, it will return true, meaning that convergence has been reached.
For more information, please read the Algorithm PRDualRank(G,To) in Figure 6 of the mentioned paper.
Constructor Summary | |
---|---|
NumberOfIterationsConvergence(int iterations)
Creates a new instance of the NumberOfIterationsConvergence class. |
Method Summary | |
---|---|
boolean |
converged()
Aks if the method has converged. |
void |
reset()
Set the state of the convergence finder to initial. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberOfIterationsConvergence(int iterations)
iterations
- the number of iterations to be performed before reporting convergence.Method Detail |
---|
public void reset()
ConvergenceFinder
reset
in interface ConvergenceFinder
public boolean converged()
ConvergenceFinder
converged
in interface ConvergenceFinder
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |