carl.envs.rna.parse_dot_brackets

Functions

parse_dot_brackets(dataset, data_dir[, ...])

Generate the targets for next epoch.

Interfaces

carl.envs.rna.parse_dot_brackets.parse_dot_brackets(dataset, data_dir, target_structure_ids=None, target_structure_path=None)[source]

Generate the targets for next epoch.

Parameters:
  • dataset (str) – The name of the benchmark to use targets from

  • data_dir (str) – The directory of the target structures.

  • target_structure_ids (Optional[Union[List[int], int]], optional) – Use specific targets by ids., by default None

  • target_structure_path (Optional[str], optional) – pecify a path to the targets., by default None

Returns:

An epoch generator for the specified target structures.

Return type:

Generator[int]