All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.tsl2.nano.util.IFuzzyDescriptor Maven / Gradle / Ivy

Go to download

TSL2 Framework Commons (Collections, Actions/Excecution, Readers, Xml, Print, Mail, FuzzyFinder, Proxies, Network-Structure)

There is a newer version: 2.5.1
Show newest version
/*
 * 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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy