⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 antapplication.ctxt

📁 Java source code for the Ant Colony Optimization Problem.
💻 CTXT
字号:
#BlueJ class context
comment0.target=class\ AntApplication
comment0.text=A\ top\ level\ application\ window\ for\ displaying\ ant\ activity.\n@author\ \ \ Jo\ Wood.\n@version\ \ 1.4,\ 21st\ October,\ 2001\n\n
comment1.params=event
comment1.target=void\ windowClosing(WindowEvent)
comment1.text=Responds\ to\ attempt\ to\ close\ window\ via\ the\ GUI.\ Checks\nthe\ user\ really\ wants\ to\ quite\ before\ closing\ down.\n@param\ event\ Window\ closing\ event.\n\n
comment10.target=garden
comment11.params=title
comment11.target=AntApplication(String)
comment11.text=Creates\ a\ top\ level\ application\ window\ with\ a\ given\ title.\n@param\ title\ Title\ to\ associate\ with\ window.\n\n
comment2.params=g
comment2.target=void\ paintComponent(Graphics)
comment2.text=Draws\ the\ simulation\ on\ the\ panel.\n@param\ g\ Graphics\ context\ within\ which\ to\ draw.\n\n
comment3.params=message
comment3.target=void\ displayMessage(String)
comment3.text=Displays\ the\ given\ message\ in\ the\ status\ bar.\n@param\ Message\ Message\ to\ display.\n\n
comment4.params=spObject
comment4.target=boolean\ canDraw(SpatialObject)
comment4.text=Checks\ whether\ given\ spatial\ object\ can\ be\ drawn\ on\ panel.\n@param\ spObject\ Spatial\ object\ we\ wish\ to\ draw.\n@return\ True\ if\ the\ spatial\ object\ can\ be\ drawn.\n\n
comment5.params=spObject
comment5.target=Vector\ objectsAt(SpatialObject)
comment5.text=Reports\ the\ list\ of\ SpatialObjects\ assoicated\ with\ the\ given\nspatial\ object\ (within,\ matching,\ overlapping\ or\ containing).\ \n@param\ spObject\ spatial\ object\ with\ which\ to\ compare.\n@return\ List\ of\ spatial\ objects\ in\ contact\ with\ the\ given\ one.\n\n
comment6.params=
comment6.target=void\ redrawGraphics()
comment6.text=Redraws\ any\ graphics\ that\ need\ updating.\n\n
comment7.params=args
comment7.target=void\ main(String[])
comment7.text=Creates\ the\ graphical\ window\ within\ which\ ants\ can\ be\ \nobserved.\n@param\ args\ Command\ line\ parameters\ (ignored).\n\n
comment8.params=
comment8.target=void\ closeDown()
comment8.text=Asks\ the\ user\ if\ they\ really\ want\ to\ quit,\ then\ closes.\n\n
comment9.target=statusBar
numComments=12

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -