• Welcome to the new COTI server. We've moved the Citizens to a new server. Please let us know in the COTI Website issue forum if you find any problems.

Modeling the communications delay

Have you guys considered the cellular agent model?

note: the following is NOT specifically in any programming language...:but is expressed in C-ish

struct world
{ uInt8 Hex;
connection connectionsPtr;
Datumbitwise;
struct* nextWorldPtr;
}
struct connection
{ world* worldPtr;
connection* nextConnectionPtr;
}
on each pass (8 days, for a basic implementation)
cycle through the worlds, and update by AND method the bitwise list of datums for each connection, using a linked list of connected worlds.

on each world, you cycle through the connections; each connections world object is targeted for a bitwise and operation of the current world's datum list and its extant datum list.

you can then cycle output for listing. Essentially, it bypasses the hex-grid entirely. (A world should have a connection for each world in J2 range, and then any 1 XBoat jump if on an XBoat route...)

Once the dynamic array is established, one can simply reset the bitwise strings to 0 for a new solution. By using long (16,32 or 64bit - varies by platform) ints, one can pack a lot of data.

should be fairly fast for smaller areas, as in domains or less...

My problem is that
A) I'm too lazy to implement it
B) even if I did, I'm way too lazy to dig out all the worlds and create the source data
C) I don't do enough filesystem data work to know how to save the resultant file and reextract it...
 
Hi lazy Aramis !

Thanks for these hints

Well, I wasnt lazy at all.
As I noted in another post, I finally collected all system data I could find and put it together in just one large plain fixed field length textfile, that is easily readable by any spreadsheet program, usable as a text-DB driver source or just as a simple datafile.
(Every line also contains additional information about sector ccordinates, sector name, subsector code and gobal coordinates)
I also finished visualisation of the datafile.

I asked for the status of this project, because I would like to be sure, that it is not done already.

If not, I will proceed in implementing a travel planning algorithm (maybe starting with a simple one, but finally I will try to use the Dijkstra method).

Regards,

Mert
 
Back
Top