Class NESTSimilarityCacheCalculator<T extends NESTGraphObject>

java.lang.Object
de.uni_trier.wi2.procake.similarity.impl.SimilarityCacheCalculator<T>
de.uni_trier.wi2.procake.similarity.nest.NESTSimilarityCacheCalculator<T>
All Implemented Interfaces:
ThreadPoolExecutorListener

public class NESTSimilarityCacheCalculator<T extends NESTGraphObject> extends SimilarityCacheCalculator<T>
Multithreaded calculator to compute all pairwise similarities between nest graph objects stored in a given pool. The computed similarities are stored in the given cache. Please note that by default, existing similarities in the cache are not overwritten. If you would like to do a complete rebuild just clear the cache before or set the corresponding flag.

Make sure that the similarity cache is thread safe!

In addition to the similarity cache, an internal similarity cache can be set to the internal similarity valuator for caching local similarities.
  • Constructor Details

    • NESTSimilarityCacheCalculator

      public NESTSimilarityCacheCalculator()
    • NESTSimilarityCacheCalculator

      public NESTSimilarityCacheCalculator(int numberOfThreads)
    • NESTSimilarityCacheCalculator

      public NESTSimilarityCacheCalculator(int numberOfThreads, long timeoutMillisPerJob)
  • Method Details