|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectchemaxon.descriptors.MDParameters
chemaxon.descriptors.BCUTParameters
public class BCUTParameters
Manages parameters for the BCUT descriptor class.
The native format of the parameter configuration is XML.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
BCUTParameters()
Creates an empty object. |
|
BCUTParameters(java.io.File configFile)
Creates a new object based on a given configuration file. |
|
BCUTParameters(java.lang.String XMLconfig)
Creates a new object based on a given configuration string. |
|
| Method Summary | |
|---|---|
void |
fromString(java.lang.String parameterString)
Sets parameters from a string representation. |
protected java.lang.String[] |
generate(Molecule m,
MolecularDescriptor bc)
Calls the descriptor generator for the molecule provided and stores result (the descriptor) in the MolecularDescriptor
object. |
java.lang.String |
getDefaultDocumentFrame()
Get the default HTML document frame. |
int |
getHighestEigenvaluesCount()
Gets the number of highest eigenvalues calculated. |
int |
getLowestEigenvaluesCount()
Gets the number of lowest eigenvalues calculated. |
protected int |
getNumberOfWeights(int parametrizedMetricIndex)
Gets the number of weight factors used by the specified metric. |
java.lang.String |
getType()
Gets the type of the BCUT descriptor. |
protected void |
initParameters()
Initializes object after configuration parameters are loaded. |
protected void |
readValues(boolean all)
Retrieves relavant parameters values from the DOM tree. |
java.lang.String |
toString()
Returns the XML configuration in a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BCUTParameters()
public BCUTParameters(java.io.File configFile)
throws chemaxon.descriptors.MDParametersException
configFile - XML configuration file
chemaxon.descriptors.MDParametersException - missing or bad XML configuration
public BCUTParameters(java.lang.String XMLconfig)
throws chemaxon.descriptors.MDParametersException
XMLconfig - XML configuration string
chemaxon.descriptors.MDParametersException - missing or bad XML configuration| Method Detail |
|---|
public java.lang.String toString()
toString in class MDParameters
public void fromString(java.lang.String parameterString)
throws chemaxon.descriptors.MDParametersException
fromString in class MDParametersparameterString - parameters in string
chemaxon.descriptors.MDParametersException - when the parameter string is not well-formedpublic int getLowestEigenvaluesCount()
public int getHighestEigenvaluesCount()
public java.lang.String getType()
public java.lang.String getDefaultDocumentFrame()
getDefaultDocumentFrame in class MDParametersprotected void initParameters()
MDParameters
initParameters in class MDParameters
protected java.lang.String[] generate(Molecule m,
MolecularDescriptor bc)
throws chemaxon.descriptors.MDGeneratorException
MolecularDescriptor
object.
m - the Molecule for which the descriptor is
generatedbc - the BCUT descriptor will be stored here (out parameter)
chemaxon.descriptors.MDGeneratorException
protected int getNumberOfWeights(int parametrizedMetricIndex)
throws java.lang.IllegalArgumentException
MolecularDescriptor class or its derived classes, but not
to parametrized metric.
getNumberOfWeights in class MDParametersparametrizedMetricIndex - parametrized metric index
java.lang.IllegalArgumentException - if the given parameter is not a
valid metric index
protected void readValues(boolean all)
throws chemaxon.descriptors.MDParametersException
readValues in class MDParametersall - indicates if the entire document has to be processed
in which case the existing configuration is overwritten
chemaxon.descriptors.MDParametersException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||