$darkmode
DENOPTIM
denoptim.graph.rings.RingClosureParameters Class Reference

Parameters and setting related to handling ring closures. More...

Inheritance diagram for denoptim.graph.rings.RingClosureParameters:
[legend]
Collaboration diagram for denoptim.graph.rings.RingClosureParameters:
[legend]

Public Member Functions

 RingClosureParameters ()
 Constructor. More...
 
int getClosabilityEvalMode ()
 
int getMaxNumberRotatableBonds ()
 
int getMaxRingSize ()
 
List< Integer > getRingSizeBias ()
 
void setRingSizeBias (List< Integer > biases)
 Sets the preference for certain ring sizes or the prohibition to generate certain rings (i.e., weight = 0). More...
 
int getMinRcaPerType (String type)
 
int getMaxRcaPerType (String type)
 
int getMinRingClosures ()
 
int getMaxRingClosures ()
 
Map< String, String > getConstitutionalClosabilityConds ()
 
void setConstitutionalClosabilityConds (Map< String, String > ringClosabCondAsSMARTS)
 Sets the list of constitutions that can be formed by ring closure. More...
 
int getVerbosity ()
 Returns the level of verbosity, i.e., the amount of log that we want to print. More...
 
void allowRingClosures (boolean value)
 
boolean allowRingClosures ()
 
boolean buildChelatesMode ()
 
boolean selectFragmentsFromClosableChains ()
 
double getRCDistTolerance ()
 
double getConfPathExtraTolerance ()
 
double getRCDotPrTolerance ()
 
double getLinearityLimit ()
 
double getPathConfSearchStep ()
 
Set< String > getRequiredRingElements ()
 
List< BridgeHeadFindingRule > getBridgeHeadFindingRules ()
 
String getRCCLibraryIndexFile ()
 
String getRCCLibraryFolder ()
 
RingClosuresArchive getRingClosuresArchive ()
 
boolean doExhaustiveConfSrch ()
 
boolean serializeRCCs ()
 
boolean checkInterdependentChains ()
 
void interpretKeyword (String key, String value) throws DENOPTIMException
 Processes a keyword/value pair and assign the related parameters. More...
 
void checkParameters () throws DENOPTIMException
 Evaluate consistency of input parameters. More...
 
void processParameters () throws DENOPTIMException
 Processes all parameters and initialize related objects. More...
 
- Public Member Functions inherited from denoptim.programs.RunTimeParameters
 RunTimeParameters (ParametersType paramType)
 Constructor. More...
 
String paramTypeName ()
 Returns a string defining the type the parameters collected here. More...
 
String getWorkDirectory ()
 Gets the pathname to the working directory. More...
 
void setWorkDirectory (String pathname)
 Gets the pathname to the working directory. More...
 
String getLogFilePathname ()
 Gets the pathname to the log file. More...
 
void setLogFilePathname (String pathname)
 Sets the pathname to the log file. More...
 
Logger getLogger ()
 Get the name of the program specific logger. More...
 
void adoptLogger (Logger logger)
 Points this parameter collection, and any nested collections, at the given logger. More...
 
Logger startProgramSpecificLogger (String loggerIdentifier) throws SecurityException, IOException
 Starts a logger with the given name. More...
 
Logger startProgramSpecificLogger (String loggerIdentifier, boolean toLogFile) throws SecurityException, IOException
 Starts a logger with the given name. More...
 
Logger startConsoleLogger (String loggerIdentifier)
 Starts a program-specific logger that prints to System.err stream. More...
 
int getVerbosity ()
 Returns the level of verbosity, i.e., the amount of log that we want to print. More...
 
void setVerbosity (int l)
 Set the level of verbosity. More...
 
Randomizer getRandomizer ()
 Returns the current program-specific randomizer. More...
 
long getRandomSeed ()
 Returns the seed. More...
 
void setRandomizer (Randomizer rng)
 Sets the randomizer. More...
 
Randomizer startRandomizer ()
 Starts a program specific randomizer, i.e., a tool for generating random numbers and taking random decisions. More...
 
Randomizer startRandomizer (long seed)
 Starts a program specific randomizer, i.e., a tool for generating random numbers and taking random decisions. More...
 
void readParameterFile (String infile) throws DENOPTIMException
 Read the parameter TXT file line by line and interpret its content. More...
 
void readParameterLine (String line) throws DENOPTIMException
 
ParametersType getParametersType ()
 
boolean containsParameters (ParametersType type)
 
void setParameters (RunTimeParameters otherParams)
 
FragmentSpace getFragmentSpace ()
 The fragment space owned by this tree's fragment-space parameters. More...
 
RunTimeParameters copy ()
 Deep copy of this parameter tree. More...
 
void interpretKeyword (String line) throws DENOPTIMException
 Processes a string looking for keyword and a possibly associated value. More...
 
abstract void interpretKeyword (String key, String value) throws DENOPTIMException
 Processes a keyword/value pair and assign the related parameters. More...
 
abstract void checkParameters () throws DENOPTIMException
 Evaluate consistency of input parameters. More...
 
abstract void processParameters () throws DENOPTIMException
 Processes all parameters and initialize related objects. More...
 
String getPrintedList ()
 Returns the list of parameters in a string with newline characters as delimiters. More...
 
void printParameters ()
 Print all parameters. More...
 

Public Attributes

boolean requireCompleteRingclosure = true
 Flag requesting complete ring closure of all pairs of RCAs in at least one combination of RCAs to consider the calculation successful. More...
 
- Public Attributes inherited from denoptim.programs.RunTimeParameters
final String NL = System.getProperty("line.separator")
 New line character. More...
 

Static Public Attributes

static final ParameterKey< Integer > VERBOSITY
 Verbosity level passed to the shared logger. More...
 
static final ParameterKey< Boolean > CLOSE_RINGS
 Flag activating the ring closing machinery. More...
 
static final ParameterKey< Boolean > CLOSE_RINGS_EQ
 Same flag as CLOSE_RINGS. More...
 
static final ParameterKey< Boolean > BUILD_CHELATES_MODE
 Flag activating procedures favoring formation of chelates. More...
 
static final ParameterKey< Set< APClass > > ORPHAN_AP_CLASS
 Metal-coordinating APClasses. More...
 
static final ParameterKey< Boolean > SELECT_FRAGMENTS_FROM_CLOSABLE_CHAINS
 Flag activating the biased selection of closable fragment chains. More...
 
static final ParameterKey< Integer > CLOSABILITY_MODE
 Ring closability evaluation mode. More...
 
static final ParameterKey< Integer > MAX_ROT_BONDS
 Maximum number of rotatable bonds for which conformational space is explored. More...
 
static final ParameterKey< Integer > MAX_RING_SIZE
 Maximum size (number of atoms) in a ring closing chain. More...
 
static final ParameterKey< Map< String, Integer > > MIN_RCA_PER_TYPE
 Minimum number of ring-closing attractors of one type in a valid graph. More...
 
static final ParameterKey< Map< String, Integer > > MAX_RCA_PER_TYPE
 Maximum number of ring-closing attractors of one type in a valid graph. More...
 
