#include <sa.hpp>
Public Member Functions | |
SA_elimination_cost_t (Heuristic_t p_h) | |
Constructor defining the heuristic h . | |
template<class Ad_graph_t, class El_spec_t> | |
int | operator() (const elimination_history_t< Ad_graph_t, El_spec_t > &eh) |
Operator() computes the costs of eh . | |
Private Attributes | |
Heuristic_t | h |
Costs for an object eh are
eh.cg
from eh.og
(stored in eh.ccosts
) andeh.cg
into final graph (bi-/tri-partite) using heuristic h
Definition at line 155 of file sa.hpp.
angel::SA_elimination_cost_t< Heuristic_t >::SA_elimination_cost_t | ( | Heuristic_t | p_h | ) | [inline] |
int angel::SA_elimination_cost_t< Heuristic_t >::operator() | ( | const elimination_history_t< Ad_graph_t, El_spec_t > & | eh | ) | [inline] |
Operator() computes the costs of eh
.
Definition at line 163 of file sa.hpp.
References angel::elimination_history_t< Ad_graph_t, El_spec_t >::ccosts, angel::elimination_history_t< Ad_graph_t, El_spec_t >::cg, angel::SA_elimination_cost_t< Heuristic_t >::h, and angel::use_heuristic().
Heuristic_t angel::SA_elimination_cost_t< Heuristic_t >::h [private] |
Definition at line 156 of file sa.hpp.
Referenced by angel::SA_elimination_cost_t< Heuristic_t >::operator()().