|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DistanceMetric
Represents a method for calculating the structure distance between two vectors in a MappingProblem.
Method Summary | |
---|---|
double |
getDistance(int i,
int j)
Gets called by CurvilinearDistEvaluator to request the distance between two vectors to be returned. |
void |
setMappingProblem(MappingProblem prob)
Gets called by CurvilinearDistEvaluator to indicate the precice problem to make use of. |
Method Detail |
---|
void setMappingProblem(MappingProblem prob)
prob
- The underlying MappingProblem.double getDistance(int i, int j)
i
- The index of the "from" vector.j
- The index of the "to" vector.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |