uk.ac.man.entitytagger.generate
Class ConvertToVariantsProblemIterator.ConvertToVariantsProblem

java.lang.Object
  extended by uk.ac.man.entitytagger.generate.ConvertToVariantsProblemIterator.ConvertToVariantsProblem
All Implemented Interfaces:
Problem<Tuple<DictionaryEntry,java.util.Set<java.lang.String>>>
Enclosing class:
ConvertToVariantsProblemIterator

private class ConvertToVariantsProblemIterator.ConvertToVariantsProblem
extends java.lang.Object
implements Problem<Tuple<DictionaryEntry,java.util.Set<java.lang.String>>>


Field Summary
private  DictionaryEntry de
           
 
Constructor Summary
ConvertToVariantsProblemIterator.ConvertToVariantsProblem(DictionaryEntry de)
           
 
Method Summary
 Tuple<DictionaryEntry,java.util.Set<java.lang.String>> compute()
          This is the method called by the master threads, and should contain the code that should be computed concurrently.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

de

private DictionaryEntry de
Constructor Detail

ConvertToVariantsProblemIterator.ConvertToVariantsProblem

public ConvertToVariantsProblemIterator.ConvertToVariantsProblem(DictionaryEntry de)
Method Detail

compute

public Tuple<DictionaryEntry,java.util.Set<java.lang.String>> compute()
Description copied from interface: Problem
This is the method called by the master threads, and should contain the code that should be computed concurrently.

Specified by:
compute in interface Problem<Tuple<DictionaryEntry,java.util.Set<java.lang.String>>>
Returns:
a data object representing output data from the computation that you might want to read after finished computation. If there is no such output (e.g. results are written to file), just return null.