public class SourceTargetPair extends Object implements Comparable<SourceTargetPair>
Constructor and Description |
---|
SourceTargetPair(int sourceUnitIndex,
int targetUnitIndex,
double distance) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SourceTargetPair other) |
boolean |
equals(Object dc) |
int |
getSourceUnitIndex() |
int |
getTargetUnitIndex() |
public SourceTargetPair(int sourceUnitIndex, int targetUnitIndex, double distance)
public int compareTo(SourceTargetPair other)
compareTo
in interface Comparable<SourceTargetPair>
public int getTargetUnitIndex()
public int getSourceUnitIndex()
Copyright © 2000–2016 DFKI GmbH. All rights reserved.