de.tsl2.nano.util.IFuzzyDescriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.common Show documentation
Show all versions of tsl2.nano.common Show documentation
TSL2 Framework Commons (Collections, Actions/Excecution, Readers, Xml, Print, Mail, FuzzyFinder, Proxies, Network-Structure)
/*
* File: $HeadURL$
* Id : $Id$
*
* created by: Tom
* created on: 24.03.2017
*
* Copyright: (c) Thomas Schneider 2017, all rights reserved
*/
package de.tsl2.nano.util;
/**
* describes a fuzzy finder algorithm
*
* @author Tom
* @version $Revision$
*/
public interface IFuzzyDescriptor {
/** provides all available data to use the filter on */
Iterable getAvailables();
/** calculates the distance between an available item and the given expression/filter */
double distance(T item, String expression);
}