org.mycore.frontend.redundancy
Class MCRRedundancyFastMapGenerator

java.lang.Object
  extended by org.mycore.frontend.redundancy.MCRRedundancyAbstractMapGenerator
      extended by org.mycore.frontend.redundancy.MCRRedundancyFastMapGenerator

public class MCRRedundancyFastMapGenerator
extends MCRRedundancyAbstractMapGenerator

This implementation does a fast compare to create the redundancy map. It only compares the result object n with n - 1. That works because the result list is sorted.

Author:
Matthias Eichner

Nested Class Summary
 
Nested classes/interfaces inherited from class org.mycore.frontend.redundancy.MCRRedundancyAbstractMapGenerator
MCRRedundancyAbstractMapGenerator.DefaultCompareStringFormatter, MCRRedundancyAbstractMapGenerator.DefaultStringComparator
 
Field Summary
 
Fields inherited from class org.mycore.frontend.redundancy.MCRRedundancyAbstractMapGenerator
comparator, compareStringFormatter, redundancyMap, typeData
 
Constructor Summary
MCRRedundancyFastMapGenerator()
           
 
Method Summary
 void createRedundancyMap()
          Main method to create the redundancy map.
 
Methods inherited from class org.mycore.frontend.redundancy.MCRRedundancyAbstractMapGenerator
areConditionsEquals, areRedundancyObjectsEqual, createCondition, createGroupElement, createObjectElement, getComparator, getCompareCriteria, getFileName, getStringFormatter, saveToFile, setComparator, setStringFormatter, setTypeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRRedundancyFastMapGenerator

public MCRRedundancyFastMapGenerator()
Method Detail

createRedundancyMap

public void createRedundancyMap()
Description copied from class: MCRRedundancyAbstractMapGenerator
Main method to create the redundancy map.

Specified by:
createRedundancyMap in class MCRRedundancyAbstractMapGenerator