Main Page Packages Class Hierarchy Compound List File List Compound Members
meapsoft.ChunkDist Class ReferenceInheritance diagram for meapsoft.ChunkDist:
[legend]Collaboration diagram for meapsoft.ChunkDist:
[legend]List of all members.
A way to measure the distance between two chunks.
Constructor can accept another ChunkDist, which will be added to the first distance, so that distance measures can be chained together.
Mike Mandel (firstname.lastname@example.org) , Ron Weiss (email@example.com)
Definition at line 37 of file ChunkDist.java.
double ||distance (Chunk c1, Chunk c2)|
| ||Compute distance between two Chunks.|
|void ||setTarget (Chunk t)|
| ||Set target chunk for compare function to use. |
int ||compare (Object o1, Object o2) throws ClassCastException |
| ||Compare two Chunk's based on their distances from targetChunk.|
Member Function Documentation
| void meapsoft.ChunkDist.setTarget
Set target chunk for compare function to use.
This needs to be called before compare() is called or there will be NullPointerExceptions.
Definition at line 82 of file ChunkDist.java.
The documentation for this class was generated from the following file:
Generated on Tue Feb 6 19:02:28 2007 for MEAPsoft by