|
|
#21 |
|
Amazing Member
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
|
Wait, I overlooked the "navigation system" part.
Now I think you should take a look a how TomTom works and simply provides smart data to it. TomTom takes care of displaying the points on the maps and optionally display the arrow to help reaching them.
__________________
Author of Squire, Inline Aura and several other addons. If you have a problem and you think the solution involves using a regular expression, then you have two problems. |
|
|
|
|
|
#22 |
|
Wiki Master
Join Date: Feb 2005
Posts: 4,853
|
Yea, you're looking to do EXACTLY what TourGuide does, give the user a route. I still say you just need a tiny chunk of code to send waypoints to TomTom or Carto, that's all.
|
|
|
|
|
|
#23 |
|
Legendary Member
Join Date: May 2006
Location: Arizona
Posts: 3,377
|
Hell make it simpler, make a predefined setup in routes and then make it exportable / importable.
wonder if Xin would be interested in adding that "feature" to Routes properly so that it dosn't have to be hacked togeather.
__________________
Author of GuildCraft, SickOfClickingDailies, and CursorCooldown "I was there in the beginning... and things were very different back then" --An Echo from a time before. |
|
|
|
|
|
#24 |
|
Junior Member
Join Date: Aug 2005
Posts: 63
|
Actually, I'm not sure if either TourGuide or Routes do something I'm Interested in.
Routes (which I use) solves the TSP, which is fine if you want to farm, but has absolutely nothing to do with solving the shortest path problem (which I'am interested in): Usually the shortest path does not contain all nodes. I'm not sure what TourGuide actually does, but I suppose I could use it. However, I am pretty sure that this would not be the intended use. Having to hard depend on an addon which actually has a different purpose does not feel right... |
|
|
|
|
|
#25 |
|
Amazing Member
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
|
TourGuide provides smart questing paths (e.g. in which order to do quest to minimize travelling time). Actually it does not display anything on the map unless you have TomTom or Cartographer installed. In other words, TourGuide just provides map points, and TomTom or Cartographer are used as renderers.
__________________
Author of Squire, Inline Aura and several other addons. If you have a problem and you think the solution involves using a regular expression, then you have two problems. |
|
|
|
|
|
#26 |
|
Junior Member
Join Date: Aug 2005
Posts: 63
|
Yes, I figured that out. I can't use TourGuide for solving the SPP. Ofc, I could create a Tour with the calculated route, and hand it to TourGuide which displays it using Cartographer/TomTom... Well... no.
On the other hand, I could use (assuming Tekkub's permission ofc) TourGuide's code for that. Still not convinced. However, thanks for all your input, I think I will need to experiment a bit with the stuff. |
|
|
|
|
|
#27 |
|
Amazing Member
Join Date: Dec 2006
Location: Lyon, France
Posts: 1,639
|
IIRC, TourGuide does not have any algorithm on its own. The guide database is "hand-optimized".
In short, you should concentrate on making your path and them provides them to TomTom and/or Cartographer. As this is exactly what TourGuide does, you could look at the piece of code doing it.
__________________
Author of Squire, Inline Aura and several other addons. If you have a problem and you think the solution involves using a regular expression, then you have two problems. Last edited by Adirelle; 2 Weeks Ago at 04:58 PM. |
|
|
|
|
|
#28 | |
|
Asian Sheep Lover
Join Date: Aug 2007
Location: Singapore
Posts: 3,418
|
Quote:
You say you want something to calculate the "shortest possible path". What exactly do you mean by that? A) Shortest possible path from point A to point B, passing through other points (given as a graph)? Dij's algorithm solves this easily. B) Shortest possible path from point A to point B along with visiting every other given point in a graph? A slight modification of the Ant-Colony-Optimization algorithm in Routes solves this easily by making the ant travel to point B at the last step instead of returning to the starting point A, and by making the ant start at point A instead of a random point, and by making the ants not consider point B in any part of the route until the last step. You'll notice that (B) is almost TSP, except you don't have to return to your starting point. ----------- Anyway, the algorithm to find the shortest path isn't exactly the topic of this thread, it seems to be that you want to design an interface that all map data addons should subscribe to to provide data, and all map display addons should subscribe to to display said data. Almost LDB, but only specific to map-data. So an addon like Routes would be able to subscribe to it and make routes from such data for display (since it is a display addon). Right now, Routes does hardcode support for each map data source (in the Plugins folder), something you said you want to avoid. I could possibly give you permission to add to Routes addon directly depending on what you are doing and where this thread is headed.
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others. |
|
|
|
|
|
|
#29 | |
|
Asian Sheep Lover
Join Date: Aug 2007
Location: Singapore
Posts: 3,418
|
Quote:
I've also noticed you're almost overtaking me in post-count. :P
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others. |
|
|
|
|
|
|
#30 |
|
Wiki Master
Join Date: Feb 2005
Posts: 4,853
|
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
All times are GMT. The time now is 12:39 AM.
WowAce Forums





