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

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

?? instantiateiv.c

?? intel ipp4.1性能庫的一些例子。
?? C
?? 第 1 頁 / 共 2 頁
字號:
    free_CodeOperator( j );  }}void generate_ini_goal_bitmap_representation( void ){  FactInfo *tpos = new_FactInfo();  FactInfo *tneg = new_FactInfo();  CodeNode *i, *l;  int j;  RelevantFact *tmp;  BitOperator *tmpop;  /* goal state is non trivial, otherwise we would have stopped already.   */  dnf( gcode_goal_state );  if ( gcode_goal_state->connective != OR ) {    if ( gcode_goal_state->connective != AND ) {      if ( gcode_goal_state->connective == NOT ) {	make_entry_in_FactInfo( &tneg, gcode_goal_state->sons->var );      } else {	make_entry_in_FactInfo( &tpos, gcode_goal_state->var );      }    } else {      for ( i = gcode_goal_state->sons; i; i = i->next ) {	if ( i->connective == NOT ) {	  make_entry_in_FactInfo( &tneg, i->sons->var );	} else {	  make_entry_in_FactInfo( &tpos, i->var );	}      }    }  } else {    /* disjunctive goals! introduce new GOAL-REACHED fact     */    if ( gpredicates_table_size == MAX_PREDICATES_TABLE ) {      printf("\ntoo many predicates! increase MAX_PREDICATES_TABLE (currently %d)\n\n",	     MAX_PREDICATES_TABLE);      exit( 1 );    }    gpredicates_table[gpredicates_table_size] = ggoal_reached_name;    garity[gpredicates_table_size] = 0;    gpredicates_table_size++;    if ( gnum_relevant_facts == MAX_RELEVANT_FACTS ) {      printf("\nincrease MAX_RELEVANT_FACTS! (current value: %d)\n\n",	     MAX_RELEVANT_FACTS);      exit( 1 );    }    tmp = new_RelevantFact( NULL );    tmp->predicate = gpredicates_table_size - 1;    grelevant_facts[gnum_relevant_facts++] = tmp;    /* adjust the vector length to additional fact     */    gft_vector_length = ( ( int ) gnum_relevant_facts / gcword_size );    if ( ( gnum_relevant_facts % gcword_size ) > 0 ) gft_vector_length++;    /* now make an operator for each disjunkt     */    for ( i = gcode_goal_state->sons; i; i = i->next ) {      tmpop = new_BitOperator( ggoal_reached_name );      tmpop->num_vars = 0;      if ( i->connective != AND ) {	if ( i->connective == NOT ) {	  make_entry_in_FactInfo( &(tmpop->n_preconds), i->sons->var );	} else {	  make_entry_in_FactInfo( &(tmpop->p_preconds), i->var );	}      } else {	for ( l = i->sons; l; l = l->next ) {	  if ( l->connective == NOT ) {	    make_entry_in_FactInfo( &(tmpop->n_preconds), l->sons->var );	  } else {	    make_entry_in_FactInfo( &(tmpop->p_preconds), l->var );	  }	}      }      tmpop->unconditional = new_effect();      make_entry_in_FactInfo( &(tmpop->unconditional->p_effects), gnum_relevant_facts-1 );      tmpop->next = gbit_operators;      gbit_operators = tmpop;      gnum_bit_operators++;      if ( gcmd_line.display_info == 103 ) {      	printf("\ngoal disjunct operator reads as follows:");	print_BitOperator( gbit_operators );      }    }    /* finally, we make sure that our only goal is to achieve     * the new GOAL-REACHED fact     */    make_entry_in_FactInfo( &tpos, gnum_relevant_facts-1 );  }  gbit_goal_state = new_fact_info_pair( tpos, tneg );  tpos = new_FactInfo();  tneg = new_FactInfo();  /* initial state can be empty, or simplified to TRU   */  if ( gcode_initial_state &&       gcode_initial_state->connective != TRU ) {    if ( gcode_initial_state->connective != AND ) {      make_entry_in_FactInfo( &tpos, gcode_initial_state->var );    } else {      for ( i = gcode_initial_state->sons; i; i = i->next ) {	make_entry_in_FactInfo( &tpos, i->var );      }    }  }  for ( j = 0; j<gnum_relevant_facts; j++ ) {    if ( !get_bit( tpos->vector, gft_vector_length, j ) ) {      make_entry_in_FactInfo( &tneg, j );    }  }  gbit_initial_state = new_fact_info_pair( tpos, tneg );  if ( gcmd_line.display_info == 103 ) {    printf("\nbit coded initial state reads:");    printf("\npositive");    print_FactInfo( gbit_initial_state->positive );    printf("\nnegative");    print_FactInfo( gbit_initial_state->negative );    printf("\nbit coded goal state reads:");    printf("\npositive");    print_FactInfo( gbit_goal_state->positive );    printf("\nnegative");    print_FactInfo( gbit_goal_state->negative );  }}int get_bit( BitVector *vec, int vec_len, int pos ){  return (vec[pos / gcword_size] & (1 << (pos % gcword_size)));}void generate_BitOperators( CodeOperator *op ){  int i, mm;  BitOperator *tmp, *tmp2;  CodeNode *n, *j, *k, *l;  Effect *tef, *ttt;  tmp = new_BitOperator( op->name );  tmp->num_vars = op->num_vars;  for ( i=0; i<MAX_VARS; i++ ) {    tmp->inst_table[i] = op->inst_table[i];  }  if ( op->conditionals ) {    for ( j = op->conditionals->sons; j; j = j->next ) {      if ( !(j->sons) ||	   j->sons->connective == TRU ) {	if ( !(tmp->unconditional) ) {	  tmp->unconditional = new_Effect();	}	make_effect_entries( &(tmp->unconditional), j->sons->next );	continue;      }      dnf( j->sons );      if ( j->sons->connective != OR ) {	tef = new_Effect();	if ( j->sons->connective != AND ) {	  if ( j->sons->connective == NOT ) {	    make_entry_in_FactInfo( &(tef->n_conds), j->sons->sons->var );	  } else {	    make_entry_in_FactInfo( &(tef->p_conds), j->sons->var );	  }	} else {	  for ( k = j->sons->sons; k; k = k->next ) {	    if ( k->connective == NOT ) {	      make_entry_in_FactInfo( &(tef->n_conds), k->sons->var );	    } else {	      make_entry_in_FactInfo( &(tef->p_conds), k->var );	    }	  }	}	/* conditions finished; see wether we got that already	 */	for ( ttt = tmp->conditionals; ttt; ttt = ttt->next ) {	  for ( mm = 0; mm < gft_vector_length; mm++ ) {	    if ( ttt->p_conds->vector[mm] != tef->p_conds->vector[mm] ) {	      break;	    }	  }	  if ( mm < gft_vector_length ) {	    continue;	  }	  for ( mm = 0; mm < gft_vector_length; mm++ ) {	    if ( ttt->n_conds->vector[mm] != tef->n_conds->vector[mm] ) {	      break;	    }	  }	  if ( mm < gft_vector_length ) {	    continue;	  }	  free_effect( tef );	  make_effect_entries( &ttt, j->sons->next );	  break;	}	if ( ttt ) {	  continue;	}	make_effect_entries( &tef, j->sons->next );	tef->next = tmp->conditionals;	tmp->conditionals = tef;	continue;/* finished with effect whose conds where != OR */      }      for ( k = j->sons->sons; k; k = k->next ) {	tef = new_Effect();	if ( k->connective != AND ) {	  if ( k->connective == NOT ) {	    make_entry_in_FactInfo( &(tef->n_conds), k->sons->var );	  } else {	    make_entry_in_FactInfo( &(tef->p_conds), k->var );	  }	} else {	  for ( l = k->sons; l; l = l->next ) {	    if ( l->connective == NOT ) {	      make_entry_in_FactInfo( &(tef->n_conds), l->sons->var );	    } else {	      make_entry_in_FactInfo( &(tef->p_conds), l->var );	    }	  }	}	/* conditions finished; see wether we got that already	 */	for ( ttt = tmp->conditionals; ttt; ttt = ttt->next ) {	  for ( mm = 0; mm < gft_vector_length; mm++ ) {	    if ( ttt->p_conds->vector[mm] != tef->p_conds->vector[mm] ) {	      break;	    }	  }	  if ( mm < gft_vector_length ) {	    continue;	  }	  for ( mm = 0; mm < gft_vector_length; mm++ ) {	    if ( ttt->n_conds->vector[mm] != tef->n_conds->vector[mm] ) {	      break;	    }	  }	  if ( mm < gft_vector_length ) {	    continue;	  }	  free_effect( tef );	  make_effect_entries( &ttt, j->sons->next );	  break;	}	if ( ttt ) {	  continue;	}	/* a bit INEFFICIENT... could also do effect entries only one time	 * and then copy that for each disjunct	 */	make_effect_entries( &tef, j->sons->next );	tef->next = tmp->conditionals;	tmp->conditionals = tef;      }    }    /* identical effects are now completely merged     */  }  /* check if the overall merged unconditional effects are contradictory   */  if ( tmp->unconditional ) {    for ( i = 0; i < gft_vector_length; i++ ) {      if ( tmp->unconditional->p_effects->vector[i] &	   tmp->unconditional->n_effects->vector[i] ) {	return;      }    }  }  if ( !op->preconds ||       op->preconds->connective == TRU ) {    tmp->next = gbit_operators;    gbit_operators = tmp;    gnum_bit_operators++;    if ( gcmd_line.display_info == 103 ) {      printf("\nbit mapped operator reads as follows:");      print_BitOperator( gbit_operators );    }    return;  }  dnf( op->preconds );  n = op->preconds;  if ( n->connective != OR ) {    if ( n->connective != AND ) {      if ( n->connective == NOT ) {	make_entry_in_FactInfo( &(tmp->n_preconds), n->sons->var );      } else {	make_entry_in_FactInfo( &(tmp->p_preconds), n->var );      }    } else {      for ( k = n->sons; k; k = k->next ) {	if ( k->connective == NOT ) {	  make_entry_in_FactInfo( &(tmp->n_preconds), k->sons->var );	} else {	  make_entry_in_FactInfo( &(tmp->p_preconds), k->var );	}      }    }    tmp->next = gbit_operators;    gbit_operators = tmp;    gnum_bit_operators++;    if ( gcmd_line.display_info == 103 ) {      printf("\nbit mapped operator reads as follows:");      print_BitOperator( gbit_operators );    }    return;  }  for ( k = n->sons; k; k = k->next ) {    tmp2 = new_BitOperator( op->name );    tmp2->num_vars = op->num_vars;    for ( i=0; i<MAX_VARS; i++ ) {      tmp2->inst_table[i] = op->inst_table[i];    }    tmp2->unconditional = copy_effects( tmp->unconditional );    tmp2->conditionals = copy_effects( tmp->conditionals );    if ( k->connective != AND ) {      if ( k->connective == NOT ) {	make_entry_in_FactInfo( &(tmp2->n_preconds), k->sons->var );      } else {	make_entry_in_FactInfo( &(tmp2->p_preconds), k->var );      }    } else {      for ( l = k->sons; l; l = l->next ) {	if ( l->connective == NOT ) {	  make_entry_in_FactInfo( &(tmp2->n_preconds), l->sons->var );	} else {	  make_entry_in_FactInfo( &(tmp2->p_preconds), l->var );	}      }    }    tmp2->next = gbit_operators;    gbit_operators = tmp2;    gnum_bit_operators++;    if ( gcmd_line.display_info == 103 ) {      printf("\nbit mapped operator reads as follows:");      print_BitOperator( gbit_operators );    }  }  free_BitOperator( tmp );}void make_entry_in_FactInfo( FactInfo **f, int index ){  int uid_block;  unsigned int uid_mask;  Integers *i;  if ( index < 0 ) {    /* can happen in effects: facts that are deleted, but not contained     * in the initial state and never added.     */    return;  }  uid_block = index / gcword_size;  uid_mask = 1 << ( index % gcword_size );  i = new_integers( index );  (*f)->vector[uid_block] |= uid_mask;  i->next = (*f)->indices;  (*f)->indices = i;}void make_effect_entries( Effect **e, CodeNode *n ){  CodeNode *j;  if ( n->connective != AND ) {    if ( n->connective == NOT ) {      make_entry_in_FactInfo( &((*e)->n_effects), n->sons->var );    } else {      make_entry_in_FactInfo( &((*e)->p_effects), n->var );    }  } else {    for ( j=n->sons; j; j = j->next ) {      if ( j->connective == NOT ) {	make_entry_in_FactInfo( &((*e)->n_effects), j->sons->var );      } else {	make_entry_in_FactInfo( &((*e)->p_effects), j->var );      }    }  }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区不卡在线| 欧美色视频在线观看| 色婷婷综合五月| 欧美变态tickling挠脚心| 国产精品久久久久久久久久免费看 | 成人免费在线视频| 日韩av在线免费观看不卡| 91在线视频播放| 欧美mv和日韩mv国产网站| 亚洲国产成人av| av在线这里只有精品| 日韩久久久久久| 视频一区二区欧美| 色婷婷久久久久swag精品| 久久蜜臀中文字幕| 九色综合狠狠综合久久| 91精品久久久久久久99蜜桃| 亚洲精品视频免费观看| 成人av影院在线| 久久精品视频在线免费观看| 久久精品国内一区二区三区| 欧美男男青年gay1069videost| 中文字幕一区二区三区不卡在线 | 99久久综合精品| 国产欧美一二三区| 激情久久五月天| 欧美电影免费观看高清完整版在| 婷婷综合在线观看| 在线播放中文一区| 五月综合激情婷婷六月色窝| 欧美午夜理伦三级在线观看| 一区二区三区欧美日| 色婷婷av一区二区三区之一色屋| 中文字幕色av一区二区三区| 一本久道久久综合中文字幕| 一区视频在线播放| 91丨九色丨尤物| 亚洲精品五月天| 在线视频一区二区免费| 亚洲一区二区精品视频| 欧美剧情片在线观看| 日韩精品午夜视频| 日韩视频免费观看高清完整版 | 欧美亚男人的天堂| 北条麻妃国产九九精品视频| 国产亚洲成aⅴ人片在线观看| 风间由美性色一区二区三区| 国产精品美女视频| 欧美亚男人的天堂| 蜜桃精品在线观看| 国产性色一区二区| 91亚洲永久精品| 亚洲成年人网站在线观看| 欧美一区欧美二区| 国产69精品久久久久777| 中文字幕一区二区视频| 欧美视频你懂的| 日韩avvvv在线播放| 久久久欧美精品sm网站| 99免费精品在线| 午夜免费久久看| 精品1区2区在线观看| 不卡的av中国片| 亚洲1区2区3区视频| 久久亚洲精品小早川怜子| hitomi一区二区三区精品| 午夜不卡在线视频| 久久精品日产第一区二区三区高清版| 91在线看国产| 美日韩一区二区| 亚洲精品美国一| 久久影院午夜片一区| 欧美综合一区二区三区| 国产麻豆成人精品| 午夜精品视频一区| 亚洲欧洲av在线| 精品裸体舞一区二区三区| 欧洲精品中文字幕| 欧美午夜电影一区| 国产夫妻精品视频| 洋洋成人永久网站入口| 欧美成人a∨高清免费观看| 一本大道久久精品懂色aⅴ| 久久精品噜噜噜成人av农村| 亚洲男人的天堂网| 久久精品亚洲精品国产欧美| 欧美男人的天堂一二区| eeuss国产一区二区三区| 另类小说一区二区三区| 亚洲欧美色一区| 日本一区二区三区国色天香| 91麻豆精品国产自产在线观看一区 | 韩国成人在线视频| 亚洲国产日韩av| 亚洲精品国产品国语在线app| 久久综合狠狠综合| 日韩午夜在线观看视频| 欧美影院精品一区| www.欧美日韩国产在线| 国产一区二区女| 欧美aaa在线| 五月天精品一区二区三区| 亚洲另类色综合网站| 手机精品视频在线观看| 亚洲国产毛片aaaaa无费看| 亚洲免费三区一区二区| 国产精品久久久久永久免费观看 | 亚洲国产视频直播| 国产精品久久久久一区二区三区| 久久久精品天堂| 久久综合网色—综合色88| 日韩免费看的电影| 日韩精品一区二| 日韩精品在线看片z| 日韩欧美123| www国产亚洲精品久久麻豆| 精品美女一区二区三区| 久久久亚洲精品石原莉奈| 久久久久九九视频| 国产免费成人在线视频| 中文一区二区在线观看| 中文字幕亚洲综合久久菠萝蜜| 国产亚洲一区二区三区在线观看 | 播五月开心婷婷综合| 成人av小说网| 在线视频欧美精品| 欧美午夜精品一区二区三区| 欧美电影一区二区| 欧美成人精品二区三区99精品| 精品日产卡一卡二卡麻豆| 国产欧美视频一区二区| 成人欧美一区二区三区黑人麻豆 | 亚洲精选免费视频| 亚洲五码中文字幕| 久久国产精品99久久人人澡| 国产成人亚洲综合a∨猫咪| www.66久久| 欧美日韩美少妇 | 欧美精品视频www在线观看| 欧美一区二区三区思思人| 久久奇米777| 亚洲欧美另类图片小说| 日韩精品久久理论片| 国产精品一卡二卡| 在线视频欧美精品| 欧美精品一区二区精品网| 亚洲欧洲www| 奇米精品一区二区三区四区| 9色porny自拍视频一区二区| 欧美美女一区二区| 久久精品人人爽人人爽| 亚洲一二三区不卡| 国产酒店精品激情| 欧美视频完全免费看| 国产亚洲一二三区| 午夜激情久久久| 成人丝袜视频网| 欧美一区二区视频在线观看2022| 中文子幕无线码一区tr| 日韩电影网1区2区| 99亚偷拍自图区亚洲| 日韩欧美国产高清| 亚洲精品国久久99热| 国产成人av一区二区三区在线观看| 欧美午夜片在线观看| 中文字幕乱码久久午夜不卡| 毛片不卡一区二区| 色播五月激情综合网| 中文字幕va一区二区三区| 麻豆91在线播放免费| 欧美日韩国产一区| 亚洲欧美综合色| 国产成人午夜视频| 日韩一本二本av| 午夜精品久久久久久| 99久久精品免费看国产免费软件| 日韩三级伦理片妻子的秘密按摩| 一区二区三区四区高清精品免费观看| 国产高清不卡一区二区| 欧美一级黄色大片| 亚洲高清在线视频| 欧美亚州韩日在线看免费版国语版| 国产精品欧美久久久久一区二区| 精品一区中文字幕| 91精品国产高清一区二区三区| 亚洲在线观看免费| 91麻豆文化传媒在线观看| 国产精品美日韩| 成人一道本在线| 亚洲国产精品高清| 成人午夜电影小说| 久久久久国产一区二区三区四区| 激情伊人五月天久久综合| 欧美一级xxx| 青青草97国产精品免费观看无弹窗版 | 成人黄色在线视频| 中文字幕一区二区三区蜜月 | 欧美一区二区二区| 蜜臀久久久99精品久久久久久| 6080午夜不卡|