資源簡介
A星路徑規(guī)劃算法
A星路徑規(guī)劃算法!
A星路徑規(guī)劃算法!!
A Star Algorithm!
A Star Algorithm!!)
代碼片段和文件信息
function?astardemo
%ASTARDEMO?Demonstration?of?ASTAR?algorithm
%
%???Copyright?Bob?L.?Sturm?Ph.?D.?Assistant?Professor
%???Department?of?Architecture?Design?and?Media?Technology
%?????formerly?Medialogy
%???Aalborg?University?i?Ballerup
%?????formerly?Aalborg?University?Copenhagen
%???$Revision:?0.1?$??$Date:?2011?Jan.?15?18h24:24$
n?=?20;???%?field?size?n?x?n?tiles
wallpercent?=?0.45;??%?this?percent?of?field?is?walls
%?create?the?n?x?n?FIELD?with?wallpercent?walls?containing?movement?costs?
%?a?starting?position?STARTPOSIND?a?goal?position?GOALPOSIND?the?costs?
%?A?star?will?compute?movement?cost?for?each?tile?COSTCHART?
%?and?a?matrix?in?which?to?store?the?pointers?FIELDPOINTERS
[field?startposind?goalposind?costchart?fieldpointers]?=?...
??initializeField(nwallpercent);
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????11147??2014-08-26?17:54??Astar_Archive\astardemo.m
?????文件???????5351??2014-08-26?17:54??Astar_Archive\pewee-ahh.wav
?????文件???????4830??2014-08-26?17:54??Astar_Archive\wee.wav
?????文件?????????82??2014-08-26?17:54??Astar_Archive\__MACOSX\._astardemo.m
?????文件????????201??2014-08-26?17:54??Astar_Archive\__MACOSX\._pewee-ahh.wav
?????文件????????201??2014-08-26?17:54??Astar_Archive\__MACOSX\._wee.wav
?????目錄??????????0??2015-07-01?22:13??Astar_Archive\__MACOSX
?????目錄??????????0??2015-07-01?22:13??Astar_Archive
-----------?---------??----------?-----??----
????????????????21812????????????????????8
評論
共有 條評論