|
| GREC2 (double node_ins_del_cost=90, double edge_ins_del_cost=15, 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 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_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...
|
|
template<class UserNodeLabel, class UserEdgeLabel>
class ged::GREC2< UserNodeLabel, UserEdgeLabel >
Edit cost functions for the dataset GREC.
The graphs contained in the GREC dataset represent line drawings of electronic or architectural symbols. The contained graphs have around 20 vertices that are attributed with integer-valued Euclidian coordinates (named "x" and "y"), as well as with a string type (named "type"). Edges are attributed with an integer named "frequency" that takes the values 1 and 2, strings named "type0" and "angle0", and strings named "type1" and "angle1" if the frequency equals 2. The GREC dataset is contained in the IAM graph database repository which can be downloaded from http://www.fki.inf.unibe.ch/databases/iam-graph-database:
Implements the edit costs suggested in:
Definition at line 55 of file grec_2.hpp.