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

📄 garden.ctxt

📁 Java source code for the Ant Colony Optimization Problem.
💻 CTXT
字号:
#BlueJ class context
comment0.target=class\ Garden
comment0.text=Class\ for\ defining\ a\ garden\ containing\ an\ ants'\ nest.\n@author\ Jo\ Wood\n@version\ 1.3,\ 18th\ September,\ 2001.\n\n
comment1.target=bounds
comment10.params=
comment10.target=void\ stopEvolution()
comment10.text=Stops\ the\ passage\ of\ time\ in\ the\ garden.\n\n
comment11.target=foodSources
comment12.target=nests
comment13.params=
comment13.target=void\ evolve()
comment13.text=Let\ the\ garden\ grow\ for\ one\ time\ unit.\n\n
comment14.params=
comment14.target=void\ startEvolution()
comment14.text=Starts\ off\ time\ sequence\ in\ the\ garden,\ allowing\ ants\ to\ evolve.\n\n
comment15.target=evolving
comment2.target=newNests
comment3.params=nest
comment3.target=void\ requestNewNest(Nest)
comment3.text=Adds\ the\ given\ nest\ to\ the\ garden.\n@param\ nest\ Nest\ to\ add\ to\ garden.\n\n
comment4.target=time
comment5.params=footprint
comment5.target=Garden(Footprint)
comment5.text=Creates\ a\ garden\ with\ an\ ants'\ nest\ and\ given\ spatial\ footprint.\n@param\ footprint\ Spatial\ footprint\ of\ garden.\n\n
comment6.params=spObject
comment6.target=Vector\ objectsAt(SpatialObject)
comment6.text=Reports\ the\ list\ of\ SpatialObjects\ associated\ 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
comment7.target=gListener
comment8.params=g
comment8.target=void\ paint(Graphics)
comment8.text=Draws\ the\ garden\ and\ all\ contained\ within\ it\ using\ the\ \ngiven\ graphics\ context.\n@param\ g\ Graphics\ context\ to\ draw\ to.\n\n
comment9.params=gListener
comment9.target=void\ addGraphicsListener(GraphicsListener)
comment9.text=Adds\ a\ graphics\ listener\ to\ this\ object.\ Passes\ on\ the\ listener\nto\ any\ ants'\ nests\ within\ the\ garden.\n@param\ gListener\ Component\ doing\ the\ drawing.\n\n
numComments=16

⌨️ 快捷键说明

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