toxTree.qsar
Class MatrixPreprocessor

java.lang.Object
  extended by toxTree.qsar.MatrixPreprocessor
All Implemented Interfaces:
java.io.Serializable, IDescriptorPreprocessor

public class MatrixPreprocessor
extends java.lang.Object
implements IDescriptorPreprocessor

See Also:
Serialized Form

Field Summary
protected  int dimension
           
protected  java.lang.String explanation
           
protected  double[][] matrix
           
 
Constructor Summary
MatrixPreprocessor(double[][] matrix)
           
 
Method Summary
 int getDimension()
           
 java.lang.String getExplanation()
           
 double[][] getMatrix()
           
 double[] process(double[] values)
           
 void setDimension(int dimension)
           
 void setExplanation(java.lang.String explanation)
           
 void setMatrix(double[][] matrix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

matrix

protected double[][] matrix

explanation

protected java.lang.String explanation

dimension

protected int dimension
Constructor Detail

MatrixPreprocessor

public MatrixPreprocessor(double[][] matrix)
                   throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

process

public double[] process(double[] values)
                 throws java.lang.Exception
Specified by:
process in interface IDescriptorPreprocessor
Throws:
java.lang.Exception

getMatrix

public double[][] getMatrix()

setMatrix

public void setMatrix(double[][] matrix)
               throws java.lang.Exception
Throws:
java.lang.Exception

getExplanation

public java.lang.String getExplanation()
Specified by:
getExplanation in interface IDescriptorPreprocessor

setExplanation

public void setExplanation(java.lang.String explanation)
Specified by:
setExplanation in interface IDescriptorPreprocessor

getDimension

public int getDimension()
Specified by:
getDimension in interface IDescriptorPreprocessor

setDimension

public void setDimension(int dimension)
Specified by:
setDimension in interface IDescriptorPreprocessor


Copyright © 2004-2012 Ideaconsult Ltd.. All Rights Reserved.