summaryrefslogtreecommitdiffstats
path: root/src/misc/extra
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2011-02-13 20:50:29 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2011-02-13 20:50:29 -0800
commita7e214bb01085492e330186295a71da35846a6b7 (patch)
treef0d2d8753a12036226752f92771bfed5b7876d39 /src/misc/extra
parent573694f9bf9cc019c9a4d265fbcb04c0fbde78e1 (diff)
downloadabc-a7e214bb01085492e330186295a71da35846a6b7.tar.gz
abc-a7e214bb01085492e330186295a71da35846a6b7.tar.bz2
abc-a7e214bb01085492e330186295a71da35846a6b7.zip
Improved timeout in the BDD reachability engines.
Diffstat (limited to 'src/misc/extra')
-rw-r--r--src/misc/extra/extraBddMisc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/misc/extra/extraBddMisc.c b/src/misc/extra/extraBddMisc.c
index 69309a4d..11c7d959 100644
--- a/src/misc/extra/extraBddMisc.c
+++ b/src/misc/extra/extraBddMisc.c
@@ -1277,6 +1277,11 @@ extraTransferPermuteRecur(
if ( st_lookup( table, ( char * ) f, ( char ** ) &res ) )
return ( Cudd_NotCond( res, comple ) );
+ if ( ddS->TimeStop && ddS->TimeStop < clock() )
+ return NULL;
+ if ( ddD->TimeStop && ddD->TimeStop < clock() )
+ return NULL;
+
/* Recursive step. */
if ( Permute )
index = Permute[f->index];