summaryrefslogtreecommitdiffstats
path: root/src/map/amap/amapCore.c
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-05-09 19:01:22 +0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-05-09 19:01:22 +0700
commitf39369a415ab3fc7d23b8a4994f31be2e3ebefe6 (patch)
tree51520833e6329441a2b87fdf6c5b87b6e9298f92 /src/map/amap/amapCore.c
parent140fd9ad9fe78a7fde8168ddcc7750a8bbc03bfe (diff)
downloadabc-f39369a415ab3fc7d23b8a4994f31be2e3ebefe6.tar.gz
abc-f39369a415ab3fc7d23b8a4994f31be2e3ebefe6.tar.bz2
abc-f39369a415ab3fc7d23b8a4994f31be2e3ebefe6.zip
Adding switch -C <num> to 'amap' to control max number of cuts at a node.
Diffstat (limited to 'src/map/amap/amapCore.c')
-rw-r--r--src/map/amap/amapCore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/amap/amapCore.c b/src/map/amap/amapCore.c
index 5a84669c..b1c9242b 100644
--- a/src/map/amap/amapCore.c
+++ b/src/map/amap/amapCore.c
@@ -48,6 +48,7 @@ void Amap_ManSetDefaultParams( Amap_Par_t * p )
memset( p, 0, sizeof(Amap_Par_t) );
p->nIterFlow = 1; // iterations of area flow
p->nIterArea = 4; // iteratoins of exact area
+ p->nCutsMax = 500; // the maximum number of cuts at a node
p->fUseMuxes = 0; // enables the use of MUXes
p->fUseXors = 1; // enables the use of XORs
p->fFreeInvs = 0; // assume inverters are free (area = 0)