freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

人工智能第二次實驗-資料下載頁

2025-08-17 08:09本頁面
  

【正文】 alue=firstptrdata。 tempptr=firstptr。 firstptr=firstptrnextptr。 //delete tempptr。 //return true。 return tempptr。 }}bool clist::removeback( string amp。 value){ if(isempty()) return false。 else { ode *currentptr=firstptr,*tempptr=lastptr。 if(firstptr==lastptr) firstptr=lastptr=NULL。 else{ while(currentptrnextptr!=lastptr) currentptr=currentptrnextptr。 lastptr=currentptr。 currentptrnextptr=NULL。 } value=tempptrdata。 delete tempptr。 return true。 }}bool clist::isempty() const{ return firstptr==NULL。}void clist::print() const{ ode *currentptr=firstptr。 while(currentptr!=NULL) { coutcurrentptrdatasetw(6)。 currentptr=currentptrnextptr。 } coutendl。}ode *clist::getnew(const string amp。 value){ ode *ptrnew=new ode(value)。 assert(ptrnew)。 return ptrnew。} endif ifndef node_h define node_h include iostream include stringusing namespace std。class ode{ friend class clist。public: ode()。 ode(const string amp。)。 void setDadptr(ode *value) {dadptr=value。} ode *getDadptr() {return dadptr。} string GetData() const {return data。}private: string data。 ode *nextptr。 ode *dadptr。}。ode::ode() : nextptr(0),dadptr(0) {}ode::ode(const string amp。value) : data(value),nextptr(0),dadptr(0) {} endif實驗結(jié)果截屏:由結(jié)果知,從初始節(jié)點到目標(biāo)節(jié)點共擴展了45個節(jié)點,且最短路徑顯示如上圖。實驗小結(jié):通過本次實驗,對于廣度優(yōu)先算法的原理理解更透徹,鍛煉了自己的編程能力和實踐能力,花費很多精力,也出現(xiàn)了很多錯誤,但是收獲很大。人工智能第二次實驗 電信學(xué)院計算機0510055115韓寧
點擊復(fù)制文檔內(nèi)容
化學(xué)相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號-1