public inbox for xconq7@sourceware.org
 help / color / mirror / Atom feed
From: Eric McDonald <mcdonald@phy.cmich.edu>
To: Peter Garrone <pgarrone@acay.com.au>
Cc: xconq7@sources.redhat.com
Subject: Re: Major problem with the path code
Date: Sat, 29 Nov 2003 18:33:00 -0000	[thread overview]
Message-ID: <Pine.LNX.4.44.0311261807090.10879-100000@leon.phy.cmich.edu> (raw)
In-Reply-To: <20031126225435.GA5683@leonardo>

Hi Peter,

On Thu, 27 Nov 2003, Peter Garrone wrote:

> My apologies. I am still learning this system to an extent, and have
> been focused on getting this pathfinding doing.

No apologies necessary. I was painting with a fairly broad brush 
when I made those comments. I'm sure you have much more specific 
knowledge of the action/task/plan taxonomy than I do, since my 
only real exposure to it came while I was looking through the 
create/build code some time ago.

> The supply should conform to definite simple rules though.

The point-to-point movement, yes, I agree.

> But it should take account of enemy zoc, and terrain. 

I believe that support is already in the kernel, but I might have 
read somewhere that it wasn't working too well and so it was 
disabled. I haven't looked what the actual status of it is yet.

>I suppose an
> algorithm that first flags each hex for enemy zoc, then moves out from
> each supply unit looking for units to supply and taking terrain into
> account might seem like ai. But it should conform to definite well
> specified rules would be my main concern. 

Agreed.

>But task/plans/doctrine is fuzzy ai
> behavior, so should not be in the "server".

Yes. Agreed.

> because its "ai" does not necessarily mean it should not be in the
> server. However there are other good reasons why it shouldnt be there.
> But a decent supply algorithm would look a lot like the astar algorithm
> of course.

I would also call your pathfinding code "AI". But I would call it 
"helper AI" rather than "machine player AI".

I've thought more about the supply code and the semantics of 
resupply since I wrote my earlier email to you. I think that I 
would now agree that doing cluster analysis and acting according 
to that would constitute a "helper AI" activity, rather than a 
core activity. I still have a concern that if we end up with an 
architecture where we do have separate client and server 
processes, then having a client's "helper AI for resupply" request 
materials movement by the server/referee could generate lots of 
traffic....

> We are in heated agreement here. 

:-)   Which is a nice change from the battlefield scene that the 
list became in the past few weeks.

>I hope I am not rehashing too much old
> ground.

I don't know. I haven't looked at the list archives in this 
regard. But, I personally think it is good to have this 
discussion, since it seems that we have both the will and the 
ability to act on it quite soon.

> recognise that such separation is a significant effort, so should wait
> for now.

For now. But if you're up to the task in the next release cycle, I 
am definitely willing to help.

  Best regards,
    Eric

  reply	other threads:[~2003-11-26 23:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <l03130300bbe6714d52a1@[212.181.162.155]>
     [not found] ` <20031123101615.GB10513@leonardo>
     [not found]   ` <l03130301bbe7fdde24ca@[212.181.162.155]>
2003-11-25 16:30     ` Peter Garrone
2003-11-26  0:23       ` Eric McDonald
2003-11-26 23:38         ` Peter Garrone
2003-11-29 18:33           ` Eric McDonald [this message]
     [not found]   ` <20031125093515.GA551@leonardo>
2003-11-25 17:05     ` Hans Ronne
2003-12-02 11:20       ` Stan Shebs
2003-12-03 22:03         ` Peter Garrone
2003-12-03 22:24           ` Peter Garrone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.44.0311261807090.10879-100000@leon.phy.cmich.edu \
    --to=mcdonald@phy.cmich.edu \
    --cc=pgarrone@acay.com.au \
    --cc=xconq7@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).