#include <heuristics.hpp>
Public Member Functions | |
forward_mode_vertex_t () | |
int | operator() (const vector< c_graph_t::vertex_t > &vv1, const c_graph_t &cg, vector< c_graph_t::vertex_t > &vv2) |
Since operator() behaves like forward_mode_vertex objects of this class can be called like the function. For instance, forward_mode_vertex_t fm; fm (v1, cg, v2); is identical with forward_mode_vertex (v1, cg, v2);. However, the object fm can be more easyly used in templates.
Definition at line 64 of file heuristics.hpp.
angel::forward_mode_vertex_t::forward_mode_vertex_t | ( | ) | [inline] |
Definition at line 66 of file heuristics.hpp.
int angel::forward_mode_vertex_t::operator() | ( | const vector< c_graph_t::vertex_t > & | vv1, | |
const c_graph_t & | cg, | |||
vector< c_graph_t::vertex_t > & | vv2 | |||
) |
Definition at line 23 of file heuristics.cpp.
References angel::base_heuristic_t< int >::set_empty_objective(), and angel::base_heuristic_t< int >::set_objective().