Function noLZSS::parallel_factorize_dna_w_rc_to_file(std::string_view, const std::string&, size_t, RefPolicy)

Function Documentation

size_t noLZSS::parallel_factorize_dna_w_rc_to_file(std::string_view text, const std::string &output_path, size_t num_threads = 0, RefPolicy ref_policy = RefPolicy::First)

Factorizes DNA text in parallel with reverse complement and writes results to a binary file.

Performs parallel factorization on DNA sequences with reverse complement awareness.

Parameters:
  • text – Input DNA text

  • output_path – Path to output binary file

  • num_threads – Number of threads (0 for auto-detection)

  • ref_policy – Which previous occurrence to report when several of the longest length exist (default: RefPolicy::First)

Returns:

Number of factors produced