net.sourceforge.cilib.util
Class AbsoluteDistanceMeasure
java.lang.Object
net.sourceforge.cilib.util.AbsoluteDistanceMeasure
- All Implemented Interfaces:
- DistanceMeasure
Deprecated. Make use of Manhattan Distance. It is the correct name.
@Deprecated
public class AbsoluteDistanceMeasure
- extends Object
- implements DistanceMeasure
- Author:
- Edwin Peer
|
Method Summary |
|
distance(T x,
T y)
Deprecated. Determine the distance between the two provided Collections. |
|
distance(U x,
U y)
Deprecated. Determine the distance between the two provided StructuredType
instances. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbsoluteDistanceMeasure
public AbsoluteDistanceMeasure()
- Deprecated.
distance
public <T extends Type,U extends StructuredType<T>> double distance(U x,
U y)
- Deprecated.
- Determine the distance between the two provided
StructuredType
instances.
- Specified by:
distance in interface DistanceMeasure
- Parameters:
x - The first object from which the calculation is to be performed.y - The second object from which the calculation is to be performed.
- Returns:
- The distance between the provided instances.
distance
public <T extends Collection<? extends Number>> double distance(T x,
T y)
- Deprecated.
- Determine the distance between the two provided Collections.
- Specified by:
distance in interface DistanceMeasure
- Type Parameters:
T - The Collection type.- Parameters:
x - The first Collection.y - The second Collection.
- Returns:
- The distance value.
Copyright © 2009 CIRG. All Rights Reserved.