cz.cuni.mff.ksi.jinfer.twostep.processing.passrepresentant
Class PassRepresentant
java.lang.Object
cz.cuni.mff.ksi.jinfer.twostep.processing.passrepresentant.PassRepresentant
- All Implemented Interfaces:
- ClusterProcessor<AbstractStructuralNode>
public class PassRepresentant
- extends Object
- implements ClusterProcessor<AbstractStructuralNode>
Returns representative of cluster as solution.
Trivial cluster processor to prove concept of changing submodules of simplifier.
For each clusters, it does no processing (grammar generation), just returns
representative.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassRepresentant
public PassRepresentant()
processCluster
public AbstractStructuralNode processCluster(Clusterer<AbstractStructuralNode> clusterer,
List<AbstractStructuralNode> rules)
throws InterruptedException
- Description copied from interface:
ClusterProcessor
- Do the job - given clusterer and rules, process rules to obtain one representative
- Specified by:
processCluster in interface ClusterProcessor<AbstractStructuralNode>
- Parameters:
clusterer - used to cluster rulesrules - of one cluster to process
- Returns:
- representative which have common parameters of cluster
- Throws:
InterruptedException
Generated on Fri Dec 9 00:01:25 CET 2011