Function parse_search_space_str

Source
fn parse_search_space_str(
    search_space: &str,
    process_ids: &IndexSet<ProcessID>,
) -> Result<Vec<ProcessID>>
Expand description

Parse a string representing the processes the agent will invest in.

This string can either be:

  • Empty, meaning all processes
  • “all”, meaning the same
  • A list of process IDs separated by semicolons