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
5004aa19
Commit
5004aa19
authored
Jan 30, 2012
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Graph isomorphism checking code.
parent
04414959
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/aig/aig/aigIso.c
+7
-0
No files found.
src/aig/aig/aigIso.c
View file @
5004aa19
...
...
@@ -706,6 +706,8 @@ int Iso_ManCheckMapping( Aig_Man_t * pAig1, Aig_Man_t * pAig2, Vec_Int_t * vMap2
return
1
;
}
//static int s_Counter;
/**Function*************************************************************
Synopsis [Finds mapping of CIs of AIG2 into those of AIG1.]
...
...
@@ -734,6 +736,8 @@ Vec_Int_t * Iso_ManFindMapping( Aig_Man_t * pAig1, Aig_Man_t * pAig2, Vec_Int_t
return
NULL
;
if
(
Iso_ManNegEdgeNum
(
pAig1
)
!=
Iso_ManNegEdgeNum
(
pAig2
)
)
return
NULL
;
// s_Counter++;
if
(
fVerbose
)
printf
(
"AIG1:
\n
"
);
vPerm1
=
vPerm1_
?
vPerm1_
:
Iso_ManFindPerm
(
pAig1
,
fVerbose
);
...
...
@@ -814,6 +818,7 @@ Aig_Man_t * Iso_ManFilterPos( Aig_Man_t * pAig, int fVerbose )
Vec_PtrPush
(
vParts
,
pPart
);
Vec_PtrPush
(
vPerms
,
vMap
);
}
// s_Counter = 0;
// check AIGs for each PO
vAigs
=
Vec_PtrAlloc
(
1000
);
...
...
@@ -862,6 +867,8 @@ Aig_Man_t * Iso_ManFilterPos( Aig_Man_t * pAig, int fVerbose )
pPart
=
Saig_ManDupCones
(
pAig
,
Vec_IntArray
(
vPos
),
Vec_IntSize
(
vPos
)
);
Vec_PtrFree
(
vAigs
);
Vec_IntFree
(
vPos
);
// printf( "The number of all checks %d. Complex checks %d.\n", nPos*(nPos-1)/2, s_Counter );
return
pPart
;
}
...
...
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