HOG2
|
#include <TopSpinGraph.h>
Public Member Functions | |
TopSpinGraphHeuristic (int psize, int spin, int pdb) | |
TopSpinGraphHeuristic () | |
Graph * | GetGraph () |
void | SetState (TopSpinGraph *tss) |
virtual | ~TopSpinGraphHeuristic () |
virtual double | HCost (const graphState &state1, const graphState &state2) const |
Public Member Functions inherited from GraphHeuristic | |
virtual | ~GraphHeuristic () |
virtual void | ChooseStartGoal (graphState &, graphState &) |
virtual void | OpenGLDraw () const |
Static Public Attributes | |
static int | THmode = 0 |
Private Attributes | |
TopSpinGraph * | ts |
int | pdb |
std::vector< uint8_t > | DB |
Definition at line 19 of file TopSpinGraph.h.
TopSpinGraphHeuristic::TopSpinGraphHeuristic | ( | int | psize, |
int | spin, | ||
int | pdb | ||
) |
Definition at line 256 of file TopSpinGraph.cpp.
References DB, TopSpinGraph::GetPDBSize(), pdb, and ts.
TopSpinGraphHeuristic::TopSpinGraphHeuristic | ( | ) |
Definition at line 251 of file TopSpinGraph.cpp.
|
inlinevirtual |
Definition at line 25 of file TopSpinGraph.h.
|
inlinevirtual |
Implements GraphHeuristic.
Definition at line 23 of file TopSpinGraph.h.
|
virtual |
Implements GraphHeuristic.
Definition at line 274 of file TopSpinGraph.cpp.
References DB, TopSpinGraph::Dual(), TopSpinGraph::GetPDBHash(), pdb, THmode, and ts.
|
inline |
Definition at line 24 of file TopSpinGraph.h.
References ts.
|
private |
Definition at line 32 of file TopSpinGraph.h.
Referenced by HCost(), and TopSpinGraphHeuristic().
|
private |
Definition at line 31 of file TopSpinGraph.h.
Referenced by HCost(), and TopSpinGraphHeuristic().
|
static |
Definition at line 28 of file TopSpinGraph.h.
Referenced by HCost().
|
private |
Definition at line 30 of file TopSpinGraph.h.
Referenced by HCost(), SetState(), and TopSpinGraphHeuristic().