27 #ifndef SRC_METHODS_SIMULATED_ANNEALING_HPP_ 28 #define SRC_METHODS_SIMULATED_ANNEALING_HPP_ 55 template<
class UserNodeLabel,
class UserEdgeLabel>
68 std::string lsape_method_name_;
70 std::string lsape_method_options_;
74 std::string lower_bound_method_name_;
76 std::string lower_bound_method_options_;
78 std::size_t num_threads_;
80 std::size_t num_iterations_;
82 double start_probability_;
84 double end_probability_;
92 virtual bool ged_parse_option_(
const std::string & option,
const std::string & arg)
final;
100 void generate_candidate_(
const GEDGraph & g,
const GEDGraph & h,
const DMatrix & lsape_instance,
const std::vector<std::size_t> & current_order,
101 std::vector<std::size_t> & candidate_order,
NodeMap & candidate_node_map)
const;
Contains the standardized input data along with basic functionality.
virtual void ged_run_(const GEDGraph &g, const GEDGraph &h, Result &result) final
Runs the method with options specified by set_options().
A wrapper structure for the result of calls to ged::GEDMethod::run_as_util() and ged::GEDMethod::ged_...
Abstract class for the (suboptimal) computation of the graph edit distance.
virtual void ged_init_() final
Initializes the method.
virtual void ged_set_default_options_() final
Sets all options to default values.
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 bool ged_parse_option_(const std::string &option, const std::string &arg) final
Parses one option.
Global namespace for GEDLIB.
virtual std::string ged_valid_options_string_() const final
Returns string of all valid options.
Uses LSAPE instances to approximate GED via simulated annealing.