HOG2
Public Member Functions | Public Attributes | List of all members
WeightedHeuristic< state > Class Template Reference

#include <Heuristic.h>

Inheritance diagram for WeightedHeuristic< state >:
Inheritance graph
[legend]
Collaboration diagram for WeightedHeuristic< state >:
Collaboration graph
[legend]

Public Member Functions

 WeightedHeuristic (Heuristic< state > *h, double weight)
 
double HCost (const state &a, const state &b) const
 
void SetWeight (double w)
 
- Public Member Functions inherited from Heuristic< state >
 Heuristic ()
 
virtual ~Heuristic ()
 

Public Attributes

Heuristic< state > * h
 
double weight
 
- Public Attributes inherited from Heuristic< state >
std::vector< HeuristicTreeNodelookups
 
std::vector< Heuristic * > heuristics
 
uint64_t histogram [256]
 

Detailed Description

template<class state>
class WeightedHeuristic< state >

Definition at line 49 of file Heuristic.h.

Constructor & Destructor Documentation

◆ WeightedHeuristic()

template<class state >
WeightedHeuristic< state >::WeightedHeuristic ( Heuristic< state > *  h,
double  weight 
)
inline

Definition at line 51 of file Heuristic.h.

Member Function Documentation

◆ HCost()

template<class state >
double WeightedHeuristic< state >::HCost ( const state &  a,
const state &  b 
) const
inlinevirtual

Reimplemented from Heuristic< state >.

Definition at line 52 of file Heuristic.h.

References WeightedHeuristic< state >::h, and WeightedHeuristic< state >::weight.

◆ SetWeight()

template<class state >
void WeightedHeuristic< state >::SetWeight ( double  w)
inline

Definition at line 53 of file Heuristic.h.

References WeightedHeuristic< state >::weight.

Member Data Documentation

◆ h

template<class state >
Heuristic<state>* WeightedHeuristic< state >::h

Definition at line 55 of file Heuristic.h.

Referenced by WeightedHeuristic< state >::HCost().

◆ weight

template<class state >
double WeightedHeuristic< state >::weight

The documentation for this class was generated from the following file: