Tmap - Where is the documentation on this?

BlitzMax Forums/BlitzMax Beginners Area/Tmap - Where is the documentation on this?

Glenn Dodd(Posted 2007) [#1]
I can't find much information on TMaps in the docs.
Any idea which section i should be looking at?

Cheers
Glenn


degac(Posted 2007) [#2]
Help/Misc/Maps (if you are using MaxIDE CE)


FlameDuck(Posted 2007) [#3]
And if that fails: http://en.wikipedia.org/wiki/Red-black_tree


amonite(Posted 2007) [#4]
http://en.wikibooks.org/wiki/BlitzMax/Modules/Brl/Map


Glenn Dodd(Posted 2007) [#5]
I am using the default BRL IDE.
There isn't a Help/Misc section.

I will check out the other links later tonight.

Regards
glenn


Brucey(Posted 2007) [#6]
Help -> Maps appears in my IDE...


Glenn Dodd(Posted 2007) [#7]
I have a Help/Modules/Maps but it simply lists the functions. It doesn't tell me anything about what it is for.

Still, i am about to checkout the 2 links above.

Cheers
Glenn


Dreamora(Posted 2007) [#8]
It is for what you use it, similar as lists.

If you don't know whats the use for an O(log(n)) assoziative storage structure is, then you don't need it :)


Glenn Dodd(Posted 2007) [#9]
Well the second link made more sense than the first one, but i still have no idea what they are for.

Because it is called a MAP i think of maps for games and i guess path finding would be possible with it, BUT (and there is always a but) the example use words.

Can i get a few real world usages for TMaps?

Cheers
Glenn


Glenn Dodd(Posted 2007) [#10]
@Dreamora - you may well be right. i might not need it. but i keep seeing people talk about tmaps.
lists i understand. arrays i understand.
some other stuff i understand (lol)
maps - i am still a blank...


Dreamora(Posted 2007) [#11]
TMaps = balanced binary tree
A fast way to store data dictionary like and retrieve it again and that not index based but key based, so theoretically you can put anything in.

They are NOT for tilemaps and the like, map is the computer science name for data structures that map a free choosable key onto a value in some way.


Glenn Dodd(Posted 2007) [#12]
aha, now i understand. that was much simpler than what i had read on the other sites.

Cheers
glenn