|
| Protein (double node_ins_del_cost=11, double edge_ins_del_cost=1, double alpha=0.75) |
| 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::Protein< UserNodeLabel, UserEdgeLabel >
Edit costs for graphs contained in Protein dataset.
The graphs contained in the Protein dataset represent proteins from the BRENDA enzyme database. Nodes are attributed with their type (named "type") and their amino acid sequence (named "sequence"). Edges are attributed with their frequency (named "frequency"), their types (named "type<frequency>") and their distances (named "distance<frequency>"). The Protein 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 54 of file protein.hpp.