Learn R Programming

cayleyR (version 0.2.1)

reconstruct_full_path: Reconstruct Full Path Through Cycle Chain

Description

Traces back through a chain of cycles to build the full operation path from the initial state to a target state.

Usage

reconstruct_full_path(
  reachable_states,
  start_state,
  target_state,
  target_cycle,
  target_combo,
  v_cols
)

Value

Character vector of operations, or NULL on error

Arguments

reachable_states

Data frame of all explored states

start_state

Integer vector, the root start state

target_state

Integer vector, the target state

target_cycle

Integer, cycle number containing the target

target_combo

Integer, combo number within the target cycle

v_cols

Character vector of V-column names