inspect_space {whitechapelR} | R Documentation |
Update paths based on inspections
Description
Updated the list of possible paths based on the results of police investigation
Usage
inspect_space(paths, space, clue)
Arguments
paths |
list of all possible paths already traveled |
space |
vector of integers of the spaces inspected |
clue |
single logical value indicating if evidence of Jack was found |
Value
list of all possible paths traveled by Jack
Examples
possibilities = start_round(64)
possibilities = take_a_step(possibilities,roads)
possibilities = take_a_step(possibilities,roads,blocked=list(c(63,82),c(63,65)))
possibilities = inspect_space(possibilities,space = c(29,30), clue = FALSE)
possibilities = inspect_space(possibilities,space = 49, clue = TRUE)
[Package whitechapelR version 0.3.0 Index]