Skip to content

Wrong number of SCC on some input #3

@Akatsukis

Description

@Akatsukis

Hi there,

I found that the application didn't report the correct number of SCCs in some cases. Here is one example:
0 2
1 0
2 3
3 1
3 2

One can follow the path 0->2->3->1->0, so the number of SCCs should be 1. The algorithm reported 2 instead.

I'm wondering if I ran the algorithm incorrectly or there is a glitch in the code.

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