static final ParameterKey< Integer > MIN_RING_CLOSURES
 Minimum number of ring closures in a valid graph. More...
 
static final ParameterKey< Integer > MAX_RING_CLOSURES
 Maximum number of ring closures in a valid graph. More...
 
static final ParameterKey< Double > LINEARITY_LIMIT
 Maximum value for a non-flat bond angle (degrees). More...
 
static final ParameterKey< Double > DISTANCE_TOLERANCE_FACTOR
 Tolerance factor for interatomic distances. More...
 
static final ParameterKey< Double > EXTRA_DISTANCE_TOLERANCE_FACTOR
 Extra tolerance factor used for discrete torsion scans. More...
 
static final ParameterKey< Double > MAX_DOT_PROD
 Maximum dot product between normalized head and tail attachment vectors. More...
 
static final ParameterKey< Double > CONF_SEARCH_STEP
 Torsion angle step for the conformational scan of a candidate chain. More...
 
static final ParameterKey< List< Integer > > RING_SIZE_BIAS
 Relative weight of ring sizes. More...
 
static final ParameterKey< Map< String, String > > CLOSABLE_RING_SMARTS
 SMARTS defining constitution-based ring closability. More...
 
static final ParameterKey< Set< String > > REQUIRED_ELEMENT_IN_RINGS
 Elemental symbols required in closable chains. More...
 
static final ParameterKey< String > RCC_INDEX
 Pathname of the ring-closing conformation index file. More...
 
static final ParameterKey< Boolean > SERIALIZE_RCCS
 Turns serialization of ring-closing conformations on. More...
 
static final ParameterKey< String > RCC_FOLDER
 Root folder of the ring-closing conformation archive. More...
 
static final ParameterKey< Boolean > EXHAUSTIVE_CONF_SEARCH
 Flag controlling exhaustive conformational search. More...
 
static final ParameterKey< Boolean > CHECK_INTERDEPENDENT_CHAINS
 Flag requiring evaluation of interdependent chains. More...
 
static final ParameterKey< List< BridgeHeadFindingRule > > BRIDGE_HEAD_FINDING_RULES
 Rules that identify atoms that can become bridge heads. More...
 

Protected Attributes

boolean closeRings = false
 Flag activating the ring closing machinery. More...
 
boolean buildChelatesMode = false
 Flag activating procedures favoring formation of chelates. More...
 
Set< APClass > metalCoordinatingAPClasses
 List of metal-coordinating APClasses. More...
 
boolean selectFragsFromCC = false
 Flag activating the biased selection of closable fragment chains. More...
 
int rceMode = -1
 The ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of candidate ring, 1 = only closability of 3D chain, 2 = both 0 and 1. More...
 
int maxRotBonds = 7
 Maximum number of rotatable bonds for which conformational space is explored. More...
 
int maxRingSize = DEFAULT_MAX_RING_SIZE
 Maximum size (number of atoms) in ring closing chain. More...
 
Map< String, Integer > minRcaPerType = new HashMap<String,Integer>()
 Minimum number of RingClosingAttractors in a valid graph. More...
 
Map< String, Integer > maxRcaPerType = new HashMap<String,Integer>()
 Maximum number of RingClosingAttractors in a valid graph. More...
 
int minRingClosures = 0
 Minimum number of RingClosures in a valid graph. More...
 
int maxRingClosures = 50
 Maximum number of RingClosures in a valid graph. More...
 
double linearityLimit = 178.5
 Maximum value for non-flat bond angle (in degree). More...
 
double rcTolDist = 0.33
 Tolerance factor for interatomic distances. More...
 
double pathConfSearchExtraTol = 1.1
 Extra tolerance factor for interatomic distances. More...
 
double rcMaxDot = -0.75
 Maximum value of dot product between the normalized attachment point vectors at the head and tail of a candidate chain. More...
 
double pathConfSearchStep = 12.0
 Torsion angle step for conformational scan of candidate closable chain. More...
 
List< Integer > ringSizeBias = defaultRingSizeBias()
 Relative weight of ring sizes to bias the selection of a ring combination among the various alternatives. More...
 
Map< String, String > ringClosabCondAsSMARTS
 SMARTS defining the constitution-based ring closability condition. More...
 
Set< String > reqElInRings = new HashSet<String>()
 Required elements in closable chains. More...
 
String rccIndex = ""
 Pathname of the text file containing the list of visited RingClosingConformations (i.e., index file). More...
 
boolean serializeRCCs = false
 Flag controlling the serialization of the RingClosingConformations. More...
 
String rccFolder = ""
 Pathname of the root folder containing the archive of serialized RingClosingConformations. More...
 
boolean exhaustiveConfSrch = false
 Flag controlling conformational search. More...
 
boolean checkInterdepPaths = false
 Flag controlling the ring-closing criterion evaluating the simultaneous closability of interdependent chains. More...
 
List< BridgeHeadFindingRule > bridgeHeadFindingRules
 Rules that identify the atoms that can become bridge heads to form fused rings. More...
 
- Protected Attributes inherited from denoptim.programs.RunTimeParameters
boolean isMaster = true
 Flag signaling this is the master collection of parameters. More...
 
String workDir = System.getProperty("user.dir")
 Working directory. More...
 
String logFile = "unset"
 Log file. More...
 
int verbosity = 0
 Verbosity level for logger. More...
 
Map< ParametersType, RunTimeParameters > otherParameters
 Collection of other parameters by type. More...
 

Static Private Member Functions

static Set< APClass > parseOrphanApClass (RunTimeParameters owner, Set< APClass > current, String value) throws DENOPTIMException
 Parser for the list of metal-coordinating APClasses. More...
 
static Integer parseClosabilityMode (RunTimeParameters owner, Integer current, String value) throws DENOPTIMException
 Parser for the ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of candidate ring, 1 = only closability of 3D chain, 2 = both 0 and 1. More...
 
static Integer parseRequiredInteger (RunTimeParameters owner, Integer current, String value) throws DENOPTIMException
 Parser for MAX_ROT_BONDS, MAX_RING_SIZE, MIN_RING_CLOSURES, and MAX_RING_CLOSURES. More...
 
static Map< String, Integer > parseRcaPerType (RunTimeParameters owner, Map< String, Integer > current, String value) throws DENOPTIMException
 Parser for MIN_RCA_PER_TYPE and MAX_RCA_PER_TYPE. More...
 
static Double parseRequiredDouble (RunTimeParameters owner, Double current, String value) throws DENOPTIMException
 Parser for LINEARITY_LIMIT, DISTANCE_TOLERANCE_FACTOR, EXTRA_DISTANCE_TOLERANCE_FACTOR, MAX_DOT_PROD, and CONF_SEARCH_STEP. More...
 
static List< Integer > parseRingSizeBias (RunTimeParameters owner, List< Integer > current, String value) throws DENOPTIMException
 Parser for the relative weight of ring sizes to bias the selection of a ring combination among the various alternatives. More...
 
static Map< String, String > parseClosableRingSmarts (RunTimeParameters owner, Map< String, String > current, String value)
 Parser for the SMARTS defining the constitution-based ring closability condition. More...
 
static Set< String > parseRequiredElement (RunTimeParameters owner, Set< String > current, String value)
 Parser for the required elements in closable chains. More...
 
static String parseRccFolder (RunTimeParameters owner, String current, String value) throws DENOPTIMException
 Parser for the pathname of the root folder containing the archive of serialized RingClosingConformations. More...
 
static List< BridgeHeadFindingRule > parseBridgeHeadRules (RunTimeParameters owner, List< BridgeHeadFindingRule > current, String value) throws DENOPTIMException
 Parser for the rules that identify the atoms that can become bridge heads to form fused rings. More...
 
static List< Integer > defaultRingSizeBias ()
 Returns the list of parameters in a string with newline characters as delimiters. More...
 

Private Attributes

RingClosuresArchive rcArchive
 Collection of information about ring-closability of graph substructures. More...
 

Static Private Attributes

static final int DEFAULT_MAX_RING_SIZE = 9
 Default of maxRingSize. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from denoptim.programs.RunTimeParameters
static boolean readYesNoTrueFalse (String s)
 Reads a string searching for any common way to say either yes/true (including shorthand t/y) or no/false (including shorthand f/n either). More...
 
- Protected Member Functions inherited from denoptim.programs.RunTimeParameters
boolean applyRegisteredKeyword (String key, String value) throws DENOPTIMException
 Interprets a keyword declared as a ParameterKey of this group. More...
 
void copyOwnValues (RunTimeParameters source)
 Copies group-specific state that is not a ParameterKey. More...
 
String printStoredParameters ()
 Prints the settings stored under ParameterKeys of this group and then each embedded group. More...
 
void checkOtherParameters () throws DENOPTIMException
 Checks any of the parameter collections contained in this instance. More...
 
void processOtherParameters () throws DENOPTIMException
 Processes any of the parameter collections contained in this instance. More...
 
void ensureFileExistsIfSet (String pathname)
 Ensures a pathname is not empty nor null and that it does lead to an existing file or triggers an error. More...
 
void ensureFileExists (String pathname)
 Ensures a pathname does lead to an existing file or triggers an error. More...
 
void ensureNotNull (String paramName, String param, String paramKey)
 Ensures that a parameter is not null or triggers an error. More...
 
void ensureIsPositive (String paramName, int value, String paramKey)
 Ensures that a parameter is a positive number (x>=0) or triggers an error. More...
 
void ensureIsPositiveOrZero (String paramName, int value, String paramKey)
 Ensures that a parameter is a positive number (x>=0) or triggers an error. More...
 
void ensureInRange (String paramName, int value, int min, int max, String paramKey)
 Ensures that a parameter is within a range or triggers an error. More...
 
- Package Functions inherited from denoptim.programs.RunTimeParameters
public< P extends RunTimeParameters > P getParameters (ParametersType type)
 Returns the embedded group of the given type, creating it from its registered implementation when this tree does not have one yet. More...
 
public< T > T getParameter (ParametersType type, ParameterKey< T > key)
 Reads one setting from this group when type is this group's type, and otherwise from the embedded group of that type. More...
 
public< T > T get (ParameterKey< T > key)
 
public< T > void set (ParameterKey< T > key, T value)
 Stores one setting of this group and updates any field mirrored by the key. More...
 
private< T > void storeCopiedValue (ParameterKey< T > key, Object value)
 

Detailed Description

Parameters and setting related to handling ring closures.

Author
Marco Foscato

Definition at line 50 of file RingClosureParameters.java.

Constructor & Destructor Documentation

◆ RingClosureParameters()

denoptim.graph.rings.RingClosureParameters.RingClosureParameters ( )

Constructor.

Parameters
paramTypethe type of parameters this instance is meant to collect.

Definition at line 714 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.BRIDGE_HEAD_FINDING_RULES, denoptim.programs.RunTimeParameters.ParametersType.RC_PARAMS, denoptim.graph.rings.RingClosureParameters.rcArchive, and denoptim.io.DenoptimIO.readBridgeHesFindingRules().

Referenced by denoptim.graph.rings.RingClosureParameters.parseRingSizeBias().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ allowRingClosures() [1/2]

boolean denoptim.graph.rings.RingClosureParameters.allowRingClosures ( )

◆ allowRingClosures() [2/2]

void denoptim.graph.rings.RingClosureParameters.allowRingClosures ( boolean  value)

◆ buildChelatesMode()

boolean denoptim.graph.rings.RingClosureParameters.buildChelatesMode ( )

◆ checkInterdependentChains()

boolean denoptim.graph.rings.RingClosureParameters.checkInterdependentChains ( )

Definition at line 970 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.checkInterdepPaths.

Referenced by denoptim.graph.rings.CyclicGraphHandler.combineCompatPathSubGraphs(), denoptim.graph.rings.PathClosabilityTools.evaluate3DPathClosability(), and denoptim.graph.rings.CyclicGraphHandler.getPossibleCombinationOfRings().

Here is the caller graph for this function:

◆ checkParameters()

◆ defaultRingSizeBias()

static List< Integer > denoptim.graph.rings.RingClosureParameters.defaultRingSizeBias ( )
staticprivate

Returns the list of parameters in a string with newline characters as delimiters.

Returns
the list of parameters in a string with newline characters as delimiters. Weights for ring sizes 0 through DEFAULT_MAX_RING_SIZE. WARNING: if the default maximum ring size changes, this list has to change with it.

Definition at line 1105 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.DEFAULT_MAX_RING_SIZE.

◆ doExhaustiveConfSrch()

boolean denoptim.graph.rings.RingClosureParameters.doExhaustiveConfSrch ( )

Definition at line 956 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.exhaustiveConfSrch.

Referenced by denoptim.graph.rings.PathClosabilityTools.evaluate3DPathClosability(), and denoptim.graph.rings.RingClosureFinder.evaluateClosability().

Here is the caller graph for this function:

◆ getBridgeHeadFindingRules()

List< BridgeHeadFindingRule > denoptim.graph.rings.RingClosureParameters.getBridgeHeadFindingRules ( )

◆ getClosabilityEvalMode()

int denoptim.graph.rings.RingClosureParameters.getClosabilityEvalMode ( )

Definition at line 734 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rceMode.

Referenced by denoptim.graph.rings.PathClosabilityTools.isCloseable().

Here is the caller graph for this function:

◆ getConfPathExtraTolerance()

double denoptim.graph.rings.RingClosureParameters.getConfPathExtraTolerance ( )

Definition at line 893 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.pathConfSearchExtraTol.

Referenced by denoptim.graph.rings.RingClosureFinder.evaluateClosability().

Here is the caller graph for this function:

◆ getConstitutionalClosabilityConds()

Map< String, String > denoptim.graph.rings.RingClosureParameters.getConstitutionalClosabilityConds ( )

Definition at line 823 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.ringClosabCondAsSMARTS.

Referenced by denoptim.graph.rings.PathClosabilityTools.evaluateConstitutionalClosability().

Here is the caller graph for this function:

◆ getLinearityLimit()

double denoptim.graph.rings.RingClosureParameters.getLinearityLimit ( )

Definition at line 907 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.linearityLimit.

Referenced by denoptim.graph.rings.RingClosureFinder.evaluateClosability().

Here is the caller graph for this function:

◆ getMaxNumberRotatableBonds()

int denoptim.graph.rings.RingClosureParameters.getMaxNumberRotatableBonds ( )

Definition at line 741 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.maxRotBonds.

Referenced by denoptim.graph.rings.RingClosureFinder.evaluateClosability().

Here is the caller graph for this function:

◆ getMaxRcaPerType()

int denoptim.graph.rings.RingClosureParameters.getMaxRcaPerType ( String  type)
Parameters
typethe elemental symbol of the RCA to consider.
Returns
the maximum allowed number of RCAs or 0, if not set.

Definition at line 799 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.maxRcaPerType.

◆ getMaxRingClosures()

int denoptim.graph.rings.RingClosureParameters.getMaxRingClosures ( )

Definition at line 816 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.maxRingClosures.

Referenced by denoptim.ga.EAUtils.setupRings().

Here is the caller graph for this function:

◆ getMaxRingSize()

int denoptim.graph.rings.RingClosureParameters.getMaxRingSize ( )

Definition at line 748 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.maxRingSize.

Referenced by denoptim.ga.GraphOperations.addFusedRing(), denoptim.graph.rings.RingSizeManager.calculateCompatibilityOfAllRCAPairs(), denoptim.graph.rings.RingSizeManager.getRSBiasedListOfCandidates(), and denoptim.ga.GraphOperationsTest.testAddRing().

Here is the caller graph for this function:

◆ getMinRcaPerType()

int denoptim.graph.rings.RingClosureParameters.getMinRcaPerType ( String  type)
Parameters
typethe elemental symbol of the RCA to consider.
Returns
the minimum allowed number of RCAs or 0, if not set.

Definition at line 785 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.minRcaPerType.

◆ getMinRingClosures()

int denoptim.graph.rings.RingClosureParameters.getMinRingClosures ( )

◆ getPathConfSearchStep()

double denoptim.graph.rings.RingClosureParameters.getPathConfSearchStep ( )

Definition at line 914 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.pathConfSearchStep.

Referenced by denoptim.graph.rings.CyclicGraphHandler.ClosableConf.canCoexistWith(), and denoptim.graph.rings.RingClosureFinder.evaluateClosability().

Here is the caller graph for this function:

◆ getRCCLibraryFolder()

String denoptim.graph.rings.RingClosureParameters.getRCCLibraryFolder ( )

Definition at line 942 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rccFolder.

Referenced by denoptim.graph.rings.RingClosuresArchive.getRCCsFromArchive(), and denoptim.graph.rings.RingClosuresArchive.storeEntry().

Here is the caller graph for this function:

◆ getRCCLibraryIndexFile()

String denoptim.graph.rings.RingClosureParameters.getRCCLibraryIndexFile ( )

Definition at line 935 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rccIndex.

Referenced by denoptim.graph.rings.RingClosuresArchive.RingClosuresArchive(), and denoptim.graph.rings.RingClosuresArchive.storeEntry().

Here is the caller graph for this function:

◆ getRCDistTolerance()

double denoptim.graph.rings.RingClosureParameters.getRCDistTolerance ( )

Definition at line 886 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rcTolDist.

Referenced by denoptim.molecularmodeling.RingClosureTool.closeRings(), and denoptim.graph.rings.RingClosure.getClosabilityConditions().

Here is the caller graph for this function:

◆ getRCDotPrTolerance()

double denoptim.graph.rings.RingClosureParameters.getRCDotPrTolerance ( )

Definition at line 900 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rcMaxDot.

Referenced by denoptim.molecularmodeling.RingClosureTool.closeRings(), and denoptim.graph.rings.RingClosure.getClosabilityConditions().

Here is the caller graph for this function:

◆ getRequiredRingElements()

Set< String > denoptim.graph.rings.RingClosureParameters.getRequiredRingElements ( )

Definition at line 921 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.reqElInRings.

Referenced by denoptim.graph.rings.PathClosabilityTools.evaluateConstitutionalClosability().

Here is the caller graph for this function:

◆ getRingClosuresArchive()

RingClosuresArchive denoptim.graph.rings.RingClosureParameters.getRingClosuresArchive ( )

Definition at line 949 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.rcArchive.

Referenced by denoptim.ga.EAUtils.buildGraph(), and denoptim.graph.rings.PathClosabilityTools.evaluate3DPathClosability().

Here is the caller graph for this function:

◆ getRingSizeBias()

List< Integer > denoptim.graph.rings.RingClosureParameters.getRingSizeBias ( )
Returns
the list of biases for ring size. Each value is the weight of the preference for rings of the size equal to the index of the value in the list.

Definition at line 760 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.ringSizeBias.

Referenced by denoptim.ga.GraphOperations.addFusedRing(), denoptim.gui.FSParametersForm.FSParametersForm(), and denoptim.graph.rings.RingSizeManager.RingSizeManager().

Here is the caller graph for this function:

◆ getVerbosity()

int denoptim.graph.rings.RingClosureParameters.getVerbosity ( )

Returns the level of verbosity, i.e., the amount of log that we want to print.

Returns
the level of verbosity.

Reimplemented from denoptim.programs.RunTimeParameters.

Definition at line 849 of file RingClosureParameters.java.

References denoptim.programs.RunTimeParameters.verbosity.

Referenced by denoptim.graph.rings.RingClosuresArchive.getRCCsOfChain().

Here is the caller graph for this function:

◆ interpretKeyword()

void denoptim.graph.rings.RingClosureParameters.interpretKeyword ( String  key,
String  value 
) throws DENOPTIMException

Processes a keyword/value pair and assign the related parameters.

Parameters
keythe keyword as string
valuethe value as a string
Exceptions
DENOPTIMExceptionis the parameter cannot be configured from the given value.

Reimplemented from denoptim.programs.RunTimeParameters.

Definition at line 977 of file RingClosureParameters.java.

References denoptim.programs.RunTimeParameters.applyRegisteredKeyword().

Here is the call graph for this function:

◆ parseBridgeHeadRules()

