27 #ifndef SRC_METHODS_BRANCH_FAST_HPP_ 28 #define SRC_METHODS_BRANCH_FAST_HPP_ 44 template<
class UserNodeLabel,
class UserEdgeLabel>
54 enum SortMethod_ {STD, COUNTING};
56 class SortedEdgeLabels_ {
58 SortedEdgeLabels_(
const GEDGraph & g, SortMethod_ sort_method);
62 void operator=(
const SortedEdgeLabels_ & sorted_edge_labels);
66 std::map<GEDGraph::NodeID, std::vector<LabelID>> sorted_edge_labels_;
69 SortMethod_ sort_method_;
71 std::map<GEDGraph::GraphID, SortedEdgeLabels_> sorted_edge_labels_;
75 virtual bool lsape_parse_option_(
const std::string & option,
const std::string & arg)
final;
88 const SortedEdgeLabels_ & sorted_edge_labels_g,
const SortedEdgeLabels_ & sorted_edge_labels_h)
const;
virtual void lsape_populate_instance_(const GEDGraph &g, const GEDGraph &h, DMatrix &master_problem) final
Populates the LSAPE instance.
Contains the standardized input data along with basic functionality.
virtual void lsape_set_default_options_() final
Sets all options that are not among the ones shared by all derived classes of ged::LSAPEBasedMethod t...
virtual std::string lsape_valid_options_string_() const final
Returns string of all valid options that are not among the ones shared by all derived classes of ged:...
virtual bool lsape_parse_option_(const std::string &option, const std::string &arg) final
Parses one option that is not among the ones shared by all derived classes of ged::LSAPEBasedMethod.
Computes lower and upper bounds for general edit costs.
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.
virtual void lsape_init_graph_(const GEDGraph &graph) final
Initializes global variables for one graph.
Global namespace for GEDLIB.
std::size_t NodeID
Internally used vertex ID type.