Element type conserving cost function, really allowing only edge alterations. More...
#include <GraphAlgorithms.h>
Public Member Functions | |
unsigned | vertexAlteration () const override |
unsigned | elementSubstitution (Utils::ElementType from, Utils::ElementType to) const override |
Public Member Functions inherited from Scine::Molassembler::FuzzyCost | |
unsigned | edgeAlteration () const override |
unsigned | bondSubstitution (BondType from, BondType to) const override |
Element type conserving cost function, really allowing only edge alterations.
This cost function conserves element types and prevents vertex deletion. Perfect for chemical reactions.