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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? concept.c

?? 人智算法基本程序
?? C
字號:
/* Concept.C * * A concept is a boolean combination of features. A feature is an attribute * together with a value for that attribute. "feature" is just another * word for "value". For this program, we assume that all concepts are * purely conjunctive. *//* * Copyright 1994, Brown University, Providence, RI * See end of file for full copyright information */#include "Concept.H"#include "Example.H"#include "Version.H"#include "Dimension.H"#include "String.H"// Construct an empty concept. No features.Concept::Concept(){  for(int x = 0; x < Version::num_dimensions; x++)    features[x] = NO_VALUE;    // means no value for this concept   next = NULL;   prev = NULL;}// Bulid a new concept based on the given concept, and add it to the// linked list. Copy all the features of the given concept.Concept::Concept(Concept *concept){   for(int x = 0; x < Version::num_dimensions; x++)      features[x] = concept->features[x];   next = concept->next;   prev = concept;   concept->next = this;   next->prev = this;}// Construct a concept that has the same features as the given exampleConcept::Concept(Example *example){   for(int x = 0; x < Version::num_dimensions; x++)      features[x] = example->get_value(x);   next = NULL;   prev = NULL;}// Delete dynamically allocated features array, and correct doubly-linked list.Concept::~Concept(){    next->prev = prev;    prev->next = next;}// Set one of the values of one of the attributes.void Concept::set_feature(int dim, int value){   features[dim] = value;}// A concept is consistent with an example if for each feature (conjunct) in// the concept, either the attribute of the feature is not mentioned in// the list of features describing the example, or, if it is mentioned,// the corresponding feature has the same attribute value. For instance,// if an example corresponds to an office on the third floor, then any// concept consistent with that example must either not mention a floor or// indicate the third floor.ConsistentType Concept::consistent(Example *example){   for(int x = 0; x < Version::num_dimensions; x++)      if(features[x] != NO_VALUE && example->get_value(x) != features[x])         return INCONSISTENT;   return CONSISTENT;}// For the restricted hypothesis space consisting of conjunctions of positive// literals, generalization corresponds to removing features from a concept// represented as a conjunction of features.void Concept::generalize(){   Concept *concept;   for(int x = 0; x < Version::num_dimensions; x++)      if(features[x] != NO_VALUE) {         concept = new Concept(this);  // Adds it to the linked list         concept->set_feature(x, NO_VALUE);      }}// Minimally specialize this concept. Add new concepts to the boundary.void Concept::specialize(){   Concept *temp;   for(int dim = 0; dim < Version::num_dimensions; dim++)	if(features[dim] == NO_VALUE)   // Only if consistent	  for(int v = 0; v < Version::dimensions[dim].num_values; v++) {	    temp = new Concept(this);   // Adds it to the linked list	    temp->set_feature(dim, v);  // Adds the new feature	  }}// Is this class a generalization of the given class? If so, return TRUE.int Concept::is_generalization_of(Concept *concept){   for(int x = 0; x < Version::num_dimensions; x++)      if(features[x] != NO_VALUE && concept->features[x] != features[x])         return 0;   return 1;}// Print this conceptostream& operator<<(ostream &o, Concept &c){  o << "( ";  for(int x = 0; x < Version::num_dimensions; x++)    if(c.features[x] != NO_VALUE)      o << Version::dimensions[x].values[c.features[x]] << " ";  o << ")";  return o;}/* * Copyright 1994, Brown University, Providence, RI * * Permission to use and modify this software and its documentation for * any purpose other than its incorporation into a commercial product is * hereby granted without fee.  Permission to copy and distribute this * software and its documentation only for non-commercial use is also * granted without fee, provided, however, that the above copyright notice * appear in all copies, that both that copyright notice and this permission * notice appear in supporting documentation, that the name of Brown * University not be used in advertising or publicity pertaining to * distribution of the software without specific, written prior permission, * and that the person doing the distribution notify Brown University of * such distributions outside of his or her organization. Brown University * makes no representations about the suitability of this software for * any purpose.  It is provided "as is" without express or implied warranty. * Brown University requests notification of any modifications to this * software or its documentation. * * Send the following redistribution information: * *	Name: *	Organization: *	Address (postal and/or electronic): * * To: *	Software Librarian *	Computer Science Department, Box 1910 *	Brown University *	Providence, RI 02912 * *		or * *	brusd@cs.brown.edu * * We will acknowledge all electronic notifications. */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人中文字幕合集| 国产精品国产三级国产普通话蜜臀| 中文字幕乱码日本亚洲一区二区| 日韩综合小视频| 欧美日韩国产a| 亚洲午夜激情网站| 91传媒视频在线播放| 国产精品免费看片| 99精品欧美一区二区三区综合在线| 久久亚洲二区三区| 激情综合色播五月| 欧美一区二区久久| 日韩精品91亚洲二区在线观看| 欧美无砖专区一中文字| 一区二区三区中文字幕精品精品 | 久久超碰97中文字幕| 欧美日韩国产小视频| 蜜桃视频在线一区| 日韩精品一区二区三区视频播放 | 国产成人精品亚洲午夜麻豆| 日韩欧美123| 亚洲福利视频一区| 欧美变态口味重另类| 美腿丝袜亚洲三区| 精品国产乱码久久久久久蜜臀| 亚洲精品va在线观看| 欧美猛男超大videosgay| 亚洲国产综合色| 51久久夜色精品国产麻豆| 亚洲第一综合色| 精品国产乱码久久久久久蜜臀| 国产精品一区免费视频| 久久精品人人爽人人爽| 成人国产精品免费网站| 视频一区在线播放| 欧美精品一区二区三区蜜桃视频 | 国产乱一区二区| 国产欧美日韩在线| 91影院在线观看| 亚洲bt欧美bt精品777| 久久久久久久一区| 色8久久精品久久久久久蜜| 亚洲国产成人91porn| 欧美mv日韩mv国产网站| 91亚洲精品一区二区乱码| 丝袜脚交一区二区| 久久久.com| 欧洲精品中文字幕| 日本成人在线电影网| 国产亚洲精品福利| 色吧成人激情小说| 久久精品国产99久久6| 亚洲综合色区另类av| 2020国产精品| 欧美日韩综合在线| 国产精品1024| 精品一区精品二区高清| 亚洲一区在线观看网站| 国产午夜精品久久久久久免费视| 色久优优欧美色久优优| 成人av电影在线| 美国三级日本三级久久99| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 欧美一区二区三区不卡| 成人午夜免费电影| 麻豆精品久久久| 精品91自产拍在线观看一区| 欧美日韩国产色站一区二区三区| 国产精品中文字幕日韩精品| 亚洲成人av在线电影| 亚洲精品免费在线| 欧美激情一区二区| 欧美v国产在线一区二区三区| 色8久久精品久久久久久蜜| 日本伊人色综合网| 亚洲bdsm女犯bdsm网站| 亚洲免费观看高清完整版在线观看| 久久综合色天天久久综合图片| 色乱码一区二区三区88| 一本大道久久精品懂色aⅴ| 国产成人综合精品三级| 青青草91视频| 午夜电影网亚洲视频| 亚洲一区二区三区四区在线观看| 国产女人18毛片水真多成人如厕 | 日韩中文字幕91| 日韩毛片高清在线播放| 欧美一级夜夜爽| 欧美精品一二三| 欧美日韩美少妇| 日本高清不卡aⅴ免费网站| 成人黄色小视频在线观看| 成人黄色国产精品网站大全在线免费观看| 久久精品噜噜噜成人88aⅴ| 日韩精彩视频在线观看| 日韩精品亚洲一区| 日韩美女在线视频| 国产调教视频一区| 国产欧美精品国产国产专区| 国产片一区二区| 中文字幕精品—区二区四季| 久久久99精品久久| 欧美国产日韩一二三区| 国产欧美在线观看一区| 国产精品午夜电影| 日韩欧美一区二区免费| 国产亚洲女人久久久久毛片| 亚洲国产激情av| 国产精品亲子乱子伦xxxx裸| 亚洲视频你懂的| 亚洲欧美视频一区| 爽好多水快深点欧美视频| 日韩黄色免费电影| 亚洲国产精品传媒在线观看| 亚洲免费观看高清完整版在线观看| 水蜜桃久久夜色精品一区的特点| 国产精品一区免费视频| 一本在线高清不卡dvd| 91精品国产91久久综合桃花| 国产欧美日韩精品一区| 亚洲成人免费观看| 国产suv精品一区二区6| 欧美艳星brazzers| 久久嫩草精品久久久久| 亚洲一区电影777| 国产成人亚洲精品青草天美| 精品视频1区2区3区| 久久久国产午夜精品| 亚洲午夜一区二区| 国产99精品在线观看| 欧美精品第1页| 亚洲欧洲一区二区在线播放| 久久精品国产一区二区三区免费看| 成人av先锋影音| 日韩一级片网址| 一区二区三区精品| 国产99久久久久久免费看农村| 欧美乱妇23p| 亚洲品质自拍视频| 成人一道本在线| 精品免费国产二区三区| 午夜精品久久久久久久久久| 不卡视频在线观看| 精品99一区二区| 蜜臀久久99精品久久久久久9| 91麻豆国产福利精品| 国产欧美一区二区精品性色| 日韩国产精品91| 欧美午夜精品电影| 亚洲手机成人高清视频| 国产风韵犹存在线视精品| 欧美精品精品一区| 亚洲国产精品人人做人人爽| 色成年激情久久综合| ...av二区三区久久精品| 国产精品白丝jk白祙喷水网站| 欧美一区日本一区韩国一区| 亚洲一级二级三级在线免费观看| 91丝袜呻吟高潮美腿白嫩在线观看| 久久久精品tv| 国产91丝袜在线播放0| 欧美精品一区二区三区蜜桃 | 久久久噜噜噜久久中文字幕色伊伊| 午夜天堂影视香蕉久久| 91啪亚洲精品| 亚洲色欲色欲www| 99久久精品免费| 亚洲视频狠狠干| 色狠狠一区二区| 一区二区三区产品免费精品久久75| 99国产精品久久久久久久久久久| 中文字幕成人网| av电影在线观看一区| 最新国产精品久久精品| 色综合网站在线| 亚洲激情欧美激情| 欧美日韩免费一区二区三区视频 | 免费欧美日韩国产三级电影| 91精品久久久久久久91蜜桃| 麻豆一区二区三| 欧美电影免费观看高清完整版 | 国产成人精品免费| 国产精品视频一区二区三区不卡| 国产69精品久久777的优势| 亚洲欧洲日产国码二区| 91蜜桃网址入口| 亚洲午夜久久久久久久久电影院 | 日韩一区在线免费观看| 91国内精品野花午夜精品| 亚洲一区二区精品视频| 91精品国产色综合久久| 国产老女人精品毛片久久| √…a在线天堂一区| 欧美日韩一级片网站| 免费国产亚洲视频| 国产精品天美传媒| 97久久精品人人爽人人爽蜜臀| 一级精品视频在线观看宜春院| 在线播放国产精品二区一二区四区 | 91麻豆精品91久久久久同性|