angel::base_heuristic_t< Objective_t > Class Template Reference

#include <heuristics.hpp>

Inheritance diagram for angel::base_heuristic_t< Objective_t >:

Inheritance graph
[legend]
Collaboration diagram for angel::base_heuristic_t< Objective_t >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef Objective_t objective_t

Public Member Functions

 base_heuristic_t (bool _m)
Objective_t objective () const
void set_objective (Objective_t o)
void set_empty_objective ()
bool to_maximize () const

Protected Attributes

Objective_t my_objective
bool is_set
bool my_maximize


Detailed Description

template<class Objective_t = int>
class angel::base_heuristic_t< Objective_t >

Definition at line 28 of file heuristics.hpp.


Member Typedef Documentation

template<class Objective_t = int>
typedef Objective_t angel::base_heuristic_t< Objective_t >::objective_t

Definition at line 34 of file heuristics.hpp.


Constructor & Destructor Documentation

template<class Objective_t = int>
angel::base_heuristic_t< Objective_t >::base_heuristic_t ( bool  _m  )  [inline]

Definition at line 35 of file heuristics.hpp.


Member Function Documentation

template<class Objective_t = int>
Objective_t angel::base_heuristic_t< Objective_t >::objective (  )  const [inline]

Definition at line 36 of file heuristics.hpp.

template<class Objective_t = int>
void angel::base_heuristic_t< Objective_t >::set_objective ( Objective_t  o  )  [inline]

Definition at line 38 of file heuristics.hpp.

Referenced by angel::standard_heuristic_op().

template<class Objective_t = int>
void angel::base_heuristic_t< Objective_t >::set_empty_objective (  )  [inline]

Definition at line 40 of file heuristics.hpp.

template<class Objective_t = int>
bool angel::base_heuristic_t< Objective_t >::to_maximize (  )  const [inline]

Definition at line 44 of file heuristics.hpp.

Referenced by angel::standard_heuristic_op().


Member Data Documentation

template<class Objective_t = int>
Objective_t angel::base_heuristic_t< Objective_t >::my_objective [protected]

Definition at line 30 of file heuristics.hpp.

Referenced by angel::base_heuristic_t< int >::objective(), angel::base_heuristic_t< int >::set_empty_objective(), and angel::base_heuristic_t< int >::set_objective().

template<class Objective_t = int>
bool angel::base_heuristic_t< Objective_t >::is_set [protected]

Definition at line 31 of file heuristics.hpp.

Referenced by angel::base_heuristic_t< int >::objective(), angel::base_heuristic_t< int >::set_empty_objective(), and angel::base_heuristic_t< int >::set_objective().

template<class Objective_t = int>
bool angel::base_heuristic_t< Objective_t >::my_maximize [protected]

Definition at line 32 of file heuristics.hpp.

Referenced by angel::base_heuristic_t< int >::set_empty_objective(), and angel::base_heuristic_t< int >::to_maximize().


The documentation for this class was generated from the following file:
Generated on Wed Mar 11 10:34:46 2009 for angel by  doxygen 1.5.3