27 #ifndef SRC_ENV_RESULT_HPP_ 28 #define SRC_ENV_RESULT_HPP_ 72 std::size_t
add_node_map(std::size_t num_nodes_g, std::size_t num_nodes_h);
115 std::vector<NodeMap> node_maps_;
double upper_bound() const
Returns the upper bound for GED.
void set_lower_bound(double lower_bound)
Sets the lower bound for GED.
ged::NodeMap class declaration.
Result()
Default constructor.
double lower_bound() const
Returns the lower bound for GED.
std::size_t num_node_maps() const
Returns the number of node maps.
std::vector< NodeMap > & node_maps()
Provides access to all node maps.
A wrapper structure for the result of calls to ged::GEDMethod::run_as_util() and ged::GEDMethod::ged_...
ged::Result struct definition.
void sort_node_maps_and_set_upper_bound(std::size_t num_node_maps=std::numeric_limits< std::size_t >::max())
Sorts the vector of node maps w.r.t non-decreasing induced cost and possibly discards expensive node ...
bool is_non_redundant_node_map(std::size_t index_node_map)
Checks if a node map is already contained in the vector of all node maps and removes it if this is th...
std::size_t add_node_map(std::size_t num_nodes_g, std::size_t num_nodes_h)
Adds an empty node map to the result.
Type declarations used by various classes.
Global namespace for GEDLIB.
NodeMap & node_map(std::size_t index_node_map)
Provides access to a node map.