public interface IRule
Modifier and Type | Method and Description |
---|---|
Object[] |
getParameters()
Returns the current parameter values.
|
void |
setParameters(Object[] params)
Sets the parameters for this rule.
|
double |
validate(IMolecularFormula formula)
Analyze the validity for the given IMolecularFormula.
|
void setParameters(Object[] params) throws CDKException
params
- An array of Object containing the parameters for this ruleCDKException
- if invalid number of type of parameters are passed to itgetParameters()
Object[] getParameters()
setParameters(java.lang.Object[])
double validate(IMolecularFormula formula) throws CDKException
formula
- An IMolecularFormula
for which this rule
should be analyzedCDKException
- if an error occurs during the validation. See
documentation for individual rulesCopyright © 2021. All rights reserved.