corina.cross
Class Table

java.lang.Object
  |
  +--corina.cross.Table
All Implemented Interfaces:
Runnable

public class Table
extends Object
implements Runnable

A crossdating table: a table of samples, crossdates, and other information, from an 1-by-N cross.

A sample table might look similar to this when printed:

Crossdating table for: Zonguldak, Karabuk Spring 99 Master

Sample T-Score Trend D-Score Overlap Distance
Istanbul, Belgrade Forest 2.36 76.5% 0.62 n=136 49 km

Version:
$Id: Table.java,v 1.3 2002/10/29 17:24:19 bitpoet Exp $
Author:
Ken Harris

Inner Class Summary
 class Table.Row
          A row of the 1-by-N table, which holds the sample's title, crossdating scores, and other information.
 
Field Summary
 Sample singleton
           
 
Constructor Summary
Table(Sequence seq)
           
Table(String s, List ss)
          Deprecated.  
 
Method Summary
 void run()
          Run all computations for the table.
 void saveHTML(String filename)
           
 void saveText(String filename)
           
 String toString()
          The title of this table.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

singleton

public Sample singleton
Constructor Detail

Table

public Table(String s,
             List ss)
      throws IOException
Deprecated.  

Construct a new Table.
Parameters:
s - Sample to compare all others to
ss - List of Elements to make table rows from
Throws:
IOException - if the sample s cannot be loaded

Table

public Table(Sequence seq)
      throws IOException
Method Detail

toString

public String toString()
The title of this table. The format is "Crossdating Table for sampleTitle" (for the title sampleTitle of the singleton).
Overrides:
toString in class Object
Returns:
the title of this table

run

public void run()
Run all computations for the table. Computes T, trend, D, overlap, and distance (if applicable) between sites.
Specified by:
run in interface Runnable

saveHTML

public void saveHTML(String filename)
              throws IOException

saveText

public void saveText(String filename)
              throws IOException