27 #ifndef SRC_METHODS_BRANCH_UNIFORM_HPP_ 28 #define SRC_METHODS_BRANCH_UNIFORM_HPP_ 45 template<
class UserNodeLabel,
class UserEdgeLabel>
55 enum SortMethod_ {STD, COUNTING};
57 class SortedEdgeLabels_ {
59 SortedEdgeLabels_(
const GEDGraph & g, SortMethod_ sort_method);
63 void operator=(
const SortedEdgeLabels_ & sorted_edge_labels);
68 std::map<GEDGraph::NodeID, std::vector<LabelID>> sorted_edge_labels_;
71 SortMethod_ sort_method_;
73 bool wildcard_option_;
75 std::map<GEDGraph::GraphID, SortedEdgeLabels_> sorted_edge_labels_;
79 virtual bool lsape_parse_option_(
const std::string & option,
const std::string & arg)
final;
92 const SortedEdgeLabels_ & sorted_edge_labels_g,
const SortedEdgeLabels_ & sorted_edge_labels_h,
93 double min_edge_subs_cost,
double min_edge_del_cost,
double min_edge_ins_cost)
const;
Contains the standardized input data along with basic functionality.
Abstract class for methods that use lossy transformations to LSAPE for approximating the graph edit d...
The normalized input graphs used by GEDLIB. All labels are integers.
Global namespace for GEDLIB.
std::size_t NodeID
Internally used vertex ID type.