Skip to content

Count issue after rewiring #9

@hniu1

Description

@hniu1

Hi,

I have a question about the rewiring. Let's say a->b->c has been rewired as a->b|a->c. The frequency of b->c should subtract the frequency of b|a->c after the rewiring (count[b][c] -= count[b|a][c]). Otherwise, the input frequency and output frequency of b are not equal. I found this issue after running the code.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions