org.codehaus.jet.hypothesis.io.readers
Class AbstractBetaReader

java.lang.Object
  extended by org.codehaus.jet.hypothesis.io.readers.AbstractReader
      extended by org.codehaus.jet.hypothesis.io.readers.AbstractBetaReader
All Implemented Interfaces:
BetaReader, WeightReader
Direct Known Subclasses:
ECMReader, URCReader

public abstract class AbstractBetaReader
extends AbstractReader
implements BetaReader


Field Summary
protected  double[][] beta
           
protected static int DIMENSION
           
protected  int minsize
           
protected  int model
           
protected  int nreg
           
protected  int nz
           
protected  java.lang.String source
           
protected  double[] weights
           
 
Fields inherited from class org.codehaus.jet.hypothesis.io.readers.AbstractReader
COMMA, COMMENT_PREFIX, FIELD_SEPARATOR, FIELD_SEPARATOR_REGEX, NA_PREFIX, NUMBER_FORMAT, WHITESPACE
 
Constructor Summary
AbstractBetaReader(java.lang.String source)
           
 
Method Summary
 double[][] getBeta()
           
 int[] getParams()
           
 double[] getWeights()
           
 
Methods inherited from class org.codehaus.jet.hypothesis.io.readers.AbstractReader
getClassLoader, getReader, readLines, toLines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.codehaus.jet.hypothesis.io.WeightReader
read
 

Field Detail

DIMENSION

protected static final int DIMENSION
See Also:
Constant Field Values

beta

protected double[][] beta

weights

protected double[] weights

nz

protected int nz

nreg

protected int nreg

model

protected int model

minsize

protected int minsize

source

protected java.lang.String source
Constructor Detail

AbstractBetaReader

public AbstractBetaReader(java.lang.String source)
Method Detail

getBeta

public double[][] getBeta()
Specified by:
getBeta in interface BetaReader

getWeights

public double[] getWeights()
Specified by:
getWeights in interface WeightReader

getParams

public int[] getParams()
Specified by:
getParams in interface BetaReader


Copyright © 2006-2007. All Rights Reserved.