net.sourceforge.nite.datainspection.timespan
Class BoundaryAligner

java.lang.Object
  extended by net.sourceforge.nite.datainspection.timespan.BoundaryAligner

public class BoundaryAligner
extends java.lang.Object

Aligns two 'derived boundary annotations'. SHOULD BE REPLACED BY ALIGNMENT LIKE IN SEGMENTALIGNER


Constructor Summary
BoundaryAligner()
           
 
Method Summary
static BoundaryAlignment alignBoundaries(java.util.ArrayList boundaryList1, java.util.ArrayList boundaryList2, double th)
          This default alignment method takes two boundaries to be 'equal' if the difference in time is at most 'th'.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoundaryAligner

public BoundaryAligner()
Method Detail

alignBoundaries

public static BoundaryAlignment alignBoundaries(java.util.ArrayList boundaryList1,
                                                java.util.ArrayList boundaryList2,
                                                double th)
This default alignment method takes two boundaries to be 'equal' if the difference in time is at most 'th'. It is certain that each boundary is aligned only once, but there is no garantuee about how this is achieved.