Browse Source
Added -exportadv option to enable adversary generation.
Added -exportadv option to enable adversary generation.
git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@1728 bbc10eb1-c90d-0410-af57-cb519fbb1720master
9 changed files with 165 additions and 17 deletions
-
16prism/include/PrismNative.h
-
46prism/include/PrismNativeGlob.h
-
11prism/src/prism/NondetModelChecker.java
-
21prism/src/prism/Prism.java
-
10prism/src/prism/PrismCL.java
-
27prism/src/prism/PrismNative.cc
-
17prism/src/prism/PrismNative.java
-
14prism/src/prism/PrismSettings.java
-
20prism/src/sparse/PS_NondetUntil.cc
@ -0,0 +1,46 @@ |
|||||
|
//============================================================================== |
||||
|
// |
||||
|
// Copyright (c) 2002- |
||||
|
// Authors: |
||||
|
// * Dave Parker <david.parker@comlab.ox.ac.uk> (University of Oxford) |
||||
|
// |
||||
|
//------------------------------------------------------------------------------ |
||||
|
// |
||||
|
// This file is part of PRISM. |
||||
|
// |
||||
|
// PRISM 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. |
||||
|
// |
||||
|
// PRISM 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 PRISM; if not, write to the Free Software Foundation, |
||||
|
// Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
||||
|
// |
||||
|
//============================================================================== |
||||
|
|
||||
|
#include <jni.h> |
||||
|
|
||||
|
//------------------------------------------------------------------------------ |
||||
|
|
||||
|
// Constants - these need to match the definitions in prism/Prism.java |
||||
|
|
||||
|
const int EXPORT_ADV_NONE = 0; |
||||
|
const int EXPORT_ADV_DTMC = 1; |
||||
|
const int EXPORT_ADV_MDP = 2; |
||||
|
|
||||
|
//------------------------------------------------------------------------------ |
||||
|
|
||||
|
// External refs to global variables |
||||
|
|
||||
|
// adversary export mode |
||||
|
extern int export_adv; |
||||
|
// adversary export filename |
||||
|
extern const char *export_adv_filename; |
||||
|
|
||||
|
//------------------------------------------------------------------------------ |
||||
Write
Preview
Loading…
Cancel
Save
Reference in new issue