ce.hh 1.81 KB
Newer Older
1
2
3
// -*- coding: utf-8 -*-
// Copyright (C) 2013 Laboratoire de Recherche et Développement de
// l'Epita (LRDE).
4
// Copyright (C) 2004, 2005  Laboratoire d'Informatique de Paris 6 (LIP6),
5
// département Systèmes Répartis Coopératifs (SRC), Université Pierre
6
7
8
9
10
11
// et Marie Curie.
//
// This file is part of Spot, a model checking library.
//
// Spot is free software; you can redistribute it and/or modify it
// under the terms of the GNU General Public License as published by
12
// the Free Software Foundation; either version 3 of the License, or
13
14
15
16
17
18
19
20
// (at your option) any later version.
//
// Spot is distributed in the hope that it will be useful, but WITHOUT
// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
// or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
// License for more details.
//
// You should have received a copy of the GNU General Public License
21
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
22
23
24
25
26

#ifndef SPOT_TGBAALGOS_GTEC_CE_HH
# define SPOT_TGBAALGOS_GTEC_CE_HH

#include "status.hh"
27
#include "tgbaalgos/emptiness.hh"
28
#include "tgbaalgos/emptiness_stats.hh"
29
30
31

namespace spot
{
32
  /// Compute a counter example from a spot::couvreur99_check_status
33
  class SPOT_API couvreur99_check_result:
34
    public emptiness_check_result,
35
    public acss_statistics
36
37
  {
  public:
38
39
    couvreur99_check_result(const couvreur99_check_status* ecs,
			    option_map o = option_map());
40

41
    virtual tgba_run* accepting_run();
42
43
44

    void print_stats(std::ostream& os) const;

45
    virtual unsigned acss_states() const;
46

47
  protected:
48
    /// Called by accepting_run() to find a cycle which traverses all
49
    /// acceptance conditions in the accepted SCC.
50
    void accepting_cycle();
51
52

  private:
53
54
    const couvreur99_check_status* ecs_;
    tgba_run* run_;
55
56
57
58
  };
}

#endif // SPOT_TGBAALGOS_GTEC_CE_HH