$darkmode
DENOPTIM
denoptim.utils.ManySMARTSQuery Class Reference

Container of lists of atoms matching a list of SMARTS. More...

Collaboration diagram for denoptim.utils.ManySMARTSQuery:
[legend]

Public Member Functions

 ManySMARTSQuery (IAtomContainer mol, Map< String, String > smarts)
 
boolean hasProblems ()
 
Throwable getProblem ()
 
String getMessage ()
 
Map< String, Mappings > getAllMatches ()
 
int getNumMatchesOfQuery (String query)
 
Mappings getMatchesOfSMARTS (String ref)
 

Private Attributes

Map< String, Mappings > allMatches = new HashMap<>()
 
Map< String, Integer > numMatches = new HashMap<>()
 
Throwable problem
 
boolean problems = false
 
String message = ""
 

Detailed Description

Container of lists of atoms matching a list of SMARTS.

Author
Marco Foscato

Definition at line 36 of file ManySMARTSQuery.java.

Constructor & Destructor Documentation

◆ ManySMARTSQuery()

denoptim.utils.ManySMARTSQuery.ManySMARTSQuery ( IAtomContainer  mol,
Map< String, String >  smarts 
)

Member Function Documentation

◆ getAllMatches()

Map< String, Mappings > denoptim.utils.ManySMARTSQuery.getAllMatches ( )

Definition at line 115 of file ManySMARTSQuery.java.

References denoptim.utils.ManySMARTSQuery.allMatches.

Referenced by denoptim.fragmenter.FragmenterTools.filterStrucutresBySMARTS(), and denoptim.fitness.FitnessProvider.getFitness().

Here is the caller graph for this function:

◆ getMatchesOfSMARTS()

Mappings denoptim.utils.ManySMARTSQuery.getMatchesOfSMARTS ( String  ref)

Definition at line 129 of file ManySMARTSQuery.java.

References denoptim.utils.ManySMARTSQuery.allMatches.

Referenced by denoptim.utils.RotationalSpaceUtils.defineRotatableBonds(), and denoptim.programs.fragmenter.CuttingRule.satisfiesOptions().

Here is the caller graph for this function:

◆ getMessage()

◆ getNumMatchesOfQuery()

int denoptim.utils.ManySMARTSQuery.getNumMatchesOfQuery ( String  query)

Definition at line 122 of file ManySMARTSQuery.java.

References denoptim.utils.ManySMARTSQuery.numMatches.

Referenced by denoptim.utils.RotationalSpaceUtils.defineRotatableBonds(), denoptim.graph.rings.PathClosabilityTools.evaluateConstitutionalClosability(), denoptim.fragmenter.FragmenterTools.filterFragment(), and denoptim.programs.fragmenter.CuttingRule.satisfiesOptions().

Here is the caller graph for this function:

◆ getProblem()

Throwable denoptim.utils.ManySMARTSQuery.getProblem ( )

Definition at line 101 of file ManySMARTSQuery.java.

References denoptim.utils.ManySMARTSQuery.problem.

Referenced by denoptim.fragmenter.FragmenterTools.filterStrucutresBySMARTS(), and denoptim.fitness.FitnessProvider.getFitness().

Here is the caller graph for this function:

◆ hasProblems()

Member Data Documentation

◆ allMatches

Map<String,Mappings> denoptim.utils.ManySMARTSQuery.allMatches = new HashMap<>()
private

◆ message

String denoptim.utils.ManySMARTSQuery.message = ""
private

◆ numMatches

Map<String,Integer> denoptim.utils.ManySMARTSQuery.numMatches = new HashMap<>()
private

◆ problem

Throwable denoptim.utils.ManySMARTSQuery.problem
private

◆ problems

boolean denoptim.utils.ManySMARTSQuery.problems = false
private

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