|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.descriptors.MDParameters
chemaxon.descriptors.SDParameters
chemaxon.descriptors.scalars.HBParameters
public class HBParameters
Manages parameters for the HDon and HAcc scalar
descriptor classes.
The native format of the parameter configuration is XML.
| Field Summary | |
|---|---|
static int |
DEFAULT_PH
default values for parameters |
| Constructor Summary | |
|---|---|
HBParameters()
Creates an empty object. |
|
HBParameters(java.io.File configFile)
Creates a new object based on a given configuration file. |
|
HBParameters(java.lang.String XMLconfig)
Creates a new object based on a given configuration string. |
|
| Method Summary | |
|---|---|
protected float |
generate(Molecule m)
Calculates the descriptor value for the given molecule. |
protected void |
initParameters()
Initializes those data members that depend on the XML configuration but are not directly taken from it. |
protected void |
readValues(boolean all)
Picks relevant parameters values from the DOM tree. |
java.lang.String |
toString()
Returns the XML configuration in a string. |
| Methods inherited from class chemaxon.descriptors.SDParameters |
|---|
fromFile, fromString, getNumberOfMetrics, getType, init, processDocument, setLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DEFAULT_PH
| Constructor Detail |
|---|
public HBParameters()
public HBParameters(java.io.File configFile)
throws MDParametersException
configFile - XML configuration file
MDParametersException - missing or bad XML configuration
public HBParameters(java.lang.String XMLconfig)
throws MDParametersException
XMLconfig - XML configuration string
MDParametersException - missing or bad XML configuration| Method Detail |
|---|
public java.lang.String toString()
toString in class MDParametersprotected void initParameters()
SDParameters
initParameters in class SDParameters
protected float generate(Molecule m)
throws MDGeneratorException
m - input molecule for which the descirptor is calculated
MDGeneratorException
protected void readValues(boolean all)
throws MDParametersException
readValues in class SDParametersall - indicates if the entire document has to be processed
in which case the existing configuration is overwritten
MDParametersException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||