Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
e5054fa7
Commit
e5054fa7
authored
Mar 26, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Making sure 'pdr -a' return UNDEC if it did not finish proving the remaining outputs to be UNSAT.
parent
d80071be
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
src/proof/pdr/pdrCore.c
+10
-9
No files found.
src/proof/pdr/pdrCore.c
View file @
e5054fa7
...
...
@@ -606,7 +606,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
if
(
!
p
->
pPars
->
fSilent
)
Abc_Print
(
1
,
"Reached gap timeout (%d seconds).
\n
"
,
p
->
pPars
->
nTimeOutGap
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
RetValue
=
Pdr_ManCheckCube
(
p
,
k
,
NULL
,
&
pCube
,
p
->
pPars
->
nConfLimit
);
if
(
RetValue
==
1
)
...
...
@@ -620,7 +620,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
else
if
(
p
->
pPars
->
fVerbose
)
Abc_Print
(
1
,
"Computation cancelled by the callback.
\n
"
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
RetValue
==
0
)
{
...
...
@@ -636,7 +636,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
else
if
(
p
->
pPars
->
fVerbose
)
Abc_Print
(
1
,
"Computation cancelled by the callback.
\n
"
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
RetValue
==
0
)
{
...
...
@@ -702,7 +702,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
Abc_Print
(
1
,
"Reached conflict limit (%d).
\n
"
,
p
->
pPars
->
nConfLimit
);
}
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
RetValue
)
{
...
...
@@ -722,7 +722,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
if
(
p
->
pPars
->
pFuncStop
&&
p
->
pPars
->
pFuncStop
(
p
->
pPars
->
RunId
)
)
{
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
p
->
timeToStop
&&
clock
()
>
p
->
timeToStop
)
{
...
...
@@ -736,7 +736,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
if
(
!
p
->
pPars
->
fSilent
)
Abc_Print
(
1
,
"Reached timeout (%d seconds).
\n
"
,
p
->
pPars
->
nTimeOut
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
p
->
pPars
->
nTimeOutGap
&&
p
->
pPars
->
timeLastSolved
&&
clock
()
>
p
->
pPars
->
timeLastSolved
+
p
->
pPars
->
nTimeOutGap
*
CLOCKS_PER_SEC
)
{
...
...
@@ -750,7 +750,7 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
if
(
!
p
->
pPars
->
fSilent
)
Abc_Print
(
1
,
"Reached gap timeout (%d seconds).
\n
"
,
p
->
pPars
->
nTimeOutGap
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
if
(
p
->
pPars
->
nFrameMax
&&
k
>=
p
->
pPars
->
nFrameMax
)
{
...
...
@@ -759,10 +759,11 @@ int Pdr_ManSolveInt( Pdr_Man_t * p )
if
(
!
p
->
pPars
->
fSilent
)
Abc_Print
(
1
,
"Reached limit on the number of timeframes (%d).
\n
"
,
p
->
pPars
->
nFrameMax
);
p
->
pPars
->
iFrame
=
k
;
return
p
->
vCexes
?
0
:
-
1
;
return
-
1
;
}
}
return
p
->
vCexes
?
0
:
RetValue
;
assert
(
0
);
return
-
1
;
}
/**Function*************************************************************
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment