HOG2
Public Member Functions | Private Attributes | List of all members
PermutationPuzzle::ArbitraryGoalPermutation< state, environment > Class Template Reference

#include <PermutationPuzzleEnvironment.h>

Inheritance diagram for PermutationPuzzle::ArbitraryGoalPermutation< state, environment >:
Inheritance graph
[legend]
Collaboration diagram for PermutationPuzzle::ArbitraryGoalPermutation< state, environment >:
Collaboration graph
[legend]

Public Member Functions

 ArbitraryGoalPermutation (Heuristic< state > *h, environment *env)
 
virtual double HCost (const state &a, const state &b) const
 
- Public Member Functions inherited from Heuristic< state >
 Heuristic ()
 
virtual ~Heuristic ()
 

Private Attributes

Heuristic< state > * h
 
environment * e
 

Additional Inherited Members

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

Detailed Description

template<typename state, typename environment>
class PermutationPuzzle::ArbitraryGoalPermutation< state, environment >

Definition at line 137 of file PermutationPuzzleEnvironment.h.

Constructor & Destructor Documentation

◆ ArbitraryGoalPermutation()

template<typename state , typename environment >
PermutationPuzzle::ArbitraryGoalPermutation< state, environment >::ArbitraryGoalPermutation ( Heuristic< state > *  h,
environment *  env 
)
inline

Member Function Documentation

◆ HCost()

template<typename state , typename environment >
virtual double PermutationPuzzle::ArbitraryGoalPermutation< state, environment >::HCost ( const state &  a,
const state &  b 
) const
inlinevirtual

Member Data Documentation

◆ e

template<typename state , typename environment >
environment* PermutationPuzzle::ArbitraryGoalPermutation< state, environment >::e
private

◆ h

template<typename state , typename environment >
Heuristic<state>* PermutationPuzzle::ArbitraryGoalPermutation< state, environment >::h
private

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