|
| CMU (double node_ins_del_cost=100000, double alpha=0.5) |
| 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 void | vectorize_node_label (const UserNodeLabel &node_label, std::vector< double > &vector_representation) const final |
| Computes a node label's representation as a real-valued vector. 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...
|
|
virtual | ~EditCosts ()=0 |
| Virtual destructor. More...
|
|
| EditCosts () |
| Constructor.
|
|
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...
|
|
template<class UserNodeLabel, class UserEdgeLabel>
class ged::CMU< UserNodeLabel, UserEdgeLabel >
Edit costs for graphs contain in CMU dataset.
The graphs contained in the CMU dataset represent images of houses from different viewpoints. Each graph has 30 nodes that are attributed with Euclidian coordinates (named "x" and "y"). An edge e is attributed with the integer-valued Euclidean distance d(e) between the attributes of its endpoints (named "dist"). The CMU dataset is part of the graph data repository for graph edit distance which can be downloaded from http://www.rfai.li.univ-tours.fr/PublicData/GDR4GED/home.html:
Implements the edit costs suggested in:
- Z. Abu-Aisheh, B. Gaüzère, S. Bougleux, J.-Y. Ramel, L. Brun, R. Raveaux, P. Héroux, and S. Adam. “Graph edit distance contest 2016: Results and future challenges”, https://doi.org/10.1016/j.patrec.2017.10.007
- Z. Abu-Aisheh, R. Raveaux, J.-Y. Ramel: “A graph database repository and performance evaluation metrics for graph edit distance”, https://doi.org/10.1007/978-3-319-18224-7_14
Definition at line 53 of file cmu.hpp.