RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::CIPLabeler::Rule4b Class Reference

#include <Rule4b.h>

Inheritance diagram for RDKit::CIPLabeler::Rule4b:
RDKit::CIPLabeler::SequenceRule

Public Member Functions

 Rule4b ()
 
 Rule4b (Descriptor ref)
 
int compare (const Edge *a, const Edge *b) const override
 
- Public Member Functions inherited from RDKit::CIPLabeler::SequenceRule
 SequenceRule ()
 
virtual ~SequenceRule ()
 
Descriptor getBondLabel (const Edge *edge) const
 
int getComparision (const Edge *a, const Edge *b) const
 
virtual int getComparision (const Edge *a, const Edge *b, bool deep) const
 
virtual const SortgetSorter () const
 
int recursiveCompare (const Edge *a, const Edge *b) const
 
void setSorter (const Sort *sorter)
 
Priority sort (const Node *node, std::vector< Edge * > &edges, bool deep) const
 
Priority sort (const Node *node, std::vector< Edge * > &edges) const
 

Additional Inherited Members

- Protected Attributes inherited from RDKit::CIPLabeler::SequenceRule
std::unique_ptr< const Sortdp_sorter = nullptr
 

Detailed Description

A descriptor pair rule. This rule defines that like descriptor pairs have priority over unlike descriptor pairs.

Definition at line 25 of file Rule4b.h.

Constructor & Destructor Documentation

◆ Rule4b() [1/2]

RDKit::CIPLabeler::Rule4b::Rule4b ( )

◆ Rule4b() [2/2]

RDKit::CIPLabeler::Rule4b::Rule4b ( Descriptor  ref)

Member Function Documentation

◆ compare()

int RDKit::CIPLabeler::Rule4b::compare ( const Edge a,
const Edge b 
) const
overridevirtual

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