Openkore.com

OpenKore Forums
It is currently 19 Apr 2018, 11:44

All times are UTC - 5 hours [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 45 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject: Re: New Ai Ideas
PostPosted: 08 Jan 2009, 19:54 
Offline
Perl Monk
Perl Monk

Joined: 04 Apr 2008, 17:26
Posts: 811
Tad offtopic, but is there anything like Python's doctest for Perl? What it does is scan source docstrings looking for test that looks like interactive interpreter sessions in the comments and converts them into unit tests (read: fucking awesome). This would let one test out the entire API quickly and easily.

Obviously a Perl one would be different since it doesn't use an interactive interpreter, but the idea is there.

_________________
cs : ee : realist


Top
 Profile  
 
 Post subject: Re: New Ai Ideas
PostPosted: 09 Jan 2009, 08:41 
Offline
Kami-Sama Desu~
Kami-Sama Desu~
User avatar

Joined: 04 Apr 2008, 09:24
Posts: 196
Location: 31th Dimension
kLabMouse wrote:
Technology wrote:
srcdoc has some good examples, wich should be updated for AI 2008.
Something like Initialization & main loop would be usefull imo. (old diagram)
Also, How the AI subsystem is designed for people that will work on AI modules.

other example:
http://www.openkore.com/wiki/index.php/Network_subsystem
http://www.openkore.com/wiki/index.php/AI_subsystem_and_task_framework_overview
http://www.openkore.com/wiki/index.php/New_AI_design

Oh yea, don't forget to update the src/doc/modules.txt when you add another file, just updated it up till now.


Almost none of those doc's have nothing to do with "AI 2008", they describe old design.
The new one, is that "Star Ship" model with some additions to it.

I'm thinking, about adjusting auto documentation, so there will be better description about API.


yes we need something equivalent to the old documentation.

_________________
Openkore Svn Zips:
Image
Doing Stuff Better At CollectSkin.com


Top
 Profile  
 
 Post subject: Re: New Ai Ideas
PostPosted: 10 Jan 2009, 09:55 
Offline
OpenKore Monk
OpenKore Monk

Joined: 04 Apr 2008, 10:10
Posts: 474
sli wrote:
Tad offtopic, but is there anything like Python's doctest for Perl? What it does is scan source docstrings looking for test that looks like interactive interpreter sessions in the comments and converts them into unit tests (read: fucking awesome). This would let one test out the entire API quickly and easily.

Obviously a Perl one would be different since it doesn't use an interactive interpreter, but the idea is there.

You can run createdoc.pl from src/doc/

Code:
#!/usr/bin/env perl
# Documentation extractor. Extracts documentation from comments from .pm files and put them in HTML files.


But all it does is extract comments, so it's not exactly the one you're looking for (just the doc, not the test part).

_________________
Got your topic trashed by a mod?

Trashing topics is one click, and moving a topic to its proper forum is a lot harder. You expend the least effort in deciding where to post, mods expend the least effort by trashing.

Have a nice day.


Top
 Profile  
 
 Post subject: Re: New Ai Ideas
PostPosted: 10 Jan 2009, 21:14 
Offline
Super Moderators
Super Moderators
User avatar

Joined: 06 May 2008, 12:47
Posts: 801
python's doctest for perl: Test::Snippet
(also take a look at "see also")

_________________
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!


Top
 Profile  
 
 Post subject: Re: New Ai Ideas
PostPosted: 24 Apr 2013, 14:12 
Offline
Super Moderators
Super Moderators
User avatar

Joined: 06 May 2008, 12:47
Posts: 801
See following sections in this pdf: http://www.valvesoftware.com/publications/2009/ai_systems_of_l4d_mike_booth.pdf

"Moving through the Environment" -> looks like kore's current drunken walking.
"Path Optimization" -> "Following path directly looks robotic"
"Reactive Path Following" -> Looks like what we want kore to do. (+ the followed path is close to the one with path optimization, but not as much bot-like)


The "Intention subsystem" looks interesting as well.

_________________
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 45 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group