HOG2
Public Member Functions | Private Member Functions | Private Attributes | List of all members
IDAStarCR< state, action, buckets, verbose > Class Template Reference

#include <IDAStarCR.h>

Collaboration diagram for IDAStarCR< state, action, buckets, verbose >:
Collaboration graph
[legend]

Public Member Functions

 IDAStarCR ()
 
virtual ~IDAStarCR ()
 
void GetPath (SearchEnvironment< state, action > *env, state from, state to, std::vector< action > &thePath)
 
uint64_t GetNodesExpanded ()
 
uint64_t GetNodesTouched ()
 
void ResetNodeCount ()
 
void SetHeuristic (Heuristic< state > *heur)
 

Private Member Functions

void DoIteration (SearchEnvironment< state, action > *env, action forbiddenAction, state &currState, std::vector< action > &thePath, double bound, double g)
 

Private Attributes

unsigned long long nodesExpanded
 
unsigned long long nodesTouched
 
state start
 
state goal
 
double growth
 
double solutionCost
 
bool storedHeuristic
 
vectorCache< action > actCache
 
Heuristic< state > * heuristic
 
std::vector< action > solution
 
std::array< int, buckets > bucketCount
 

Detailed Description

template<class state, class action, int buckets = 50, bool verbose = true>
class IDAStarCR< state, action, buckets, verbose >

Definition at line 23 of file IDAStarCR.h.

Constructor & Destructor Documentation

◆ IDAStarCR()

template<class state , class action , int buckets = 50, bool verbose = true>
IDAStarCR< state, action, buckets, verbose >::IDAStarCR ( )
inline

◆ ~IDAStarCR()

template<class state , class action , int buckets = 50, bool verbose = true>
virtual IDAStarCR< state, action, buckets, verbose >::~IDAStarCR ( )
inlinevirtual

Definition at line 26 of file IDAStarCR.h.

Member Function Documentation

◆ DoIteration()

template<class state , class action , int buckets, bool verbose>
void IDAStarCR< state, action, buckets, verbose >::DoIteration ( SearchEnvironment< state, action > *  env,
action  forbiddenAction,
state &  currState,
std::vector< action > &  thePath,
double  bound,
double  g 
)
private

◆ GetNodesExpanded()

template<class state , class action , int buckets = 50, bool verbose = true>
uint64_t IDAStarCR< state, action, buckets, verbose >::GetNodesExpanded ( )
inline

◆ GetNodesTouched()

template<class state , class action , int buckets = 50, bool verbose = true>
uint64_t IDAStarCR< state, action, buckets, verbose >::GetNodesTouched ( )
inline

◆ GetPath()

template<class state , class action , int buckets, bool verbose>
void IDAStarCR< state, action, buckets, verbose >::GetPath ( SearchEnvironment< state, action > *  env,
state  from,
state  to,
std::vector< action > &  thePath 
)

◆ ResetNodeCount()

template<class state , class action , int buckets = 50, bool verbose = true>
void IDAStarCR< state, action, buckets, verbose >::ResetNodeCount ( )
inline

◆ SetHeuristic()

template<class state , class action , int buckets = 50, bool verbose = true>
void IDAStarCR< state, action, buckets, verbose >::SetHeuristic ( Heuristic< state > *  heur)
inline

Member Data Documentation

◆ actCache

template<class state , class action , int buckets = 50, bool verbose = true>
vectorCache<action> IDAStarCR< state, action, buckets, verbose >::actCache
private

Definition at line 47 of file IDAStarCR.h.

◆ bucketCount

template<class state , class action , int buckets = 50, bool verbose = true>
std::array<int, buckets> IDAStarCR< state, action, buckets, verbose >::bucketCount
private

Definition at line 50 of file IDAStarCR.h.

◆ goal

template<class state , class action , int buckets = 50, bool verbose = true>
state IDAStarCR< state, action, buckets, verbose >::goal
private

Definition at line 43 of file IDAStarCR.h.

◆ growth

template<class state , class action , int buckets = 50, bool verbose = true>
double IDAStarCR< state, action, buckets, verbose >::growth
private

Definition at line 44 of file IDAStarCR.h.

◆ heuristic

template<class state , class action , int buckets = 50, bool verbose = true>
Heuristic<state>* IDAStarCR< state, action, buckets, verbose >::heuristic
private

◆ nodesExpanded

template<class state , class action , int buckets = 50, bool verbose = true>
unsigned long long IDAStarCR< state, action, buckets, verbose >::nodesExpanded
private

◆ nodesTouched

template<class state , class action , int buckets = 50, bool verbose = true>
unsigned long long IDAStarCR< state, action, buckets, verbose >::nodesTouched
private

◆ solution

template<class state , class action , int buckets = 50, bool verbose = true>
std::vector<action> IDAStarCR< state, action, buckets, verbose >::solution
private

Definition at line 49 of file IDAStarCR.h.

◆ solutionCost

template<class state , class action , int buckets = 50, bool verbose = true>
double IDAStarCR< state, action, buckets, verbose >::solutionCost
private

Definition at line 45 of file IDAStarCR.h.

◆ start

template<class state , class action , int buckets = 50, bool verbose = true>
state IDAStarCR< state, action, buckets, verbose >::start
private

Definition at line 43 of file IDAStarCR.h.

◆ storedHeuristic

template<class state , class action , int buckets = 50, bool verbose = true>
bool IDAStarCR< state, action, buckets, verbose >::storedHeuristic
private

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