|
GEDLIB
1.0
|
Implements constant edit cost functions. More...
#include <constant.hpp>

Public Member Functions | |
| Constant (double node_ins_cost=1, double node_del_cost=1, double node_rel_cost=1, double edge_ins_cost=1, double edge_del_cost=1, double edge_rel_cost=1) | |
| Constructor. More... | |
| virtual double | node_ins_cost_fun (const UserNodeLabel &node_label) const final |
| Node insertions cost function. More... | |
| virtual double | node_del_cost_fun (const UserNodeLabel &node_label) const final |
| Node deletion cost function. More... | |
| virtual double | node_rel_cost_fun (const UserNodeLabel &node_label_1, const UserNodeLabel &node_label_2) const final |
| Node relabeling cost function. More... | |
| virtual double | edge_ins_cost_fun (const UserEdgeLabel &edge_label) const final |
| Edge insertion cost function. More... | |
| virtual double | edge_del_cost_fun (const UserEdgeLabel &edge_label) const final |
| Edge deletion cost function. More... | |
| virtual double | edge_rel_cost_fun (const UserEdgeLabel &edge_label_1, const UserEdgeLabel &edge_label_2) const final |
| Edge relabeling cost function. More... | |
Public Member Functions inherited from ged::EditCosts< UserNodeLabel, UserEdgeLabel > | |
| virtual | ~EditCosts ()=0 |
| Virtual destructor. More... | |
| EditCosts () | |
| Constructor. | |
| virtual void | vectorize_node_label (const UserNodeLabel &node_label, std::vector< double > &vector_representation) const |
| Computes a node label's representation as a real-valued vector. More... | |
| virtual void | vectorize_edge_label (const UserEdgeLabel &edge_label, std::vector< double > &vector_representation) const |
| Computes an edge label's representation as a real-valued vector. More... | |
Implements constant edit cost functions.
Definition at line 38 of file constant.hpp.
| ged::Constant< UserNodeLabel, UserEdgeLabel >::Constant | ( | double | node_ins_cost = 1, |
| double | node_del_cost = 1, |
||
| double | node_rel_cost = 1, |
||
| double | edge_ins_cost = 1, |
||
| double | edge_del_cost = 1, |
||
| double | edge_rel_cost = 1 |
||
| ) |
Constructor.
| [in] | node_ins_cost | |
| [in] | node_del_cost | |
| [in] | node_rel_cost | |
| [in] | edge_ins_cost | |
| [in] | edge_del_cost | |
| [in] | edge_rel_cost |
Definition at line 38 of file constant.ipp.
|
finalvirtual |
Edge deletion cost function.
| [in] | edge_label | An edge label. |
edge_label. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 80 of file constant.ipp.
|
finalvirtual |
Edge insertion cost function.
| [in] | edge_label | An edge label. |
edge_label. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 73 of file constant.ipp.
|
finalvirtual |
Edge relabeling cost function.
| [in] | edge_label_1 | An edge label. |
| [in] | edge_label_2 | An edge label. |
edge_label_1 to edge_label_2. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 87 of file constant.ipp.
|
finalvirtual |
Node deletion cost function.
| [in] | node_label | A node label. |
node_label. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 56 of file constant.ipp.
|
finalvirtual |
Node insertions cost function.
| [in] | node_label | A node label. |
node_label. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 49 of file constant.ipp.
|
finalvirtual |
Node relabeling cost function.
| [in] | node_label_1 | A node label. |
| [in] | node_label_2 | A node label. |
node_label_1 to node_label_2. Reimplemented from ged::EditCosts< UserNodeLabel, UserEdgeLabel >.
Definition at line 63 of file constant.ipp.
1.8.13