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
c9811959
Commit
c9811959
authored
Feb 26, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User-controlable SAT sweeper.
parent
88c273c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
+9
-0
src/aig/gia/gia.h
+1
-0
src/aig/gia/giaSweeper.c
+0
-0
src/misc/vec/vecPtr.h
+8
-0
No files found.
src/aig/gia/gia.h
View file @
c9811959
...
@@ -995,6 +995,7 @@ extern Gia_Man_t * Gia_ManFraigSweep( Gia_Man_t * p, void * pPars );
...
@@ -995,6 +995,7 @@ extern Gia_Man_t * Gia_ManFraigSweep( Gia_Man_t * p, void * pPars );
/*=== giaSweeper.c ============================================================*/
/*=== giaSweeper.c ============================================================*/
extern
Gia_Man_t
*
Gia_SweeperStart
();
extern
Gia_Man_t
*
Gia_SweeperStart
();
extern
void
Gia_SweeperStop
(
Gia_Man_t
*
p
);
extern
void
Gia_SweeperStop
(
Gia_Man_t
*
p
);
extern
void
Gia_SweeperPrintStats
(
Gia_Man_t
*
p
);
extern
void
Gia_SweeperSetConflictLimit
(
Gia_Man_t
*
p
,
int
nConfMax
);
extern
void
Gia_SweeperSetConflictLimit
(
Gia_Man_t
*
p
,
int
nConfMax
);
extern
void
Gia_SweeperSetRuntimeLimit
(
Gia_Man_t
*
p
,
int
nSeconds
);
extern
void
Gia_SweeperSetRuntimeLimit
(
Gia_Man_t
*
p
,
int
nSeconds
);
extern
Vec_Int_t
*
Gia_SweeperGetCex
(
Gia_Man_t
*
p
);
extern
Vec_Int_t
*
Gia_SweeperGetCex
(
Gia_Man_t
*
p
);
...
...
src/aig/gia/giaSweeper.c
View file @
c9811959
This diff is collapsed.
Click to expand it.
src/misc/vec/vecPtr.h
View file @
c9811959
...
@@ -174,6 +174,14 @@ static inline Vec_Ptr_t * Vec_PtrDup( Vec_Ptr_t * pVec )
...
@@ -174,6 +174,14 @@ static inline Vec_Ptr_t * Vec_PtrDup( Vec_Ptr_t * pVec )
memcpy
(
p
->
pArray
,
pVec
->
pArray
,
sizeof
(
void
*
)
*
pVec
->
nSize
);
memcpy
(
p
->
pArray
,
pVec
->
pArray
,
sizeof
(
void
*
)
*
pVec
->
nSize
);
return
p
;
return
p
;
}
}
static
inline
Vec_Ptr_t
*
Vec_PtrDupStr
(
Vec_Ptr_t
*
pVec
)
{
int
i
;
Vec_Ptr_t
*
p
=
Vec_PtrDup
(
pVec
);
for
(
i
=
0
;
i
<
p
->
nSize
;
i
++
)
p
->
pArray
[
i
]
=
Abc_UtilStrsav
(
(
char
*
)
p
->
pArray
[
i
]
);
return
p
;
}
/**Function*************************************************************
/**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