Package chemaxon.descriptors
Class RFGenerator
java.lang.Object
chemaxon.descriptors.MDGenerator
chemaxon.descriptors.RFGenerator
Generator class for the
ReactionFingerprint
descriptor.- Since:
- JChem 3.2
-
Field Summary
Fields inherited from class chemaxon.descriptors.MDGenerator
createStatistics, density, freqCount, maxNonEmptyId, maxNonEmptyPercent, minNonEmptyId, minNonEmptyPercent, molCount, sumNonEmptyPercent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
Updates statistics gathered on fingerprints generated and get the number of non-zero cells.String[]
Generates the reaction fingerprint for the given reaction molecule object.Methods inherited from class chemaxon.descriptors.MDGenerator
getAverageNonZeroRatio, getBrightestMolId, getDarkestMolId, getDensityCounts, getFrequencyCounts, getMaximumBitRatio, getMinimumBitRatio, getMoleculeCount, setCreateStatistics, updateStatistics
-
Constructor Details
-
RFGenerator
public RFGenerator()
-
-
Method Details
-
generate
Generates the reaction fingerprint for the given reaction molecule object.- Specified by:
generate
in classMDGenerator
- Parameters:
m
- reaction (molecule) for which the fingerprint is createdd
- the reaction fingerprint generated- Returns:
- names of tags (properties) set (added) during fingerprint generation
- Throws:
MDGeneratorException
- in the case of any failures to generate the descriptor
-
calcFreqCount
Updates statistics gathered on fingerprints generated and get the number of non-zero cells.- Overrides:
calcFreqCount
in classMDGenerator
- Parameters:
d
- newly generatedMolecularDescriptor
- Returns:
- brightness of the fingerprint
-