as.character.slidepzl_piece | convert the location of a piece into a string |
as.character.slidepzl_state | convert a state into a vector of character string |
as.matrix.slidepzl_state | convert a state into a character matrix |
getAllShortestPaths | get all of shortest paths to target |
getNumStates | return number of possible states |
getReachability | get reachability to goal states |
getShortestPath | get a shortest paths to target |
isGoalState | check if a state satisfy goal conditions |
isValidState | check the validity of state |
makeGraph | make a network graph representing a given puzzle |
makeNextStates | return all states which can be generated by moving a piece of... |
makePiece | make a piece |
makeSetting | make setting of a sliding puzzle |
makeState | make a state (or goal conditions) of a puzzle |
modifyState | generate new state by moving a piece in a state |
plotGraph | plot a network graph |
rSlidePzl | rSlidePzl: A package for analyzing slide puzzles |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.