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
c3dfec74
Commit
c3dfec74
authored
Jan 24, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing windows compilation problem.
parent
88e887d1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
src/sat/xsat/xsatBQueue.h
+2
-1
src/sat/xsat/xsatSolver.c
+1
-1
src/sat/xsat/xsatSolver.h
+1
-1
No files found.
src/sat/xsat/xsatBQueue.h
View file @
c3dfec74
...
@@ -125,8 +125,9 @@ static inline void xSAT_BQueuePush( xSAT_BQueue_t * p, unsigned Value )
...
@@ -125,8 +125,9 @@ static inline void xSAT_BQueuePush( xSAT_BQueue_t * p, unsigned Value )
***********************************************************************/
***********************************************************************/
static
inline
int
xSAT_BQueuePop
(
xSAT_BQueue_t
*
p
)
static
inline
int
xSAT_BQueuePop
(
xSAT_BQueue_t
*
p
)
{
{
int
RetValue
;
assert
(
p
->
nSize
>=
1
);
assert
(
p
->
nSize
>=
1
);
int
RetValue
=
p
->
pData
[
p
->
iFirst
];
RetValue
=
p
->
pData
[
p
->
iFirst
];
p
->
nSum
-=
RetValue
;
p
->
nSum
-=
RetValue
;
p
->
iFirst
=
(
p
->
iFirst
+
1
)
%
p
->
nCap
;
p
->
iFirst
=
(
p
->
iFirst
+
1
)
%
p
->
nCap
;
p
->
nSize
--
;
p
->
nSize
--
;
...
...
src/sat/xsat/xsatSolver.c
View file @
c3dfec74
...
@@ -334,7 +334,7 @@ int xSAT_SolverEnqueue( xSAT_Solver_t * s, int Lit, unsigned Reason )
...
@@ -334,7 +334,7 @@ int xSAT_SolverEnqueue( xSAT_Solver_t * s, int Lit, unsigned Reason )
{
{
int
Var
=
xSAT_Lit2Var
(
Lit
);
int
Var
=
xSAT_Lit2Var
(
Lit
);
Vec_StrWriteEntry
(
s
->
vAssigns
,
Var
,
xSAT_LitSign
(
Lit
)
);
Vec_StrWriteEntry
(
s
->
vAssigns
,
Var
,
(
char
)
xSAT_LitSign
(
Lit
)
);
Vec_IntWriteEntry
(
s
->
vLevels
,
Var
,
xSAT_SolverDecisionLevel
(
s
)
);
Vec_IntWriteEntry
(
s
->
vLevels
,
Var
,
xSAT_SolverDecisionLevel
(
s
)
);
Vec_IntWriteEntry
(
s
->
vReasons
,
Var
,
(
int
)
Reason
);
Vec_IntWriteEntry
(
s
->
vReasons
,
Var
,
(
int
)
Reason
);
Vec_IntPush
(
s
->
vTrail
,
Lit
);
Vec_IntPush
(
s
->
vTrail
,
Lit
);
...
...
src/sat/xsat/xsatSolver.h
View file @
c3dfec74
...
@@ -143,7 +143,7 @@ struct xSAT_Solver_t_
...
@@ -143,7 +143,7 @@ struct xSAT_Solver_t_
int
nAssignSimplify
;
/* Number of top-level assignments since last
int
nAssignSimplify
;
/* Number of top-level assignments since last
* execution of 'simplify()'. */
* execution of 'simplify()'. */
i
nt64_t
nPropSimplify
;
/* Remaining number of propagations that must be
i
word
nPropSimplify
;
/* Remaining number of propagations that must be
* made before next execution of 'simplify()'. */
* made before next execution of 'simplify()'. */
/* Temporary data used by Search method */
/* Temporary data used by Search method */
...
...
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