static List< BridgeHeadFindingRule > denoptim.graph.rings.RingClosureParameters.parseBridgeHeadRules ( RunTimeParameters  owner,
List< BridgeHeadFindingRule >  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for the rules that identify the atoms that can become bridge heads to form fused rings.

Definition at line 689 of file RingClosureParameters.java.

References denoptim.io.DenoptimIO.readBridgeHesFindingRules().

Here is the call graph for this function:

◆ parseClosabilityMode()

static Integer denoptim.graph.rings.RingClosureParameters.parseClosabilityMode ( RunTimeParameters  owner,
Integer  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for the ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of candidate ring, 1 = only closability of 3D chain, 2 = both 0 and 1.

Definition at line 173 of file RingClosureParameters.java.

◆ parseClosableRingSmarts()

static Map< String, String > denoptim.graph.rings.RingClosureParameters.parseClosableRingSmarts ( RunTimeParameters  owner,
Map< String, String >  current,
String  value 
)
staticprivate

Parser for the SMARTS defining the constitution-based ring closability condition.

Definition at line 541 of file RingClosureParameters.java.

◆ parseOrphanApClass()

static Set< APClass > denoptim.graph.rings.RingClosureParameters.parseOrphanApClass ( RunTimeParameters  owner,
Set< APClass >  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for the list of metal-coordinating APClasses.

Definition at line 126 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.BUILD_CHELATES_MODE, denoptim.graph.APClass.make(), and denoptim.programs.RunTimeParameters.set().

Here is the call graph for this function:

◆ parseRcaPerType()

static Map< String, Integer > denoptim.graph.rings.RingClosureParameters.parseRcaPerType ( RunTimeParameters  owner,
Map< String, Integer >  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for MIN_RCA_PER_TYPE and MAX_RCA_PER_TYPE.

Definition at line 262 of file RingClosureParameters.java.

◆ parseRccFolder()

static String denoptim.graph.rings.RingClosureParameters.parseRccFolder ( RunTimeParameters  owner,
String  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for the pathname of the root folder containing the archive of serialized RingClosingConformations.

Definition at line 629 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.SERIALIZE_RCCS, denoptim.programs.RunTimeParameters.set(), and denoptim.programs.ParameterKey< T >.stringAlways().

Here is the call graph for this function:

◆ parseRequiredDouble()

static Double denoptim.graph.rings.RingClosureParameters.parseRequiredDouble ( RunTimeParameters  owner,
Double  current,
String  value 
) throws DENOPTIMException
staticprivate

◆ parseRequiredElement()

static Set< String > denoptim.graph.rings.RingClosureParameters.parseRequiredElement ( RunTimeParameters  owner,
Set< String >  current,
String  value 
)
staticprivate

Parser for the required elements in closable chains.

Definition at line 568 of file RingClosureParameters.java.

◆ parseRequiredInteger()

static Integer denoptim.graph.rings.RingClosureParameters.parseRequiredInteger ( RunTimeParameters  owner,
Integer  current,
String  value 
) throws DENOPTIMException
staticprivate

◆ parseRingSizeBias()

static List< Integer > denoptim.graph.rings.RingClosureParameters.parseRingSizeBias ( RunTimeParameters  owner,
List< Integer >  current,
String  value 
) throws DENOPTIMException
staticprivate

Parser for the relative weight of ring sizes to bias the selection of a ring combination among the various alternatives.

Definition at line 462 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.MAX_RING_SIZE, denoptim.graph.rings.RingClosureParameters.maxRingSize, denoptim.graph.rings.RingClosureParameters.RingClosureParameters(), and denoptim.programs.RunTimeParameters.set().

Here is the call graph for this function:

◆ processParameters()

void denoptim.graph.rings.RingClosureParameters.processParameters ( ) throws DENOPTIMException

Processes all parameters and initialize related objects.

Exceptions
DENOPTIMException

Reimplemented from denoptim.programs.RunTimeParameters.

Definition at line 1083 of file RingClosureParameters.java.

References denoptim.programs.RunTimeParameters.processOtherParameters(), and denoptim.graph.rings.RingClosureParameters.rcArchive.

Here is the call graph for this function:

◆ selectFragmentsFromClosableChains()

boolean denoptim.graph.rings.RingClosureParameters.selectFragmentsFromClosableChains ( )

Definition at line 879 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.selectFragsFromCC.

Referenced by denoptim.ga.GraphOperations.extendGraphWithFragSpace().

Here is the caller graph for this function:

◆ serializeRCCs()

boolean denoptim.graph.rings.RingClosureParameters.serializeRCCs ( )

◆ setConstitutionalClosabilityConds()

void denoptim.graph.rings.RingClosureParameters.setConstitutionalClosabilityConds ( Map< String, String >  ringClosabCondAsSMARTS)

Sets the list of constitutions that can be formed by ring closure.

SMARTS are used to define such constitutions. Note that the ring-closing attractors are not considered in the definition of the constitution of the ring.

Parameters
ringClosabCondAsSMARTSa map where each entry is a rule that defined constitutions that can be formed. In each entry, the key is the name of the rule and is used only for logging, and the value is the SMARTS query that must be matched for a candidate ring to be accepted.

Definition at line 841 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.CLOSABLE_RING_SMARTS, and denoptim.graph.rings.RingClosureParameters.ringClosabCondAsSMARTS.

Referenced by denoptim.graph.rings.PathClosabilityToolsTest.testEvaluateConstitutionalClosability().

Here is the caller graph for this function:

◆ setRingSizeBias()

void denoptim.graph.rings.RingClosureParameters.setRingSizeBias ( List< Integer >  biases)

Sets the preference for certain ring sizes or the prohibition to generate certain rings (i.e., weight = 0).

Parameters
biasesthe list of biases for ring size. Each value is the weight
of the preference for rings of the size equal to the index of the value in the list.

Definition at line 774 of file RingClosureParameters.java.

References denoptim.graph.rings.RingClosureParameters.RING_SIZE_BIAS.

Referenced by denoptim.ga.GraphOperationsTest.testAddFusedRings(), denoptim.ga.GraphOperationsTest.testAddRing(), denoptim.graph.rings.RandomCombOfRingIteratorTest.testEvaluateConstitutionalClosability(), and denoptim.graph.rings.RingSizeManagerTest.testEvaluateRCVPair().

Here is the caller graph for this function:

Member Data Documentation

◆ BRIDGE_HEAD_FINDING_RULES

final ParameterKey<List<BridgeHeadFindingRule> > denoptim.graph.rings.RingClosureParameters.BRIDGE_HEAD_FINDING_RULES
static
Initial value:
= ParameterKey.<List<BridgeHeadFindingRule>>replace(
ParametersType.RC_PARAMS, "BRIDGEHEADFINDINGRULESFILE=",
.mirroredBy((owner, value) ->
value)
static List< BridgeHeadFindingRule > parseBridgeHeadRules(RunTimeParameters owner, List< BridgeHeadFindingRule > current, String value)
Parser for the rules that identify the atoms that can become bridge heads to form fused rings.
List< BridgeHeadFindingRule > bridgeHeadFindingRules
Rules that identify the atoms that can become bridge heads to form fused rings.

Rules that identify atoms that can become bridge heads.

Definition at line 678 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.RingClosureParameters().

◆ bridgeHeadFindingRules

List<BridgeHeadFindingRule> denoptim.graph.rings.RingClosureParameters.bridgeHeadFindingRules
protected

Rules that identify the atoms that can become bridge heads to form fused rings.

Definition at line 672 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getBridgeHeadFindingRules().

◆ BUILD_CHELATES_MODE

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.BUILD_CHELATES_MODE
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS, "BUILDCHELATESMODE")
.mirroredBy((owner, value) ->
boolean buildChelatesMode
Flag activating procedures favoring formation of chelates.

Flag activating procedures favoring formation of chelates.

Definition at line 96 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.parseOrphanApClass().

◆ buildChelatesMode

boolean denoptim.graph.rings.RingClosureParameters.buildChelatesMode = false
protected

◆ CHECK_INTERDEPENDENT_CHAINS

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.CHECK_INTERDEPENDENT_CHAINS
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS,
"CHECKINTERDEPENDENTCHAINS")
.mirroredBy((owner, value) ->
boolean checkInterdepPaths
Flag controlling the ring-closing criterion evaluating the simultaneous closability of interdependent...

Flag requiring evaluation of interdependent chains.

Definition at line 662 of file RingClosureParameters.java.

◆ checkInterdepPaths

boolean denoptim.graph.rings.RingClosureParameters.checkInterdepPaths = false
protected

Flag controlling the ring-closing criterion evaluating the simultaneous closability of interdependent chains.

If true requires the evaluation of interdependent chains.

Definition at line 657 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkInterdependentChains(), and denoptim.graph.rings.RingClosureParameters.checkParameters().

◆ CLOSABILITY_MODE

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.CLOSABILITY_MODE
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS,
"EVALUATIONCLOSABILITYMODE=", Integer.valueOf(-1),
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).rceMode = value)
static Integer parseClosabilityMode(RunTimeParameters owner, Integer current, String value)
Parser for the ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of can...
int rceMode
The ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of candidate ring...

Ring closability evaluation mode.

Definition at line 161 of file RingClosureParameters.java.

◆ CLOSABLE_RING_SMARTS

final ParameterKey<Map<String,String> > denoptim.graph.rings.RingClosureParameters.CLOSABLE_RING_SMARTS
static
Initial value:
=
ParameterKey.accumulate(ParametersType.RC_PARAMS,
"CLOSABLERINGSMARTS=",
Collections.<String,String>emptyMap(),
.mirroredBy((owner, value) ->
value)
Map< String, String > ringClosabCondAsSMARTS
SMARTS defining the constitution-based ring closability condition.
static Map< String, String > parseClosableRingSmarts(RunTimeParameters owner, Map< String, String > current, String value)
Parser for the SMARTS defining the constitution-based ring closability condition.

SMARTS defining constitution-based ring closability.

Each keyword adds one query.

Definition at line 528 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.setConstitutionalClosabilityConds().

◆ CLOSE_RINGS

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.CLOSE_RINGS
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS, "CLOSERINGS")
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).closeRings = value)
boolean closeRings
Flag activating the ring closing machinery.

Flag activating the ring closing machinery.

Definition at line 72 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.allowRingClosures().

◆ CLOSE_RINGS_EQ

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.CLOSE_RINGS_EQ
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "CLOSERINGS=",
Boolean.FALSE,
(owner, current, value) -> Boolean.TRUE)
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).closeRings = value)

Same flag as CLOSE_RINGS.

Any text, including empty, stores true.

Definition at line 81 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.allowRingClosures().

◆ closeRings

boolean denoptim.graph.rings.RingClosureParameters.closeRings = false
protected

◆ CONF_SEARCH_STEP

final ParameterKey<Double> denoptim.graph.rings.RingClosureParameters.CONF_SEARCH_STEP
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "CONFSEARCHSTEP=",
Double.valueOf(12.0),
.mirroredBy((owner, value) ->
double pathConfSearchStep
Torsion angle step for conformational scan of candidate closable chain.
static Double parseRequiredDouble(RunTimeParameters owner, Double current, String value)
Parser for LINEARITY_LIMIT, DISTANCE_TOLERANCE_FACTOR, EXTRA_DISTANCE_TOLERANCE_FACTOR,...

Torsion angle step for the conformational scan of a candidate chain.

Definition at line 435 of file RingClosureParameters.java.

◆ DEFAULT_MAX_RING_SIZE

final int denoptim.graph.rings.RingClosureParameters.DEFAULT_MAX_RING_SIZE = 9
staticprivate

Default of maxRingSize.

defaultRingSizeBias() is built for this size.

Definition at line 56 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.defaultRingSizeBias().

◆ DISTANCE_TOLERANCE_FACTOR

final ParameterKey<Double> denoptim.graph.rings.RingClosureParameters.DISTANCE_TOLERANCE_FACTOR
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS,
"DISTANCETOLERANCEFACTOR=", Double.valueOf(0.33),
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).rcTolDist = value)
double rcTolDist
Tolerance factor for interatomic distances.

Tolerance factor for interatomic distances.

Definition at line 379 of file RingClosureParameters.java.

◆ EXHAUSTIVE_CONF_SEARCH

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.EXHAUSTIVE_CONF_SEARCH
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS, "EXHAUSTIVECONFSEARCH")
.mirroredBy((owner, value) ->
boolean exhaustiveConfSrch
Flag controlling conformational search.

Flag controlling exhaustive conformational search.

Definition at line 647 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkParameters().

◆ exhaustiveConfSrch

boolean denoptim.graph.rings.RingClosureParameters.exhaustiveConfSrch = false
protected

Flag controlling conformational search.

If true the whole torsional space is scanned looking for ring closing conformations. WARNING! This is very time consuming, but is needed for the current implementation of the iterdependent ring criterion.

Definition at line 642 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkParameters(), and denoptim.graph.rings.RingClosureParameters.doExhaustiveConfSrch().

◆ EXTRA_DISTANCE_TOLERANCE_FACTOR

final ParameterKey<Double> denoptim.graph.rings.RingClosureParameters.EXTRA_DISTANCE_TOLERANCE_FACTOR
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS,
"EXTRADISTANCETOLERANCEFACTOR=", Double.valueOf(1.1),
.mirroredBy((owner, value) ->
value)
double pathConfSearchExtraTol
Extra tolerance factor for interatomic distances.

Extra tolerance factor used for discrete torsion scans.

Definition at line 402 of file RingClosureParameters.java.

◆ LINEARITY_LIMIT

final ParameterKey<Double> denoptim.graph.rings.RingClosureParameters.LINEARITY_LIMIT
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "LINEARITYLIMIT=",
Double.valueOf(178.5),
.mirroredBy((owner, value) ->
double linearityLimit
Maximum value for non-flat bond angle (in degree).

Maximum value for a non-flat bond angle (degrees).

Definition at line 337 of file RingClosureParameters.java.

◆ linearityLimit

double denoptim.graph.rings.RingClosureParameters.linearityLimit = 178.5
protected

Maximum value for non-flat bond angle (in degree).

Definition at line 332 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getLinearityLimit().

◆ MAX_DOT_PROD

final ParameterKey<Double> denoptim.graph.rings.RingClosureParameters.MAX_DOT_PROD
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "MAXDOTPROD=",
Double.valueOf(-0.75),
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).rcMaxDot = value)
double rcMaxDot
Maximum value of dot product between the normalized attachment point vectors at the head and tail of ...

Maximum dot product between normalized head and tail attachment vectors.

Definition at line 420 of file RingClosureParameters.java.

◆ MAX_RCA_PER_TYPE

final ParameterKey<Map<String,Integer> > denoptim.graph.rings.RingClosureParameters.MAX_RCA_PER_TYPE
static
Initial value:
=
ParameterKey.accumulate(ParametersType.RC_PARAMS,
"MAXRCAPERTYPEPERGRAPH=",
Collections.<String,Integer>emptyMap(),
.mirroredBy((owner, value) ->
Map< String, Integer > maxRcaPerType
Maximum number of RingClosingAttractors in a valid graph.
static Map< String, Integer > parseRcaPerType(RunTimeParameters owner, Map< String, Integer > current, String value)
Parser for MIN_RCA_PER_TYPE and MAX_RCA_PER_TYPE.

Maximum number of ring-closing attractors of one type in a valid graph.

Definition at line 291 of file RingClosureParameters.java.

◆ MAX_RING_CLOSURES

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.MAX_RING_CLOSURES
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS,
"MAXNUMBERRINGCLOSURES=", Integer.valueOf(50),
.mirroredBy((owner, value) ->
int maxRingClosures
Maximum number of RingClosures in a valid graph.
static Integer parseRequiredInteger(RunTimeParameters owner, Integer current, String value)
Parser for MAX_ROT_BONDS, MAX_RING_SIZE, MIN_RING_CLOSURES, and MAX_RING_CLOSURES.

Maximum number of ring closures in a valid graph.

Definition at line 322 of file RingClosureParameters.java.

◆ MAX_RING_SIZE

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.MAX_RING_SIZE
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "MAXSIZENEWRINGS=",
Integer.valueOf(DEFAULT_MAX_RING_SIZE),
.mirroredBy((owner, value) ->
int maxRingSize
Maximum size (number of atoms) in ring closing chain.
static final int DEFAULT_MAX_RING_SIZE
Default of maxRingSize.

Maximum size (number of atoms) in a ring closing chain.

Definition at line 236 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.parseRingSizeBias().

◆ MAX_ROT_BONDS

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.MAX_ROT_BONDS
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "MAXROTBONDS=",
Integer.valueOf(7),
.mirroredBy((owner, value) ->
int maxRotBonds
Maximum number of rotatable bonds for which conformational space is explored.

Maximum number of rotatable bonds for which conformational space is explored.

Definition at line 202 of file RingClosureParameters.java.

◆ maxRcaPerType

Map<String,Integer> denoptim.graph.rings.RingClosureParameters.maxRcaPerType = new HashMap<String,Integer>()
protected

◆ maxRingClosures

int denoptim.graph.rings.RingClosureParameters.maxRingClosures = 50
protected

◆ maxRingSize

int denoptim.graph.rings.RingClosureParameters.maxRingSize = DEFAULT_MAX_RING_SIZE
protected

Maximum size (number of atoms) in ring closing chain.

The shortest path is considered.

Definition at line 231 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getMaxRingSize(), and denoptim.graph.rings.RingClosureParameters.parseRingSizeBias().

◆ maxRotBonds

int denoptim.graph.rings.RingClosureParameters.maxRotBonds = 7
protected

Maximum number of rotatable bonds for which conformational space is explored.

Definition at line 196 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getMaxNumberRotatableBonds().

◆ metalCoordinatingAPClasses

Set<APClass> denoptim.graph.rings.RingClosureParameters.metalCoordinatingAPClasses
protected
Initial value:
=
new HashSet<APClass>()

List of metal-coordinating APClasses.

Used to identify 'orphan' metal-coordinating sites that give rise to coordination isomerism (i.e., we have build a specific isomer, but the existence of unused metal- coordinating groups opens for the possibility of binding the metal/s with a different combination of groups).

Definition at line 108 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.CyclicGraphHandler.checkChelatesGraph().

◆ MIN_RCA_PER_TYPE

final ParameterKey<Map<String,Integer> > denoptim.graph.rings.RingClosureParameters.MIN_RCA_PER_TYPE
static
Initial value:
=
ParameterKey.accumulate(ParametersType.RC_PARAMS,
"MINRCAPERTYPEPERGRAPH=",
Collections.<String,Integer>emptyMap(),
.mirroredBy((owner, value) ->
Map< String, Integer > minRcaPerType
Minimum number of RingClosingAttractors in a valid graph.

Minimum number of ring-closing attractors of one type in a valid graph.

Definition at line 251 of file RingClosureParameters.java.

◆ MIN_RING_CLOSURES

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.MIN_RING_CLOSURES
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS,
"MINNUMBEROFRINGCLOSURES=", Integer.valueOf(0),
.mirroredBy((owner, value) ->
int minRingClosures
Minimum number of RingClosures in a valid graph.

Minimum number of ring closures in a valid graph.

Definition at line 307 of file RingClosureParameters.java.

◆ minRcaPerType

Map<String,Integer> denoptim.graph.rings.RingClosureParameters.minRcaPerType = new HashMap<String,Integer>()
protected

◆ minRingClosures

int denoptim.graph.rings.RingClosureParameters.minRingClosures = 0
protected

◆ ORPHAN_AP_CLASS

final ParameterKey<Set<APClass> > denoptim.graph.rings.RingClosureParameters.ORPHAN_AP_CLASS
static
Initial value:
=
ParameterKey.accumulate(ParametersType.RC_PARAMS, "ORPHANAPCLASS=",
Collections.<APClass>emptySet(),
.mirroredBy((owner, value) ->
value)
Set< APClass > metalCoordinatingAPClasses
List of metal-coordinating APClasses.
static Set< APClass > parseOrphanApClass(RunTimeParameters owner, Set< APClass > current, String value)
Parser for the list of metal-coordinating APClasses.

Metal-coordinating APClasses.

Each keyword adds one class and turns chelate building on.

Definition at line 115 of file RingClosureParameters.java.

◆ pathConfSearchExtraTol

double denoptim.graph.rings.RingClosureParameters.pathConfSearchExtraTol = 1.1
protected

Extra tolerance factor for interatomic distances.

This value (ep) is multiplied to the tolerance factor (p) when discrete as opposite to continue variation of torsion angles is performed. With the normal tolerance factor (p) and the lengths of the AP vectors l_H and l_T, the accepted deviation to an interatomic distance (dt) is calculated as dt = ep * p * (l_H + l_T) / 2

Definition at line 397 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getConfPathExtraTolerance().

◆ pathConfSearchStep

double denoptim.graph.rings.RingClosureParameters.pathConfSearchStep = 12.0
protected

Torsion angle step for conformational scan of candidate closable chain.

Definition at line 430 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getPathConfSearchStep().

◆ rcArchive

RingClosuresArchive denoptim.graph.rings.RingClosureParameters.rcArchive
private

◆ RCC_FOLDER

final ParameterKey<String> denoptim.graph.rings.RingClosureParameters.RCC_FOLDER
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "RCCFOLDER=", "",
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).rccFolder = value)
String rccFolder
Pathname of the root folder containing the archive of serialized RingClosingConformations.
static String parseRccFolder(RunTimeParameters owner, String current, String value)
Parser for the pathname of the root folder containing the archive of serialized RingClosingConformati...

Root folder of the ring-closing conformation archive.

Seeing this keyword also turns serialization on.

Definition at line 619 of file RingClosureParameters.java.

◆ RCC_INDEX

final ParameterKey<String> denoptim.graph.rings.RingClosureParameters.RCC_INDEX
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "RCCINDEX=", "",
ParameterKey.stringAlways())
.mirroredBy((owner, value) ->
((RingClosureParameters) owner).rccIndex = value)
String rccIndex
Pathname of the text file containing the list of visited RingClosingConformations (i....

Pathname of the ring-closing conformation index file.

Definition at line 587 of file RingClosureParameters.java.

◆ rccFolder

String denoptim.graph.rings.RingClosureParameters.rccFolder = ""
protected

Pathname of the root folder containing the archive of serialized RingClosingConformations.

Definition at line 613 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkParameters(), and denoptim.graph.rings.RingClosureParameters.getRCCLibraryFolder().

◆ rccIndex

String denoptim.graph.rings.RingClosureParameters.rccIndex = ""
protected

Pathname of the text file containing the list of visited RingClosingConformations (i.e., index file).

The index file is machine-written and is bound to the corresponding libraries of fragments.

Definition at line 582 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getRCCLibraryIndexFile().

◆ rceMode

int denoptim.graph.rings.RingClosureParameters.rceMode = -1
protected

The ring closability evaluation mode: -1= only ring rize bias 0 = only constitution of candidate ring, 1 = only closability of 3D chain, 2 = both 0 and 1.

Definition at line 156 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkParameters(), and denoptim.graph.rings.RingClosureParameters.getClosabilityEvalMode().

◆ rcMaxDot

double denoptim.graph.rings.RingClosureParameters.rcMaxDot = -0.75
protected

Maximum value of dot product between the normalized attachment point vectors at the head and tail of a candidate chain.

Note that perfect alignment implies a dot product of -1.0.

Definition at line 415 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getRCDotPrTolerance().

◆ rcTolDist

double denoptim.graph.rings.RingClosureParameters.rcTolDist = 0.33
protected

Tolerance factor for interatomic distances.

This value is the percentage (p) of the average between the attachment point vector lengths at the head (l_H) and tail (l_T) of a candidate chain. dt = p * (l_H + l_T) / 2 Interatomic distance criteria are satisfied with a deviation of +/- dt

Definition at line 374 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getRCDistTolerance().

◆ reqElInRings

Set<String> denoptim.graph.rings.RingClosureParameters.reqElInRings = new HashSet<String>()
protected

Required elements in closable chains.

Definition at line 552 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getRequiredRingElements().

◆ requireCompleteRingclosure

boolean denoptim.graph.rings.RingClosureParameters.requireCompleteRingclosure = true

Flag requesting complete ring closure of all pairs of RCAs in at least one combination of RCAs to consider the calculation successful.

Definition at line 701 of file RingClosureParameters.java.

Referenced by denoptim.molecularmodeling.MultiMolecularModelBuilder.buildMulti3DStructure().

◆ REQUIRED_ELEMENT_IN_RINGS

final ParameterKey<Set<String> > denoptim.graph.rings.RingClosureParameters.REQUIRED_ELEMENT_IN_RINGS
static
Initial value:
=
ParameterKey.accumulate(ParametersType.RC_PARAMS,
"REQUIREDELEMENTINRINGS=",
Collections.<String>emptySet(),
.mirroredBy((owner, value) ->
static Set< String > parseRequiredElement(RunTimeParameters owner, Set< String > current, String value)
Parser for the required elements in closable chains.
Set< String > reqElInRings
Required elements in closable chains.

Elemental symbols required in closable chains.

Each keyword adds one.

Definition at line 557 of file RingClosureParameters.java.

◆ RING_SIZE_BIAS

final ParameterKey<List<Integer> > denoptim.graph.rings.RingClosureParameters.RING_SIZE_BIAS
static
Initial value:
=
ParameterKey.replace(ParametersType.RC_PARAMS, "RINGSIZEBIAS=",
.mirroredBy((owner, value) ->
static List< Integer > parseRingSizeBias(RunTimeParameters owner, List< Integer > current, String value)
Parser for the relative weight of ring sizes to bias the selection of a ring combination among the va...
static List< Integer > defaultRingSizeBias()
Returns the list of parameters in a string with newline characters as delimiters.
List< Integer > ringSizeBias
Relative weight of ring sizes to bias the selection of a ring combination among the various alternati...

Relative weight of ring sizes.

Each keyword sets one size's weight.

Definition at line 451 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.setRingSizeBias().

◆ ringClosabCondAsSMARTS

Map<String,String> denoptim.graph.rings.RingClosureParameters.ringClosabCondAsSMARTS
protected
Initial value:
=
new HashMap<String,String>()

SMARTS defining the constitution-based ring closability condition.

Definition at line 521 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getConstitutionalClosabilityConds(), and denoptim.graph.rings.RingClosureParameters.setConstitutionalClosabilityConds().

◆ ringSizeBias

List<Integer> denoptim.graph.rings.RingClosureParameters.ringSizeBias = defaultRingSizeBias()
protected

Relative weight of ring sizes to bias the selection of a ring combination among the various alternatives.

Definition at line 446 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.getRingSizeBias().

◆ SELECT_FRAGMENTS_FROM_CLOSABLE_CHAINS

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.SELECT_FRAGMENTS_FROM_CLOSABLE_CHAINS
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS,
"SELECTFRAGMENTSFROMCLOSABLECHAINS")
.mirroredBy((owner, value) ->
boolean selectFragsFromCC
Flag activating the biased selection of closable fragment chains.

Flag activating the biased selection of closable fragment chains.

Definition at line 143 of file RingClosureParameters.java.

◆ selectFragsFromCC

boolean denoptim.graph.rings.RingClosureParameters.selectFragsFromCC = false
protected

Flag activating the biased selection of closable fragment chains.

Definition at line 138 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.checkParameters(), and denoptim.graph.rings.RingClosureParameters.selectFragmentsFromClosableChains().

◆ SERIALIZE_RCCS

final ParameterKey<Boolean> denoptim.graph.rings.RingClosureParameters.SERIALIZE_RCCS
static
Initial value:
=
ParameterKey.flag(ParametersType.RC_PARAMS, "INTERNAL_SERIALIZERCCS")
.mirroredBy((owner, value) ->
boolean serializeRCCs
Flag controlling the serialization of the RingClosingConformations.

Turns serialization of ring-closing conformations on.

Set by RCCFOLDER=. Not a user keyword.

Definition at line 604 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.parseRccFolder().

◆ serializeRCCs

boolean denoptim.graph.rings.RingClosureParameters.serializeRCCs = false
protected

Flag controlling the serialization of the RingClosingConformations.

This flag is activated by the keyword providing the pathname of the root folder of the RCCs archive

Definition at line 598 of file RingClosureParameters.java.

Referenced by denoptim.graph.rings.RingClosureParameters.serializeRCCs(), and denoptim.graph.rings.RingClosuresArchive.storeEntry().

◆ VERBOSITY

final ParameterKey<Integer> denoptim.graph.rings.RingClosureParameters.VERBOSITY
static
Initial value:
=
ParameterKey.verbosity(ParametersType.RC_PARAMS)

Verbosity level passed to the shared logger.

Definition at line 61 of file RingClosureParameters.java.


The documentation for this class was generated from the following file: