isolate similarity calculations in SelectorSimilarity class