edu.duke.cs.banjo.data.observations
Class Observations

java.lang.Object
  extended byedu.duke.cs.banjo.data.observations.Observations
All Implemented Interfaces:
ObservationsI
Direct Known Subclasses:
ObservationsAsArray, ObservationsAsMatrix

public abstract class Observations
extends java.lang.Object
implements ObservationsI

Base class for loading the observation data.

Details:
- Important: The Evaluator class uses the internal representation of the observations for performance, thus breaking encapsulation.

Change History:
Created on Mar 4, 2004

Author:
Jurgen Sladeczek (hjs)
For the latest info, please visit www.cs.duke.edu.

Field Summary
protected  java.lang.String[][] combinedObservationDataPointsAsLoaded
           
protected  PreprocessedObservations combinedPreprocessedObservationsAsLoaded
           
protected  int maxMarkovLag
           
protected  int maxValue
           
protected  int[] maxValueCount
           
protected  int minMarkovLag
           
protected  int numberOfObservationsFiles
           
protected  int observationCount
           
protected  int observationRowCount
           
protected  int observedObservationCount
           
protected  PreprocessedObservationsWithFileInfo[] preprocessedObservationsWithFileInfo
           
protected  Settings processData
           
protected  int specifiedObservationCount
           
protected  int varCount
           
protected  java.lang.String[] variableNames
           
 
Constructor Summary
Observations(Settings _processData)
           
 
Method Summary
private  boolean validateRequiredData()
          Validates the settings values required for loading the observations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.duke.cs.banjo.data.observations.ObservationsI
getObservationValue, getVariableNames, setObservationValue, setVariableNames
 

Field Detail

observationRowCount

protected int observationRowCount

observationCount

protected int observationCount

specifiedObservationCount

protected int specifiedObservationCount

observedObservationCount

protected int observedObservationCount

combinedObservationDataPointsAsLoaded

protected java.lang.String[][] combinedObservationDataPointsAsLoaded

preprocessedObservationsWithFileInfo

protected PreprocessedObservationsWithFileInfo[] preprocessedObservationsWithFileInfo

combinedPreprocessedObservationsAsLoaded

protected PreprocessedObservations combinedPreprocessedObservationsAsLoaded

numberOfObservationsFiles

protected int numberOfObservationsFiles

maxValueCount

protected int[] maxValueCount

maxValue

protected int maxValue

processData

protected Settings processData

varCount

protected final int varCount

minMarkovLag

protected final int minMarkovLag

maxMarkovLag

protected final int maxMarkovLag

variableNames

protected java.lang.String[] variableNames
Constructor Detail

Observations

public Observations(Settings _processData)
             throws java.lang.Exception
Method Detail

validateRequiredData

private boolean validateRequiredData()
                              throws java.lang.Exception
Validates the settings values required for loading the observations.

Returns:
Returns the boolean flag that indicates whether a crucial setting could not be validated.
Throws:
java.lang.Exception