trim_possibilities: Trim possible paths

Description Usage Arguments Value Examples

View source: R/take_a_step.R

Description

Remove known impossible end points for Jack, typically as a result of having found, but not arrested Jack.

Usage

1
trim_possibilities(paths, node)

Arguments

paths

list of all possible paths already traveled

node

vector of length 1 or 2 which specifies blocked nodes due to the presence of a policeman

Value

list of trimmed possible paths traveled by Jack

Examples

1
2
3
4
possibilities = start_round(64)
possibilities = take_a_carriage(possibilities)
possibilities = trim_possibilities(possibilities,82)
possibilities = trim_possibilities(possibilities,c(66,67))

bmewing/whitechapelR documentation built on May 27, 2019, 11:49 p.m.