corina.manip
Class Reconcile

java.lang.Object
  |
  +--corina.manip.Reconcile

public class Reconcile
extends Object

Class for assisting users in reconciling two Samples (actually two different measurements of the same sample).

Two measurements are considered "reconciled" when:

  1. they are the same length
  2. all corresponding measurements are within 3% (3% of the smaller of the measurments)
  3. all corresponding trends are the same

This class will point out whether two samples are reconciled, and if not, where they differ.

Version:
$Id: Reconcile.java,v 1.4 2002/10/22 17:00:42 bitpoet Exp $
Author:
Ken Harris

Constructor Summary
Reconcile(Sample a, Sample c)
          Construct a new reconciliation from two given samples.
 
Method Summary
static String guessOtherReading(String filename)
           
 void markAsReconciled()
           
 String toString()
          Return a title for this reconciliation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Reconcile

public Reconcile(Sample a,
                 Sample c)
Construct a new reconciliation from two given samples.
Parameters:
a - the A-reading
c - the C-reading
Method Detail

guessOtherReading

public static String guessOtherReading(String filename)
                                throws FileNotFoundException

toString

public String toString()
Return a title for this reconciliation.
Overrides:
toString in class Object
Returns:
this reconciliation's title

markAsReconciled

public void markAsReconciled()
                      throws IOException