anl.aida.data
Class Combiner

java.lang.Object
  extended by anl.aida.data.Combiner

public class Combiner
extends java.lang.Object

Combines two or more DataFrames into a single DataFrame such that the variables of each DataFrame become a category axis in the new DataFrame. The DataFrames to be combined must have single Axes of the Time type and they must be compatible across all the Data Frames.


Field Summary
private  java.util.List<DataFrame> frames
           
 
Constructor Summary
Combiner()
           
 
Method Summary
 void addDataFrame(DataFrame frame)
           
private  void checkAxes()
           
 DataFrame combine()
          Combine the added DataFrames into a single DataFrame with a Category axis composed of the added DataFrame's variables.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frames

private java.util.List<DataFrame> frames
Constructor Detail

Combiner

public Combiner()
Method Detail

addDataFrame

public void addDataFrame(DataFrame frame)

checkAxes

private void checkAxes()
                throws IllegalFormulaException
Throws:
IllegalFormulaException

combine

public DataFrame combine()
                  throws IllegalFormulaException
Combine the added DataFrames into a single DataFrame with a Category axis composed of the added DataFrame's variables.

Returns:
the created DataFrame.
Throws:
IllegalFormulaException - if the added DataFrames are incompatible.