Skip to content

Use successes rather than attempts as stop condition #25

@dhimmel

Description

@dhimmel

Since only successful swaps advance the network randomization, it doesn't make a ton of sense to me to set an attempt threshold as the stop condition versus a success threshold. This has been bothering me since I initially implemented the attempt threshold in hetnetpy.

To prevent infinite running, we could enable a max_attempts parameter, perhaps that is a multiplier for based on the specified number of successes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions