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
4af39856
Commit
4af39856
authored
Jan 03, 2015
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Returning multiple counter-examples.
parent
3b9e363e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/sat/bmc/bmcChain.c
+2
-1
No files found.
src/sat/bmc/bmcChain.c
View file @
4af39856
...
@@ -342,9 +342,10 @@ int Bmc_ChainTest( Gia_Man_t * p, int nFrameMax, int nConfMax, int fVerbose, int
...
@@ -342,9 +342,10 @@ int Bmc_ChainTest( Gia_Man_t * p, int nFrameMax, int nConfMax, int fVerbose, int
vOutputs
=
Bmc_ChainFindFailedOutputs
(
pNew
,
pvCexes
?
*
pvCexes
:
NULL
);
vOutputs
=
Bmc_ChainFindFailedOutputs
(
pNew
,
pvCexes
?
*
pvCexes
:
NULL
);
assert
(
Vec_IntFind
(
vOutputs
,
pCex
->
iPo
)
>=
0
);
assert
(
Vec_IntFind
(
vOutputs
,
pCex
->
iPo
)
>=
0
);
// save the counter-example
// save the counter-example
//Abc_CexFree( pCex );
if
(
pvCexes
)
if
(
pvCexes
)
Vec_PtrPush
(
*
pvCexes
,
pCex
);
Vec_PtrPush
(
*
pvCexes
,
pCex
);
else
Abc_CexFree
(
pCex
);
clkSat
+=
Abc_Clock
()
-
clk2
;
clkSat
+=
Abc_Clock
()
-
clk2
;
// remove them from the AIG
// remove them from the AIG
clk2
=
Abc_Clock
();
clk2
=
Abc_Clock
();
...
...
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