亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? cuddgroup.c

?? 主要進行大規模的電路綜合
?? C
?? 第 1 頁 / 共 5 頁
字號:
	case CUDD_REORDER_RANDOM:	case CUDD_REORDER_RANDOM_PIVOT:	    result = cuddSwapping(table,lower,upper,method);	    break;	case CUDD_REORDER_SIFT:	    result = cuddSifting(table,lower,upper);	    break;	case CUDD_REORDER_SIFT_CONVERGE:	    do {		initialSize = table->keys - table->isolated;		result = cuddSifting(table,lower,upper);		if (initialSize <= table->keys - table->isolated)		    break;#ifdef DD_STATS		else		    (void) fprintf(table->out,"\n");#endif	    } while (result != 0);	    break;	case CUDD_REORDER_SYMM_SIFT:	    result = cuddSymmSifting(table,lower,upper);	    break;	case CUDD_REORDER_SYMM_SIFT_CONV:	    result = cuddSymmSiftingConv(table,lower,upper);	    break;	case CUDD_REORDER_GROUP_SIFT:	    if (table->groupcheck == CUDD_NO_CHECK) {		result = ddGroupSifting(table,lower,upper,ddNoCheck,					DD_NORMAL_SIFT);	    } else if (table->groupcheck == CUDD_GROUP_CHECK5) {		result = ddGroupSifting(table,lower,upper,ddExtSymmCheck,					DD_NORMAL_SIFT);	    } else if (table->groupcheck == CUDD_GROUP_CHECK7) {		result = ddGroupSifting(table,lower,upper,ddExtSymmCheck,					DD_NORMAL_SIFT);	    } else {		(void) fprintf(table->err,			       "Unknown group ckecking method\n");		result = 0;	    }	    break;	case CUDD_REORDER_GROUP_SIFT_CONV:	    do {		initialSize = table->keys - table->isolated;		if (table->groupcheck == CUDD_NO_CHECK) {		    result = ddGroupSifting(table,lower,upper,ddNoCheck,					    DD_NORMAL_SIFT);		} else if (table->groupcheck == CUDD_GROUP_CHECK5) {		    result = ddGroupSifting(table,lower,upper,ddExtSymmCheck,					    DD_NORMAL_SIFT);		} else if (table->groupcheck == CUDD_GROUP_CHECK7) {		    result = ddGroupSifting(table,lower,upper,ddExtSymmCheck,					    DD_NORMAL_SIFT);		} else {		    (void) fprintf(table->err,				   "Unknown group ckecking method\n");		    result = 0;		}#ifdef DD_STATS		(void) fprintf(table->out,"\n");#endif		result = cuddWindowReorder(table,lower,upper,					   CUDD_REORDER_WINDOW4);		if (initialSize <= table->keys - table->isolated)		    break;#ifdef DD_STATS		else		    (void) fprintf(table->out,"\n");#endif	    } while (result != 0);	    break;	case CUDD_REORDER_WINDOW2:	case CUDD_REORDER_WINDOW3:	case CUDD_REORDER_WINDOW4:	case CUDD_REORDER_WINDOW2_CONV:	case CUDD_REORDER_WINDOW3_CONV:	case CUDD_REORDER_WINDOW4_CONV:	    result = cuddWindowReorder(table,lower,upper,method);	    break;	case CUDD_REORDER_ANNEALING:	    result = cuddAnnealing(table,lower,upper);	    break;	case CUDD_REORDER_GENETIC:	    result = cuddGa(table,lower,upper);	    break;	case CUDD_REORDER_LINEAR:	    result = cuddLinearAndSifting(table,lower,upper);	    break;	case CUDD_REORDER_LINEAR_CONVERGE:	    do {		initialSize = table->keys - table->isolated;		result = cuddLinearAndSifting(table,lower,upper);		if (initialSize <= table->keys - table->isolated)		    break;#ifdef DD_STATS		else		    (void) fprintf(table->out,"\n");#endif	    } while (result != 0);	    break;	case CUDD_REORDER_EXACT:	    result = cuddExact(table,lower,upper);	    break;	case CUDD_REORDER_LAZY_SIFT:	    result = ddGroupSifting(table,lower,upper,ddVarGroupCheck,				    DD_LAZY_SIFT);	    break;	default:	    return(0);	}    }    /* Create a single group for all the variables that were sifted,    ** so that they will be treated as a single block by successive    ** invocations of ddGroupSifting.    */    ddMergeGroups(table,treenode,lower,upper);#ifdef DD_DEBUG    if (pr > 0) (void) fprintf(table->out,"ddReorderChildren:");#endif    return(result);} /* end of ddReorderChildren *//**Function********************************************************************  Synopsis    [Finds the lower and upper bounds of the group represented  by treenode.]  Description [Finds the lower and upper bounds of the group  represented by treenode.  From the index and size fields we need to  derive the current positions, and find maximum and minimum.]  SideEffects [The bounds are returned as side effects.]  SeeAlso     []******************************************************************************/static voidddFindNodeHiLo(  DdManager * table,  MtrNode * treenode,  int * lower,  int * upper){    int low;    int high;    /* Check whether no variables in this group already exist.    ** If so, return immediately. The calling procedure will know from    ** the values of upper that no reordering is needed.    */    if ((int) treenode->low >= table->size) {	*lower = table->size;	*upper = -1;	return;    }    *lower = low = (unsigned int) table->perm[treenode->index];    high = (int) (low + treenode->size - 1);    if (high >= table->size) {	/* This is the case of a partially existing group. The aim is to	** reorder as many variables as safely possible.  If the tree	** node is terminal, we just reorder the subset of the group	** that is currently in existence.  If the group has	** subgroups, then we only reorder those subgroups that are	** fully instantiated.  This way we avoid breaking up a group.	*/	MtrNode *auxnode = treenode->child;	if (auxnode == NULL) {	    *upper = (unsigned int) table->size - 1;	} else {	    /* Search the subgroup that strands the table->size line.	    ** If the first group starts at 0 and goes past table->size	    ** upper will get -1, thus correctly signaling that no reordering	    ** should take place.	    */	    while (auxnode != NULL) {		int thisLower = table->perm[auxnode->low];		int thisUpper = thisLower + auxnode->size - 1;		if (thisUpper >= table->size && thisLower < table->size)		    *upper = (unsigned int) thisLower - 1;		auxnode = auxnode->younger;	    }	}    } else {	/* Normal case: All the variables of the group exist. */	*upper = (unsigned int) high;    }#ifdef DD_DEBUG    /* Make sure that all variables in group are contiguous. */    assert(treenode->size >= *upper - *lower + 1);#endif    return;} /* end of ddFindNodeHiLo *//**Function********************************************************************  Synopsis    [Comparison function used by qsort.]  Description [Comparison function used by qsort to order the variables  according to the number of keys in the subtables.  Returns the  difference in number of keys between the two variables being  compared.]  SideEffects [None]******************************************************************************/static intddUniqueCompareGroup(  int * ptrX,  int * ptrY){#if 0    if (entry[*ptrY] == entry[*ptrX]) {	return((*ptrX) - (*ptrY));    }#endif    return(entry[*ptrY] - entry[*ptrX]);} /* end of ddUniqueCompareGroup *//**Function********************************************************************  Synopsis    [Sifts from treenode->low to treenode->high.]  Description [Sifts from treenode->low to treenode->high. If  croupcheck == CUDD_GROUP_CHECK7, it checks for group creation at the  end of the initial sifting. If a group is created, it is then sifted  again. After sifting one variable, the group that contains it is  dissolved.  Returns 1 in case of success; 0 otherwise.]  SideEffects [None]******************************************************************************/static intddGroupSifting(  DdManager * table,  int  lower,  int  upper,  int (*checkFunction)(DdManager *, int, int),  int lazyFlag){    int		*var;    int		i,j,x,xInit;    int		nvars;    int		classes;    int		result;    int		*sifted;    int		merged;    int		dissolve;#ifdef DD_STATS    unsigned	previousSize;#endif    int		xindex;    nvars = table->size;    /* Order variables to sift. */    entry = NULL;    sifted = NULL;    var = ALLOC(int,nvars);    if (var == NULL) {	table->errorCode = CUDD_MEMORY_OUT;	goto ddGroupSiftingOutOfMem;    }    entry = ALLOC(int,nvars);    if (entry == NULL) {	table->errorCode = CUDD_MEMORY_OUT;	goto ddGroupSiftingOutOfMem;    }    sifted = ALLOC(int,nvars);    if (sifted == NULL) {	table->errorCode = CUDD_MEMORY_OUT;	goto ddGroupSiftingOutOfMem;    }    /* Here we consider only one representative for each group. */    for (i = 0, classes = 0; i < nvars; i++) {	sifted[i] = 0;	x = table->perm[i];	if ((unsigned) x >= table->subtables[x].next) {	    entry[i] = table->subtables[x].keys;	    var[classes] = i;	    classes++;	}    }    qsort((void *)var,classes,sizeof(int),	  (int (*)(const void *, const void *)) ddUniqueCompareGroup);    if (lazyFlag) {	for (i = 0; i < nvars; i ++) {	    ddResetVarHandled(table, i);	}    }    /* Now sift. */    for (i = 0; i < ddMin(table->siftMaxVar,classes); i++) {	if (ddTotalNumberSwapping >= table->siftMaxSwap)	    break;	xindex = var[i];	if (sifted[xindex] == 1) /* variable already sifted as part of group */	    continue;        x = table->perm[xindex]; /* find current level of this variable */	if (x < lower || x > upper || table->subtables[x].bindVar == 1)	    continue;#ifdef DD_STATS	previousSize = table->keys - table->isolated;#endif#ifdef DD_DEBUG	/* x is bottom of group */        assert((unsigned) x >= table->subtables[x].next);#endif	if ((unsigned) x == table->subtables[x].next) {	    dissolve = 1;	    result = ddGroupSiftingAux(table,x,lower,upper,checkFunction,	    				lazyFlag);	} else {	    dissolve = 0;	    result = ddGroupSiftingAux(table,x,lower,upper,ddNoCheck,lazyFlag);	}	if (!result) goto ddGroupSiftingOutOfMem;	/* check for aggregation */	merged = 0;	if (lazyFlag == 0 && table->groupcheck == CUDD_GROUP_CHECK7) {	    x = table->perm[xindex]; /* find current level */	    if ((unsigned) x == table->subtables[x].next) { /* not part of a group */		if (x != upper && sifted[table->invperm[x+1]] == 0 &&		(unsigned) x+1 == table->subtables[x+1].next) {		    if (ddSecDiffCheck(table,x,x+1)) {			merged =1;			ddCreateGroup(table,x,x+1);		    }		}		if (x != lower && sifted[table->invperm[x-1]] == 0 &&		(unsigned) x-1 == table->subtables[x-1].next) {		    if (ddSecDiffCheck(table,x-1,x)) {			merged =1;			ddCreateGroup(table,x-1,x);		    }		}	    }	}	if (merged) { /* a group was created */	    /* move x to bottom of group */	    while ((unsigned) x < table->subtables[x].next)		x = table->subtables[x].next;	    /* sift */	    result = ddGroupSiftingAux(table,x,lower,upper,ddNoCheck,lazyFlag);	    if (!result) goto ddGroupSiftingOutOfMem;#ifdef DD_STATS	    if (table->keys < previousSize + table->isolated) {		(void) fprintf(table->out,"_");	    } else if (table->keys > previousSize + table->isolated) {		(void) fprintf(table->out,"^");	    } else {		(void) fprintf(table->out,"*");	    }	    fflush(table->out);	} else {	    if (table->keys < previousSize + table->isolated) {		(void) fprintf(table->out,"-");	    } else if (table->keys > previousSize + table->isolated) {		(void) fprintf(table->out,"+");	    } else {		(void) fprintf(table->out,"=");	    }	    fflush(table->out);#endif	}	/* Mark variables in the group just sifted. */	x = table->perm[xindex];	if ((unsigned) x != table->subtables[x].next) {	    xInit = x;	    do {		j = table->invperm[x];		sifted[j] = 1;		x = table->subtables[x].next;	    } while (x != xInit);	    /* Dissolve the group if it was created. */	    if (lazyFlag == 0 && dissolve) {		do {		    j = table->subtables[x].next;		    table->subtables[x].next = x;		    x = j;		} while (x != xInit);	    }	}#ifdef DD_DEBUG	if (pr > 0) (void) fprintf(table->out,"ddGroupSifting:");#endif      if (lazyFlag) ddSetVarHandled(table, xindex);    } /* for */    FREE(sifted);    FREE(var);    FREE(entry);    return(1);ddGroupSiftingOutOfMem:    if (entry != NULL)	FREE(entry);    if (var != NULL)	FREE(var);    if (sifted != NULL)	FREE(sifted);    return(0);} /* end of ddGroupSifting *//**Function********************************************************************

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品免费电影| 国产成人在线电影| 国产成人综合在线| 欧美性做爰猛烈叫床潮| 久久精品视频一区二区| 亚洲成人av一区二区| 成人av在线观| 337p日本欧洲亚洲大胆色噜噜| 亚洲人精品一区| 久久 天天综合| 欧美日韩在线播放| 综合欧美一区二区三区| 国产一区二区三区四| 91精品国产91热久久久做人人| 亚洲欧洲av在线| av成人免费在线观看| 91麻豆精品国产91久久久| 欧美激情一区二区三区在线| 精品在线免费观看| 欧美一区二区在线免费播放| 亚洲一级在线观看| 色婷婷香蕉在线一区二区| 欧美经典一区二区三区| 久久 天天综合| 精品久久人人做人人爽| 日韩制服丝袜先锋影音| 欧美日韩国产首页| 亚洲欧美精品午睡沙发| 91老师国产黑色丝袜在线| 国产精品美女久久久久久久网站| 国产主播一区二区三区| 精品国产伦一区二区三区观看方式 | 亚洲午夜一二三区视频| 色综合亚洲欧洲| 国产精品萝li| 成人av资源在线观看| 国产精品美女一区二区三区| av资源网一区| 国产精品福利一区| 91免费版pro下载短视频| 亚洲欧洲美洲综合色网| 99精品视频一区二区三区| 国产精品区一区二区三区| 成人h精品动漫一区二区三区| 亚洲成a人v欧美综合天堂下载| 欧美日韩精品欧美日韩精品 | 中文字幕av一区二区三区高| 国产成人免费9x9x人网站视频| 国产欧美一区二区在线| 国产成人免费视频精品含羞草妖精| 26uuu另类欧美| 成人丝袜18视频在线观看| 国产精品久久久久久久久动漫 | 爽爽淫人综合网网站| 欧美一区二区三区四区视频| 色综合久久久久综合体| 亚洲精品自拍动漫在线| 欧美日韩综合在线免费观看| 麻豆精品国产91久久久久久| 国产亚洲欧美中文| 欧美综合天天夜夜久久| 琪琪久久久久日韩精品| 欧美激情一二三区| 91论坛在线播放| 日本不卡一二三| 国产精品久久看| 欧美日本不卡视频| 国产成人av一区二区三区在线| 最新热久久免费视频| 777欧美精品| av资源站一区| 美国十次了思思久久精品导航| 亚洲国产精品成人综合 | 日本特黄久久久高潮| 2020国产精品| 在线观看国产一区二区| 久久国产视频网| 樱桃视频在线观看一区| 精品剧情v国产在线观看在线| 色先锋资源久久综合| 蜜桃在线一区二区三区| 1区2区3区欧美| www国产亚洲精品久久麻豆| 91小视频免费观看| 韩国一区二区三区| 图片区日韩欧美亚洲| 亚洲色图自拍偷拍美腿丝袜制服诱惑麻豆 | 欧美日韩国产经典色站一区二区三区| 精一区二区三区| 亚洲成人激情自拍| 中文字幕在线观看一区二区| 欧美精品 国产精品| 99精品视频一区| 国产乱子伦视频一区二区三区 | 亚洲精选视频免费看| 久久欧美一区二区| 欧美一区二区视频在线观看2020| 色激情天天射综合网| 国产精品99久久久久久久vr| 久久不见久久见免费视频7| 亚洲第一狼人社区| 亚洲摸摸操操av| 国产精品二三区| 国产精品日产欧美久久久久| 久久先锋影音av鲁色资源| www国产精品av| 精品伦理精品一区| 日韩一区二区三区四区 | 丝袜美腿亚洲色图| 亚洲一区二区三区国产| 一区二区三区在线影院| 国产精品久久久久四虎| 国产精品拍天天在线| 中文字幕不卡在线观看| 国产亚洲欧美日韩俺去了| 精品国产乱码久久久久久浪潮 | 5858s免费视频成人| 欧美裸体bbwbbwbbw| 91精品国产综合久久久久久漫画 | 国产一区二区三区观看| 韩国精品主播一区二区在线观看 | 91免费版在线| 色综合一区二区| 欧美亚洲国产一区二区三区 | 久久这里都是精品| 久久久噜噜噜久久人人看| 久久久久99精品一区| 国产三级精品三级| 亚洲欧美另类综合偷拍| 亚洲国产精品麻豆| 国产精品亚洲专一区二区三区 | 色婷婷av一区| 56国语精品自产拍在线观看| 91精品欧美福利在线观看| 精品欧美乱码久久久久久| 久久精品亚洲一区二区三区浴池| 欧美激情一区二区在线| 亚洲黄色免费网站| 免费成人你懂的| 成人综合激情网| 色www精品视频在线观看| 欧美日韩一区在线| 精品国内片67194| 国产精品拍天天在线| 亚洲图片一区二区| 色婷婷综合久久久中文一区二区| 色天使久久综合网天天| 欧美一区二区三区成人| 国产日韩欧美精品在线| 亚洲一区二区3| 国产精品亚洲а∨天堂免在线| 91免费视频网址| 日韩欧美一级在线播放| 国产精品大尺度| 日韩精品色哟哟| 播五月开心婷婷综合| 69堂国产成人免费视频| 国产精品欧美一区二区三区| 天堂午夜影视日韩欧美一区二区| 国产成人啪免费观看软件| 欧美视频你懂的| 国产日韩欧美精品电影三级在线| 一级中文字幕一区二区| 狠狠色丁香久久婷婷综合_中| 色综合一区二区| 国产亚洲一区二区在线观看| 亚洲国产成人va在线观看天堂| 韩国一区二区三区| 欧美调教femdomvk| 亚洲国产精品av| 久久精品久久久精品美女| 色一情一乱一乱一91av| 久久先锋资源网| 日韩av网站在线观看| 欧美在线制服丝袜| 国产精品国产三级国产普通话三级 | 欧美成va人片在线观看| 一区二区免费看| 欧美视频中文字幕| 亚洲人成小说网站色在线| 国产一区二区在线观看视频| 欧美日本国产视频| 亚洲免费观看高清完整版在线观看熊| 国产精品一品视频| 精品国产免费人成在线观看| 三级精品在线观看| 在线亚洲一区二区| 中文字幕在线不卡一区| 国产成人鲁色资源国产91色综| 日韩精品一区二区三区视频播放 | 成人一级黄色片| www亚洲一区| 捆绑紧缚一区二区三区视频| 在线观看亚洲专区| 亚洲综合图片区| 91黄色激情网站| 亚洲综合成人网| 欧美精品vⅰdeose4hd| 日韩国产成人精品| 一区精品在线播放|