[Freeciv-Dev] Re: Path-finding in the presence of danger
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Fri, 4 Oct 2002 rf13@xxxxxxxxxxxxxxxxx wrote:
> > We have rather different attitudes to the subject. You seem to prefer to
> > have many call-backs, while I would rather have one which does it all.
> > For this particular proposal,
> > int get_extra(int x, int y, int curent_extra, void *data)
> > provides for the desired freedom.
>
> I removed the extra_cost2 callback because there was no need for
> it. So while I agree with you that this calculation can be made more
> flexible I want to ask: so we know such situations? Is it worth it?
> Adding this extra flexibility is done in some hours. No problem.
I can imagine some situations but you are right, we can add it in a matter
of hours when a need arises.
> The above case can't work since ECOT may only depend on the position.
I am not sure I understand you here. Why ECOT "may only depend on the
position"? Because you postulated so? Don't indulge in solipsism please
:)
> The more I think about it the more I like the slim interface I
> proposed in the mail I answered Ross. Nothing on our code would. We
"Nothing on our code would"?
Please explain.
> would just rip the code of the path_finding.c and move it into
> path_finding_tools.c. So we would get three real layers (algorithm,
> callbacks with the freeciv logic and end-user like AI or agents).
Please elaborate or give a link to your email.
G.
- [Freeciv-Dev] Re: Path-finding in the presence of danger, (continued)
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Raimar Falke, 2002/10/10
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Gregory Berkolaiko, 2002/10/10
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Raimar Falke, 2002/10/10
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Gregory Berkolaiko, 2002/10/11
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Raimar Falke, 2002/10/14
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Gregory Berkolaiko, 2002/10/14
- [Freeciv-Dev] Re: Path-finding in the presence of danger, Raimar Falke, 2002/10/15
[Freeciv-Dev] Re: Path-finding in the presence of danger, rf13, 2002/10/04
Message not available
|
|