 |
|
heardie
|
|
Do we worry that the distance to the edge of a hex is 1, then the distance to the corner is 1.25
Using Phythagors Therom (wow, a practical use)
1+(.5^2)
1+.25 = 1.25
And also the distance between two sqaures is
SqRoot(((y2-y1)^2)+((x2-x1)^2))
Actually thhinking now that wont work because that doesnt take into account roads, ocean tiles.
But I know there are heaps pf sites out there about this A* Algorithm
|
|
|  |
 |
|  |
 |
|
|
quote:

Originally posted by VetLegion on 02-11-2001 06:10 PM
It seems we have agreed on most important design issues.
 |
Huh? The way I see it, many important design issues haven't even been discovered yet. The Pop model had its fundamental problems solved recently, but its nowhere near being finished from my point of view. And the government model/demo you're working on, do you have any overall designs on what is it exactly that you are doing? I know there is the group nteraction thing, but it is only a part of the model. And it has not been discussed much (though I blame myself for not comign up with good enough criticism ).
I don't think the design process can be devided to different stages so easily: though we have an overview of the project in the form of a design doc, so far all the models are underway (except maybe for the econ model) and I believe that the algorithms will evolve as the need for specific algorithms is discovered. It's an iterative process, and some algorithms are more fundamental than others, meaning that they pop up earlier in the design process. Cerain algorithms may prove out to be computationally unfeasible, and thus force a change in upper level design. That further solidifies my belief that a good, consistent and a complete models should be our primary goal rather than bits and pieces here and there. But I'm old fashioned. 
(Of course, I wouldn't mind reading whatever government/pop algorithms you had been pondering. I just disagree that this is not "stage 2" but rather a first stage of a bottom-up approach. )
Personally, I'm interested in working on the map algorithms (if I ever get the time), but because that's more programming related I'll leave it to the mailing list.
Leland
[This message has been edited by TempLeland (edited February 12, 2001).]
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|