YellowDemo

所属分类:其他智力游戏
开发工具:C++
文件大小:48KB
下载次数:70
上传日期:2005-04-08 22:43:49
上 传 者275347142
说明:  这是用c++语言编写的在SCST仿真平台机器人足球赛一个比赛队提交的结果. 其中有一些人工智能的算法 值得一看.
(This is the language used c SCST in robot soccer simulation platform for the team to a result. There are some interesting sites in artificial intelligence algorithms.)

文件列表:
YellowDemo\StdAfx.cpp (295, 2002-02-07)
YellowDemo\StdAfx.h (802, 2002-02-07)
YellowDemo\Strategy.plg (6322, 2005-04-05)
YellowDemo\MAPPING (5000, 2002-12-04)
YellowDemo\Strategy.dsw (541, 2005-04-05)
YellowDemo\Basic.h (350, 2002-11-24)
YellowDemo\Strategy.ncb (156672, 2005-04-05)
YellowDemo\Strategy2.cpp (6220, 2002-03-19)
YellowDemo\Basic.cpp (3088, 2002-11-25)
YellowDemo\DataManager.h (2219, 2002-11-29)
YellowDemo\Strategy.h (2971, 2002-11-27)
YellowDemo\DataManager.obj (18044, 2002-11-27)
YellowDemo\Strategy.dsp (4710, 2002-12-04)
YellowDemo\Strategy.cpp (14229, 2005-04-05)
YellowDemo\Strategy.opt (86016, 2005-04-05)
YellowDemo (0, 2006-01-08)

The Strategy project is based on the Win32 DLL wizard option in VC++. It contains a sample strategy and can be compiled down and placed in the Director folder to be used. Developers can use this project as a starting point for developing a DLL-based strategy. The project creates a Strategy.dll file, however, any file name should be acceptable as long as the Director program allows users to select their own strategy DLLs. The Strategy.h file contains the function prototypes which will be exported from the DLL: Create, Strategy, and Destroy. And also the Environment structure. The Environment structure is passed into the Strategy function and is used to access information about the robots, ball and field. It can also be used to set the velocities of the robots. Global data is not possible in the DLL as both robot teams may wish to use the same DLL file. So a user structure can be allocated and assigned to the userData field in Environment.h. Because user data only needs to be allocated once it can be done in the Create function which is called once when the Xtra is loaded. The user data can be freed in the Destroy function which is called when the Xtra is unloaded.

近期下载者

相关文件


收藏者