de.unima.alcomox.mapping
Class MappingMatrix

java.lang.Object
  extended by de.unima.alcomox.mapping.MappingMatrix

public class MappingMatrix
extends java.lang.Object


Constructor Summary
MappingMatrix(Mapping mapping)
           
 
Method Summary
 boolean containsCorrespondence(int x, int y)
           
 Coord getCoord(java.lang.Integer index)
           
 Correspondence getCorrespondence(int x, int y)
           
 double[][] getDistances()
           
 java.lang.Integer getIndex(int x, int y)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MappingMatrix

public MappingMatrix(Mapping mapping)
              throws PCFException
Throws:
PCFException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getCorrespondence

public Correspondence getCorrespondence(int x,
                                        int y)

getIndex

public java.lang.Integer getIndex(int x,
                                  int y)

getDistances

public double[][] getDistances()

getCoord

public Coord getCoord(java.lang.Integer index)

containsCorrespondence

public boolean containsCorrespondence(int x,
                                      int y)