#include <stdint.h>
#include <iostream>
#include "SearchEnvironment.h"
#include "PermutationPuzzleEnvironment.h"
#include "UnitSimulation.h"
#include "GraphEnvironment.h"
#include "Graph.h"
#include <sstream>
#include <unordered_map>
Go to the source code of this file.
|
template<int N> |
static std::ostream & | operator<< (std::ostream &out, const TopSpinState< N > &loc) |
|
template<int N> |
static bool | operator== (const TopSpinState< N > &l1, const TopSpinState< N > &l2) |
|
template<int N> |
static bool | operator!= (const TopSpinState< N > &l1, const TopSpinState< N > &l2) |
|
static void | LocalDrawCircle (float x, float y, float r1, float r2, int segments) |
|
static void | DrawTSTile (float x, float y, char c1, char c2, int w, int h) |
|
template<int N, int k> |
static void | DrawFrame (int w, int h) |
|
|
static const int | tsCostCount = 21 |
|
static int | tscosts [tsCostCount] = {47,45,52,41,56,43,50,46,49,51,48,53,59,58,55,40,57,60,44,42,54} |
|
◆ TopSpinAction
Actions are the first tile that gets swapped.
Definition at line 47 of file TopSpin.h.
◆ DrawFrame()
template<int N, int k>
static void DrawFrame |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ DrawTSTile()
static void DrawTSTile |
( |
float |
x, |
|
|
float |
y, |
|
|
char |
c1, |
|
|
char |
c2, |
|
|
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ LocalDrawCircle()
static void LocalDrawCircle |
( |
float |
x, |
|
|
float |
y, |
|
|
float |
r1, |
|
|
float |
r2, |
|
|
int |
segments |
|
) |
| |
|
static |
◆ operator!=()
◆ operator<<()
template<int N>
static std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const TopSpinState< N > & |
loc |
|
) |
| |
|
static |
◆ operator==()
◆ tsCostCount
const int tsCostCount = 21 |
|
static |
◆ tscosts
int tscosts[tsCostCount] = {47,45,52,41,56,43,50,46,49,51,48,53,59,58,55,40,57,60,44,42,54} |
|
static |