angel  mercurial changeset:
angel::base_heuristic_t< Objective_t > Class Template Reference

#include <heuristics.hpp>

Inheritance diagram for angel::base_heuristic_t< Objective_t >:
Collaboration diagram for angel::base_heuristic_t< Objective_t >:

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 36 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 42 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 43 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 44 of file heuristics.hpp.

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

Definition at line 48 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 46 of file heuristics.hpp.

Referenced by angel::standard_heuristic_op().

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

Definition at line 52 of file heuristics.hpp.

Referenced by angel::standard_heuristic_op().


Member Data Documentation

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

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines