procope.evaluation.comparison
Class ComplexMapping

java.lang.Object
  extended by procope.evaluation.comparison.ComplexMapping

public class ComplexMapping
extends Object

Represents a mapping between two complexes. These mappings are collected in ComplexMappings objects generated by the mapping methods of ComplexSetComparison.

Author:
Jan Krumsiek

Constructor Summary
ComplexMapping(int complexInA, int complexInB, int overlap)
          Creates a new complex mapping.
 
Method Summary
 int getComplexInA()
          Returns the complex in complex set A of this mapping.
 int getComplexInB()
          Returns the complex in complex set B of this mapping.
 int getOverlap()
          Gets the overlap between the two complexes in this mapping
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComplexMapping

public ComplexMapping(int complexInA,
                      int complexInB,
                      int overlap)
Creates a new complex mapping.

Parameters:
complexInA - index of complex in first set
complexInB - index of complex in second set
overlap - overlap of the two complexes
Method Detail

getComplexInA

public int getComplexInA()
Returns the complex in complex set A of this mapping. This is not the complex object itsself but the index of the complex in the respective complex set

Returns:
index of complex in set A

getComplexInB

public int getComplexInB()
Returns the complex in complex set B of this mapping. This is not the complex object itsself but the index of the complex in the respective complex set

Returns:
index of complex in set B

getOverlap

public int getOverlap()
Gets the overlap between the two complexes in this mapping

Returns:
overlap between the mapped complexes