HOG2
Classes | Functions
TOH.h File Reference
#include <stdio.h>
#include <cstdint>
#include <math.h>
#include "SearchEnvironment.h"
#include "PDBHeuristic.h"
Include dependency graph for TOH.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TOHMove
 
struct  TOHState< numDisks >
 
class  TOH< disks >
 
class  TOHPDB< patternDisks, totalDisks, offset >
 

Functions

template<int D>
static std::ostream & operator<< (std::ostream &out, const TOHState< D > &s)
 
template<int D>
static bool operator== (const TOHState< D > &l1, const TOHState< D > &l2)
 
template<int D>
static bool operator!= (const TOHState< D > &l1, const TOHState< D > &l2)
 
static std::ostream & operator<< (std::ostream &out, const TOHMove &m)
 
static bool operator== (const TOHMove &m1, const TOHMove &m2)
 

Function Documentation

◆ operator!=()

template<int D>
static bool operator!= ( const TOHState< D > &  l1,
const TOHState< D > &  l2 
)
static

Definition at line 117 of file TOH.h.

◆ operator<<() [1/2]

static std::ostream& operator<< ( std::ostream &  out,
const TOHMove m 
)
static

Definition at line 121 of file TOH.h.

References TOHMove::dest, and TOHMove::source.

◆ operator<<() [2/2]

template<int D>
static std::ostream& operator<< ( std::ostream &  out,
const TOHState< D > &  s 
)
static

◆ operator==() [1/2]

static bool operator== ( const TOHMove m1,
const TOHMove m2 
)
static

Definition at line 127 of file TOH.h.

References TOHMove::dest, and TOHMove::source.

◆ operator==() [2/2]

template<int D>
static bool operator== ( const TOHState< D > &  l1,
const TOHState< D > &  l2 
)
static