spot 2.12.2
randomgraph.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/tl/apcollect.hh>
22#include <spot/tl/defaultenv.hh>
23#include <spot/twa/bdddict.hh>
24#include <spot/twa/acc.hh>
25
26namespace spot
27{
67 SPOT_API twa_graph_ptr
68 random_graph(int n, float d,
69 const atomic_prop_set* ap, const bdd_dict_ptr& dict,
70 unsigned n_accs = 0, float a = 0.1, float t = 0.5,
71 bool deterministic = false, bool state_acc = false,
72 bool colored = false);
73
75 SPOT_API acc_cond::acc_code random_acceptance(unsigned n_accs);
76}
std::set< formula > atomic_prop_set
Set of atomic propositions.
Definition: apcollect.hh:33
twa_graph_ptr random_graph(int n, float d, const atomic_prop_set *ap, const bdd_dict_ptr &dict, unsigned n_accs=0, float a=0.1, float t=0.5, bool deterministic=false, bool state_acc=false, bool colored=false)
Construct a twa randomly.
Definition: automata.hh:26
acc_cond::acc_code random_acceptance(unsigned n_accs)
Build a random acceptance where each acceptance sets is used once.
An acceptance formula.
Definition: acc.hh:470

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.4