Class TrieFilter

  • All Implemented Interfaces:
    Runnable

    public class TrieFilter
    extends Object
    implements Runnable
    Implementation of measure-specific tree-pruning as a runnable worker class.
    • Constructor Detail

      • TrieFilter

        public TrieFilter​(org.apache.commons.lang3.tuple.Pair<List<String>,​List<String>> lists,
                          ConcurrentMap<String,​Map<String,​Double>> result,
                          ITrieFilterableStringMeasure metric,
                          double threshold)
        Construct a worker
        Parameters:
        lists - list of input partitions ((S_1, T_1), ... , (S_n, T_n))
        result - concurrent map for returning results
        metric - a string measure enhanced with methods using inherent properties to determine when to prune
        threshold - the similarity threshold value
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable