#include <heuristics.hpp>

Public Member Functions | |
| heuristic_pair_t (Heuristic1_t _h1, Heuristic2_t _h2) | |
| Constructor with. | |
| template<class Vector_t, class Ad_graph_t> | |
| int | operator() (const Vector_t &v1, const Ad_graph_t &adg, Vector_t &v2) |
| Operator that behaves like one heuristic function. | |
Private Attributes | |
| Heuristic1_t | h1 |
| Heuristic2_t | h2 |
Two heuristics are semantically and syntactically combined to one heuristic. Objects of this class can passed where a heuristic is used in a template or can be called like heuristic functions. For instance, heuristic_pair_t<lowest_markowitz_vertex_t, reverse_mode_vertex_t> lmrm; lmrm (v1, cg, v2); is identical with lowest_markowitz_vertex (v1, cg, vtmp); reverse_mode_vertex (vtmp, cg, v2).
Definition at line 1100 of file heuristics.hpp.
| angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::heuristic_pair_t | ( | Heuristic1_t | _h1, | |
| Heuristic2_t | _h2 | |||
| ) | [inline] |
| int angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::operator() | ( | const Vector_t & | v1, | |
| const Ad_graph_t & | adg, | |||
| Vector_t & | v2 | |||
| ) | [inline] |
Operator that behaves like one heuristic function.
Definition at line 1110 of file heuristics.hpp.
References angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::h1, and angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::h2.
Heuristic1_t angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::h1 [private] |
Definition at line 1102 of file heuristics.hpp.
Referenced by angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::operator()().
Heuristic2_t angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::h2 [private] |
Definition at line 1103 of file heuristics.hpp.
Referenced by angel::heuristic_pair_t< Heuristic1_t, Heuristic2_t >::operator()().
1.5.3