Skip to content

Subset generation shouldn't work entirely by printing #7502

@tianyizheng02

Description

@tianyizheng02

Feature description

The subset generation algorithm in dynamic_programming/subset_generation.py works entirely by printing all possible subsets to console, which goes against the current contribution guidelines (see #7337 for more details). Ideally the algorithm should generate some data structure containing all of the subsets instead (list, set, generator, whatever), but that would require reworking parts of the algorithm rather than simply removing the print statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis PR modified some existing files

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions