spot 2.16
Loading...
Searching...
No Matches
status.hh
1// -*- coding: utf-8 -*-
2// Copyright (C) by the Spot authors, see the AUTHORS file for details.
3//
4// This file is part of Spot, a model checking library.
5//
6// Spot is free software; you can redistribute it and/or modify it
7// under the terms of the GNU General Public License as published by
8// the Free Software Foundation; either version 3 of the License, or
9// (at your option) any later version.
10//
11// Spot is distributed in the hope that it will be useful, but WITHOUT
12// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14// License for more details.
15//
16// You should have received a copy of the GNU General Public License
17// along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19#pragma once
20
21#include <spot/twaalgos/gtec/sccstack.hh>
22#include <spot/twa/twa.hh>
23#include <iosfwd>
24
25namespace spot
26{
34 {
35 public:
38
40
43
45
47
49 void print_stats(std::ostream& os) const;
50
52 int states() const;
53 };
54}
The status of the emptiness-check on success.
Definition status.hh:34
int states() const
Return the number of states visited by the search.
void print_stats(std::ostream &os) const
Output statistics about this object.
const_twa_ptr aut
The automaton being checked.
Definition status.hh:41
scc_stack root
Stack of SCCs found during DFS.
Definition status.hh:42
state_map< int > h
Map from state to its DFS order number.
Definition status.hh:44
const state * cycle_seed
Seed state for the accepting cycle.
Definition status.hh:46
couvreur99_check_status(const const_twa_ptr &aut)
Construct a status object for the given automaton.
Stack of strongly connected components for the Tarjan-Couvreur emptiness-check algorithm.
Definition sccstack.hh:31
Abstract class for states.
Definition twa.hh:49
std::shared_ptr< const twa > const_twa_ptr
Shared pointer to a const twa.
Definition fwd.hh:36
Definition automata.hh:26
std::unordered_map< const state *, val, state_ptr_hash, state_ptr_equal > state_map
Unordered map of abstract states.
Definition twa.hh:204

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.9.8