crn
Interface IEComparator
- All Known Implementing Classes:
- ChangesCountsComparator, DepartureHoursOfDayComparator, LocationsComparator, RanksComparator, TotalDurationsComparator
- public interface IEComparator
An interface to allow specific IEs comparison.
- Author:
- Piotrek
CompareIEs
public float CompareIEs(IE ie1,
IE ie2)
- Compares two IEs. The returned value is a similarity percentage and therefore must be in range [0..1].
- Parameters:
ie1
- The first of the IEs to be compared.ie2
- The second of the IEs to be compared.
- Returns:
- The similarity measure of these two IEs or -1 in case of any error (like the value was not of the expected type).