ce.hh 1.62 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// Copyright (C) 2004  Laboratoire d'Informatique de Paris 6 (LIP6),
// dpartement Systmes Rpartis Coopratifs (SRC), Universit Pierre
// 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
// the Free Software Foundation; either version 2 of the License, or
// (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
// along with Spot; see the file COPYING.  If not, write to the Free
// Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
// 02111-1307, USA.

#ifndef SPOT_TGBAALGOS_GTEC_CE_HH
# define SPOT_TGBAALGOS_GTEC_CE_HH

#include "status.hh"
26
#include "tgbaalgos/emptiness.hh"
27
28
29

namespace spot
{
30
31
  /// Compute a counter example from a spot::couvreur99_check_status
  class couvreur99_check_result: public emptiness_check_result
32
33
  {
  public:
34
    couvreur99_check_result(const couvreur99_check_status* ecs);
35

36
    virtual tgba_run* accepting_run();
37
38
39
40

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

  protected:
41
    /// Called by accepting_run() to find a cycle which traverses all
42
    /// acceptance conditions in the accepted SCC.
43
    void accepting_cycle();
44
45

  private:
46
47
    const couvreur99_check_status* ecs_;
    tgba_run* run_;
48
49
50
51
  };
}

#endif // SPOT_TGBAALGOS_GTEC_CE_HH