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
19b8d9bf
Commit
19b8d9bf
authored
Jan 18, 2020
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding CNF variable mapping rules.
parent
4853ae9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
src/base/io/io.c
+11
-0
No files found.
src/base/io/io.c
View file @
19b8d9bf
...
@@ -2248,6 +2248,17 @@ usage:
...
@@ -2248,6 +2248,17 @@ usage:
fprintf
(
pAbc
->
Err
,
"
\t
-v : toggle printing verbose information [default = %s]
\n
"
,
fVerbose
?
"yes"
:
"no"
);
fprintf
(
pAbc
->
Err
,
"
\t
-v : toggle printing verbose information [default = %s]
\n
"
,
fVerbose
?
"yes"
:
"no"
);
fprintf
(
pAbc
->
Err
,
"
\t
-h : print the help massage
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
-h : print the help massage
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
file : the name of the file to write
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
file : the name of the file to write
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
CNF variable mapping rules:
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
Assume CNF has N variables, with variable IDs running from 0 to N-1.
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
Variable number 0 is not used in the CNF.
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
Variables 1, 2, 3,... <nPOs> represent POs in their natural order.
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
Variables N-<nPIs>, N-<nPIs>+1, N-<nPIs>+2, ... N-1, represent PIs in their natural order.
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
The internal variables are ordered in a reverse topological order from outputs to inputs.
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
That is, smaller variable IDs tend to be closer to the outputs, while larger
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
variable IDs tend to be closer to the inputs. It was found that this ordering
\n
"
);
fprintf
(
pAbc
->
Err
,
"
\t
leads to faster SAT solving for hard UNSAT CEC problems.
\n
"
);
return
1
;
return
1
;
}
}
...
...
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