Base class for edit cost functors for graph edit distance methods. More...
#include <GraphAlgorithms.h>
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 |
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.