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
e6b16e27
Commit
e6b16e27
authored
May 02, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc changes.
parent
a9807a75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
src/aig/gia/gia.h
+2
-1
No files found.
src/aig/gia/gia.h
View file @
e6b16e27
...
...
@@ -518,7 +518,8 @@ static inline Gia_Obj_t * Gia_ObjReprObj( Gia_Man_t * p, int Id ) { r
static
inline
int
Gia_ObjRepr
(
Gia_Man_t
*
p
,
int
Id
)
{
return
p
->
pReprs
[
Id
].
iRepr
;
}
static
inline
void
Gia_ObjSetRepr
(
Gia_Man_t
*
p
,
int
Id
,
int
Num
)
{
assert
(
Num
==
GIA_VOID
||
Num
<
Id
);
p
->
pReprs
[
Id
].
iRepr
=
Num
;
}
static
inline
void
Gia_ObjUnsetRepr
(
Gia_Man_t
*
p
,
int
Id
)
{
p
->
pReprs
[
Id
].
iRepr
=
GIA_VOID
;
}
static
inline
int
Gia_ObjHasRepr
(
Gia_Man_t
*
p
,
int
Id
)
{
return
p
->
pReprs
[
Id
].
iRepr
!=
GIA_VOID
;
}
static
inline
int
Gia_ObjHasRepr
(
Gia_Man_t
*
p
,
int
Id
)
{
return
p
->
pReprs
[
Id
].
iRepr
!=
GIA_VOID
;
}
static
inline
int
Gia_ObjReprSelf
(
Gia_Man_t
*
p
,
int
Id
)
{
return
Gia_ObjHasRepr
(
p
,
Id
)
?
Gia_ObjRepr
(
p
,
Id
)
:
Id
;
}
static
inline
int
Gia_ObjProved
(
Gia_Man_t
*
p
,
int
Id
)
{
return
p
->
pReprs
[
Id
].
fProved
;
}
static
inline
void
Gia_ObjSetProved
(
Gia_Man_t
*
p
,
int
Id
)
{
p
->
pReprs
[
Id
].
fProved
=
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