HOG2
|
#include <RubiksCubeEdges.h>
Public Member Functions | |
RubikEdgeStateBits () | |
void | Reset () |
void | Clear () |
void | GetDual (RubikEdgeStateBits &s) const |
int | GetCubeInLoc (int whichLoc) const |
void | SetCubeInLoc (int whichLoc, int cube) |
bool | GetCubeOrientation (int whichLoc) const |
void | SetCubeOrientation (int whichLoc, bool flip) |
void | FlipCubeOrientation (int whichLoc) |
Public Attributes | |
uint64_t | state |
Definition at line 19 of file RubiksCubeEdges.h.
RubikEdgeStateBits::RubikEdgeStateBits | ( | ) |
Definition at line 62 of file RubiksCubeEdges.cpp.
References Reset().
void RubikEdgeStateBits::Clear | ( | ) |
Definition at line 72 of file RubiksCubeEdges.cpp.
References state.
void RubikEdgeStateBits::FlipCubeOrientation | ( | int | whichLoc | ) |
Definition at line 103 of file RubiksCubeEdges.cpp.
References state.
int RubikEdgeStateBits::GetCubeInLoc | ( | int | whichLoc | ) | const |
Definition at line 76 of file RubiksCubeEdges.cpp.
References state.
Referenced by GetDual(), and operator<<().
bool RubikEdgeStateBits::GetCubeOrientation | ( | int | whichLoc | ) | const |
Definition at line 89 of file RubiksCubeEdges.cpp.
References state.
Referenced by GetDual(), and operator<<().
void RubikEdgeStateBits::GetDual | ( | RubikEdgeStateBits & | s | ) | const |
Definition at line 110 of file RubiksCubeEdges.cpp.
References GetCubeInLoc(), GetCubeOrientation(), SetCubeInLoc(), and SetCubeOrientation().
void RubikEdgeStateBits::Reset | ( | ) |
Definition at line 66 of file RubiksCubeEdges.cpp.
References SetCubeInLoc(), and state.
Referenced by RubikEdgeStateBits().
void RubikEdgeStateBits::SetCubeInLoc | ( | int | whichLoc, |
int | cube | ||
) |
Definition at line 80 of file RubiksCubeEdges.cpp.
References state.
void RubikEdgeStateBits::SetCubeOrientation | ( | int | whichLoc, |
bool | flip | ||
) |
uint64_t RubikEdgeStateBits::state |
Definition at line 34 of file RubiksCubeEdges.h.
Referenced by Clear(), FlipCubeOrientation(), GetCubeInLoc(), GetCubeOrientation(), RubikEdge::GoalTest(), std::hash< RubikEdgeStateBits >::operator()(), operator==(), Reset(), SetCubeInLoc(), and SetCubeOrientation().