#include <heuristics.hpp>
Public Member Functions | |
lowest_markowitz_face_complete_t (Heuristic_t t) | |
Constructor with tie-breaker heuristic. | |
int | operator() (const vector< line_graph_t::face_t > &fv1, const line_graph_t &lg, vector< line_graph_t::face_t > &fv2) |
Heuristic computed in operator. | |
Private Attributes | |
int | lastv |
Heuristic_t | tiebreaker |
Computation of Markowitz degree as in lowest_markowitz_face(). Tie-breaker heuristic used to find unique vertex j to eliminate. Multiple faces can be returned by the tie-breaker but they belong to the same vertex, e.g. like reverse_mode_face_whole_vertex(). The vertex j is saved and all following calls return faces belonging to j as long as their are any in fv1. If all faces belonging to j are contained in fv1, the vertex is completely eliminated.
Definition at line 932 of file heuristics.hpp.
angel::lowest_markowitz_face_complete_t< Heuristic_t >::lowest_markowitz_face_complete_t | ( | Heuristic_t | t | ) | [inline] |
int angel::lowest_markowitz_face_complete_t< Heuristic_t >::operator() | ( | const vector< line_graph_t::face_t > & | fv1, | |
const line_graph_t & | lg, | |||
vector< line_graph_t::face_t > & | fv2 | |||
) | [inline] |
Heuristic computed in operator.
fv1 | Set of faces that can be eliminated | |
lg | Line graph | |
fv2 | Set of faces with the lowest Markowitz degree (see description) |
Definition at line 12 of file heuristics_impl.hpp.
References angel::lowest_markowitz_face_complete_t< Heuristic_t >::lastv, angel::markowitz_on_line_graph(), THROW_DEBUG_EXCEPT_MACRO, THROW_EXCEPT_MACRO, and angel::lowest_markowitz_face_complete_t< Heuristic_t >::tiebreaker.
int angel::lowest_markowitz_face_complete_t< Heuristic_t >::lastv [private] |
Definition at line 933 of file heuristics.hpp.
Referenced by angel::lowest_markowitz_face_complete_t< Heuristic_t >::operator()().
Heuristic_t angel::lowest_markowitz_face_complete_t< Heuristic_t >::tiebreaker [private] |
Definition at line 934 of file heuristics.hpp.
Referenced by angel::lowest_markowitz_face_complete_t< Heuristic_t >::operator()().