|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClusterProcessor<T>
Process cluster of elements.
Interface representing one box in chain. Process one element at a time, given
clusterer which can respond to Clusterer.getClusterRepresentant
request and
Clusterer.getClusters
request.
And whole cluster containing instances of element found in documents.
Implementors have to take care about thread interruptions. Check for it, and throw InterruptedException in some inner main loop. Example:
for (...) { if (Thread.interrupted()) { throw new InterruptedException(); } }
Method Summary | |
---|---|
T |
processCluster(Clusterer<T> clusterer,
List<T> rules)
Do the job - given clusterer and rules, process rules to obtain one representative |
Method Detail |
---|
T processCluster(Clusterer<T> clusterer, List<T> rules) throws InterruptedException
clusterer
- used to cluster rulesrules
- of one cluster to process
InterruptedException
|
jInfer | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |