Class AlignmentPlugin

    • Constructor Detail

      • AlignmentPlugin

        public AlignmentPlugin()
    • Method Detail

      • handlesMultiFragmentMolecules

        public boolean handlesMultiFragmentMolecules()
        Description copied from class: CalculatorPlugin
        Returns true if the plugin handles multifragment molecules, false otherwise. In the latter case the plugin takes the fragment with more atoms if a multifragment molecule is given as input. The default implementation returns false.
        Overrides:
        handlesMultiFragmentMolecules in class CalculatorPlugin
        Returns:
        true if the plugin handles multifragment molecules, false otherwise
      • getResultTypes

        public Object[] getResultTypes()
        Returns the result types. Possible result types: refractivity,increments,inch
        Overrides:
        getResultTypes in class CalculatorPlugin
        Returns:
        the result types
      • setProgressMonitor

        public void setProgressMonitor​(MProgressMonitor pmon)
        Sets a progress observer to be used in run() to display progress status. Short calculations may ignore the observer object. The default implementation does nothing.
        Overrides:
        setProgressMonitor in class CalculatorPlugin
        Parameters:
        pmon - is the progress monitor, may be null
      • getWarningMessage

        public String getWarningMessage()
        Returns the calculation warning information message.
        Overrides:
        getWarningMessage in class CalculatorPlugin
        Returns:
        the calculation warning information message
      • setRingFlexibility

        public void setRingFlexibility​(int size,
                                       int rotBondCount)
        If BOTH the two parameters is true for the ring then the ring is treated flexible.
        Parameters:
        size - atomcount above the ring is flexible
        rotBondCount - rotatable bond count in the ring above which the ring is flexible
      • setMinimumCommonSize

        @Deprecated
        public void setMinimumCommonSize​(int mcsSize)
                                  throws PluginException
        Deprecated.
        No effect. Will be removed in later releases.
        Parameters:
        mcsSize -
        Throws:
        PluginException
      • getVolumeTanimoto

        public double getVolumeTanimoto()
      • standardize

        public void standardize​(Molecule mol)
        Description copied from class: CalculatorPlugin
        Standardizes the molecule by performing the transformations necessary to run the plugin (aromatize, dehydrogenize, bring nitro groups to common form, ...). This implementation performs the following transformations:
        • aromatization
        • nitro group transformation: [O-:1][N+:2] >> [O:1]=[N:2], [NH1+:1][O-:2] >> [H:3][O:2][N:1]
        • sulphynil group transformation: [#6][S+:1]([#6])[#8-:2] >> [#6][S:1]([#6])=[O:2]
        To be overridden by subclasses that require other standardization (or none at all). TODO: replace by call to chemaxon.standardizer.Standardizer
        Overrides:
        standardize in class CalculatorPlugin
        Parameters:
        mol - is the molecule to be standardized