Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Howard cycles #15

Open
Lecrapouille opened this issue Apr 25, 2024 · 1 comment
Open

Howard cycles #15

Lecrapouille opened this issue Apr 25, 2024 · 1 comment

Comments

@Lecrapouille
Copy link
Owner

Lecrapouille commented Apr 25, 2024

Currently

struct CriticalCycleResult
{
    bool success = false;
    std::stringstream message;
    size_t cycles;                                        // TO BE MERGED
    std::vector<Arc*> arcs;                         // TO BE MERGED
    std::vector<double> eigenvector;
    std::vector<double> durations;
};

Ideally should be:

struct CriticalCycleResult
{
    bool success = false;
    std::stringstream message;
    std::vector<std::vector<Arc*>> cycles;
    std::vector<double> eigenvector;
    std::vector<double> durations;
};
@Lecrapouille
Copy link
Owner Author

Algorithme a implementer: pour tous les transitions, partir de la transition, parcourir les arcs trouvés par Howard, si en parcourant on retombe sur la transiton => on garde la transition.

Afficher de 2 manieres differentes:

  • afficher les cycles en gras
  • afficher en pas gras, les arcs des transitions qui ne sont pas dans le cycle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant