Molassembler  3.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::EditCost Struct Referenceabstract

Base class for edit cost functors for graph edit distance methods. More...

#include <GraphAlgorithms.h>

Inheritance diagram for Scine::Molassembler::EditCost:

Public Member Functions

virtual unsigned vertexAlteration () const =0
 
virtual unsigned edgeAlteration () const =0
 
virtual unsigned elementSubstitution (Utils::ElementType from, Utils::ElementType to) const =0
 
virtual unsigned bondSubstitution (BondType from, BondType to) const =0
 

Detailed Description

Base class for edit cost functors for graph edit distance methods.

This class defines the interface that a cost functor for the family of graph edit distance methods must implement. Regarding the used terminology: Alterations are insertion or deletion. Substitutions are changes to existing parts of the graph.


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