AddSnake(int x, int y, const std::vector< snakeDir > &body) | SnakeBird::SnakeBird | |
AddSnakeBody(int x, int y, int whichSnake) | SnakeBird::SnakeBird | |
AddSnakeHead(int x, int y, int whichSnake) | SnakeBird::SnakeBird | |
ApplyAction(SnakeBirdState &s, SnakeBirdAction a) const | SnakeBird::SnakeBird | |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::ApplyAction(SnakeBirdState &s, SnakeBirdAction a) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
ApplyPartialAction(SnakeBirdState &s, SnakeBirdAction a, SnakeBirdAnimationStep &step) const | SnakeBird::SnakeBird | |
BeginEditing() | SnakeBird::SnakeBird | |
BiggerMapHeight() | SnakeBird::SnakeBird | |
BiggerMapWidth() | SnakeBird::SnakeBird | |
bValidSearchGoal | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | protected |
CanPush(const SnakeBirdState &s, int snake, SnakeBirdWorldObject obj, snakeDir dir, SnakeBirdAction &a) const | SnakeBird::SnakeBird | private |
ClearGoal() | SnakeBird::SnakeBird | inlinevirtual |
Code(int) const | SnakeBird::SnakeBird | private |
color | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | mutableprotected |
DeCode(const std::string &s, size_t offset) const | SnakeBird::SnakeBird | private |
DecodeLevel(const std::string &) | SnakeBird::SnakeBird | |
Distance(int index1, int index2) | SnakeBird::SnakeBird | private |
DoFall(SnakeBirdAction &a, SnakeBirdState &s) const | SnakeBird::SnakeBird | private |
DoFirstMovement(const SnakeBirdAction &a, int offset, snakeDir opposite, SnakeBirdState &s) const | SnakeBird::SnakeBird | private |
Draw(Graphics::Display &display) const | SnakeBird::SnakeBird | virtual |
Draw(Graphics::Display &display, int x, int y, float width=1.0) const | SnakeBird::SnakeBird | |
Draw(Graphics::Display &display, double time) const | SnakeBird::SnakeBird | |
Draw(Graphics::Display &display, const SnakeBirdState &) const | SnakeBird::SnakeBird | |
Draw(Graphics::Display &display, const SnakeBirdState &, int active) const | SnakeBird::SnakeBird | |
Draw(Graphics::Display &display, const SnakeBirdState &, int active, double globalTime) const | SnakeBird::SnakeBird | |
Draw(Graphics::Display &display, const SnakeBirdState &, const SnakeBirdState &, int active, double percentComplete, double globalTime) const | SnakeBird::SnakeBird | |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::Draw(Graphics::Display &display, const SnakeBirdState &) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
DrawLabel(Graphics::Display &display, int x, int y, const char *str) | SnakeBird::SnakeBird | |
DrawLine(Graphics::Display &display, const SnakeBirdState &x, const SnakeBirdState &y, float width=1.0) const | SnakeBird::SnakeBird | |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::DrawLine(Graphics::Display &display, const SnakeBirdState &x, const SnakeBirdState &y, float width=1.0) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
DrawMovingSnake(Graphics::Display &display, const SnakeBirdState &old, const SnakeBirdState &s, int snake, bool isActive, double percentComplete) const | SnakeBird::SnakeBird | private |
DrawObject(Graphics::Display &display, int x, int y, SnakeBirdWorldObject o, double time=0) const | SnakeBird::SnakeBird | |
DrawObjects(Graphics::Display &display, double time=0) const | SnakeBird::SnakeBird | |
DrawSmallLabel(Graphics::Display &display, int x, int y, const char *str) | SnakeBird::SnakeBird | |
DrawSnakeEnteringGoal(Graphics::Display &display, const SnakeBirdState &s, int snake, bool isActive, double percentComplete) const | SnakeBird::SnakeBird | private |
DrawSnakeSegment(Graphics::Display &display, Graphics::point p, const rgbColor &color, bool head, bool tail, bool awake, snakeDir dirFrom, snakeDir dirTo, int whichSnake, bool isDead) const | SnakeBird::SnakeBird | private |
DrawTranslatingSnake(Graphics::Display &display, const SnakeBirdState &old, const SnakeBirdState &s, int snake, bool isActive, double percentComplete) const | SnakeBird::SnakeBird | private |
editing | SnakeBird::SnakeBird | private |
EncodeLevel() const | SnakeBird::SnakeBird | |
EndEditing() | SnakeBird::SnakeBird | |
exitLoc | SnakeBird::SnakeBird | private |
fruit | SnakeBird::SnakeBird | private |
GCost(const SnakeBirdState &node1, const SnakeBirdState &node2) const | SnakeBird::SnakeBird | inline |
GCost(const SnakeBirdState &node, const SnakeBirdAction &act) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GCost(const SnakeBirdState &node1, const SnakeBirdState &node2) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GCost(const SnakeBirdState &node, const SnakeBirdAction &act) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
GetAction(const SnakeBirdState &s1, const SnakeBirdState &s2) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | virtual |
GetActionHash(SnakeBirdAction act) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GetActionHash(SnakeBirdAction act) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
GetActions(const SnakeBirdState &nodeID, std::vector< SnakeBirdAction > &actions) const | SnakeBird::SnakeBird | |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GetActions(const SnakeBirdState &nodeID, std::vector< SnakeBirdAction > &actions) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
GetAddingDirection(int x, int y, int endX, int endY) | SnakeBird::SnakeBird | |
GetCenter(int x, int y) const | SnakeBird::SnakeBird | private |
GetColor(GLfloat &rr, GLfloat &g, GLfloat &b, GLfloat &t) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetColor() const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetFruitOffset(int index) const | SnakeBird::SnakeBird | private |
GetGroundType(int x, int y) const | SnakeBird::SnakeBird | |
GetHeight() const | SnakeBird::SnakeBird | inline |
GetIndex(int x, int y) const | SnakeBird::SnakeBird | |
GetMaxHash() const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetNextState(const SnakeBirdState &s1, SnakeBirdAction a, SnakeBirdState &s2) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GetNextState(const SnakeBirdState &s1, SnakeBirdAction a, SnakeBirdState &s2) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetNumFruit() | SnakeBird::SnakeBird | inline |
GetNumPortals() | SnakeBird::SnakeBird | |
GetNumSuccessors(const SnakeBirdState &stateID) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetOccupancyInfo() | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetPathLength(std::vector< SnakeBirdState > &neighbors) | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | virtual |
GetPathLength(const SnakeBirdState &start, std::vector< SnakeBirdAction > &neighbors) | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | virtual |
GetPointFromCoordinate(Graphics::point p, int &x, int &y) | SnakeBird::SnakeBird | |
GetRadius() const | SnakeBird::SnakeBird | |
GetRenderedGroundType(const SnakeBirdState &s, int x, int y) | SnakeBird::SnakeBird | |
GetStart() const | SnakeBird::SnakeBird | |
GetStateFromHash(uint64_t parent, SnakeBirdState &s) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GetStateHash(const SnakeBirdState &node) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GetStateHash(const SnakeBirdState &node) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
GetSuccessors(const SnakeBirdState &nodeID, std::vector< SnakeBirdState > &neighbors) const | SnakeBird::SnakeBird | |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GetSuccessors(const SnakeBirdState &nodeID, std::vector< SnakeBirdState > &neighbors) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
GetWidth() const | SnakeBird::SnakeBird | inline |
GetX(int index) const | SnakeBird::SnakeBird | |
GetY(int index) const | SnakeBird::SnakeBird | |
GLDrawLine(const SnakeBirdState &x, const SnakeBirdState &y) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GLDrawLine(const SnakeBirdState &x, const SnakeBirdState &y) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GLDrawPath(const std::vector< SnakeBirdState > &x) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GLDrawPath(const std::vector< SnakeBirdState > &x) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | virtual |
GLLabelState(const SnakeBirdState &, const char *) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GLLabelState(const SnakeBirdState &, const char *) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
GoalTest(const SnakeBirdState &node, const SnakeBirdState &goal) const | SnakeBird::SnakeBird | inline |
GoalTest(const SnakeBirdState &node) const | SnakeBird::SnakeBird | inlinevirtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GoalTest(const SnakeBirdState &node, const SnakeBirdState &goal) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::GoalTest(const SnakeBirdState &node) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
HandleTeleports(SnakeBirdState &s, SnakeBirdAction &a, snakeDir lastAction, snakeDir opposite, SnakeBirdAnimationStep step) const | SnakeBird::SnakeBird | private |
HCost(const SnakeBirdState &node1, const SnakeBirdState &node2) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::HCost(const SnakeBirdState &node1, const SnakeBirdState &node2) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::HCost(const SnakeBirdState &node1, const SnakeBirdState &node2, double parentHCost) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::HCost(const SnakeBirdState &node) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
height | SnakeBird::SnakeBird | private |
Heuristic() | Heuristic< SnakeBirdState > | inline |
heuristics | Heuristic< SnakeBirdState > | |
histogram | Heuristic< SnakeBirdState > | mutable |
InvertAction(SnakeBirdAction &a) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::InvertAction(SnakeBirdAction &a) const=0 | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | pure virtual |
IsGoalStored() const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::IsGoalStored() const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
IsOnSpikes(const SnakeBirdState &s, int which) const | SnakeBird::SnakeBird | private |
Legal(SnakeBirdState &s, SnakeBirdAction a) | SnakeBird::SnakeBird | |
LivingState(const SnakeBirdState &s) const | SnakeBird::SnakeBird | inline |
Load(const char *filename) | SnakeBird::SnakeBird | |
lookups | Heuristic< SnakeBirdState > | |
objectFullyConnected | SnakeBird::SnakeBird | private |
objects | SnakeBird::SnakeBird | private |
OpenGLDraw() const | SnakeBird::SnakeBird | inline |
OpenGLDraw(const SnakeBirdState &) const | SnakeBird::SnakeBird | inline |
OpenGLDraw(const SnakeBirdState &, const SnakeBirdState &, float) const | SnakeBird::SnakeBird | inline |
OpenGLDraw(const SnakeBirdState &, const SnakeBirdAction &) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::OpenGLDraw() const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::OpenGLDraw(const SnakeBirdState &) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::OpenGLDraw(const SnakeBirdState &, const SnakeBirdState &, float) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::OpenGLDraw(const SnakeBirdState &, const SnakeBirdAction &) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
portal1Loc | SnakeBird::SnakeBird | private |
portal2Loc | SnakeBird::SnakeBird | private |
RemoveBlock(int x, int y) | SnakeBird::SnakeBird | |
RemoveSnake(int x, int y, int o, int whichSnake) | SnakeBird::SnakeBird | |
Render(const SnakeBirdState &s) const | SnakeBird::SnakeBird | private |
render | SnakeBird::SnakeBird | mutableprivate |
Reset() | SnakeBird::SnakeBird | |
Save(const char *filename) | SnakeBird::SnakeBird | |
searchGoal | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | protected |
SetColor(const rgbColor &r) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SetColor(GLfloat rr, GLfloat g, GLfloat b, GLfloat t=1.0) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SetGroundType(int x, int y, SnakeBirdWorldObject o) | SnakeBird::SnakeBird | |
SetGroundType(int index, SnakeBirdWorldObject o) | SnakeBird::SnakeBird | private |
SetOccupancyInfo(OccupancyInterface< SnakeBirdState, SnakeBirdAction > *) | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
SetStart(const SnakeBirdState &) | SnakeBird::SnakeBird | |
SmallerMapHeight() | SnakeBird::SnakeBird | |
SmallerMapWidth() | SnakeBird::SnakeBird | |
SnakeBird(int width=20, int height=16) | SnakeBird::SnakeBird | |
startState | SnakeBird::SnakeBird | private |
StoreGoal(SnakeBirdState &s) | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::StoreGoal(SnakeBirdState &s) | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
transparency | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | mutableprotected |
UndoAction(SnakeBirdState &s, SnakeBirdAction a) const | SnakeBird::SnakeBird | inline |
SearchEnvironment< SnakeBirdState, SnakeBirdAction >::UndoAction(SnakeBirdState &s, SnakeBirdAction a) const | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |
width | SnakeBird::SnakeBird | private |
world | SnakeBird::SnakeBird | private |
~Heuristic() | Heuristic< SnakeBirdState > | inlinevirtual |
~SearchEnvironment() | SearchEnvironment< SnakeBirdState, SnakeBirdAction > | inlinevirtual |