toxTree.qsar
Class LinearPreprocessor

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

public class LinearPreprocessor
extends java.lang.Object
implements IDescriptorPreprocessor

See Also:
Serialized Form

Field Summary
protected  int dimension
           
protected  java.lang.String explanation
           
protected  double[] scale
           
protected  double[] translation
           
 
Constructor Summary
LinearPreprocessor(double[] scale, double[] translation)
           
 
Method Summary
 int getDimension()
           
 java.lang.String getExplanation()
           
 double[] getScale()
           
 double[] getTranslation()
           
 double[] process(double[] values)
           
 void setDimension(int dimension)
           
 void setExplanation(java.lang.String explanation)
           
 void setScale(double[] scale)
           
 void setTranslation(double[] translation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

scale

protected double[] scale

translation

protected double[] translation

explanation

protected java.lang.String explanation

dimension

protected int dimension
Constructor Detail

LinearPreprocessor

public LinearPreprocessor(double[] scale,
                          double[] translation)
                   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

getScale

public double[] getScale()

setScale

public void setScale(double[] scale)
              throws java.lang.Exception
Throws:
java.lang.Exception

getTranslation

public double[] getTranslation()

setTranslation

public void setTranslation(double[] translation)
                    throws java.lang.Exception
Throws:
java.lang.Exception

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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.