Quote: Are you just interested in the shortest number of nodes touched? While not coordinates, that's still a distance metric (all traversals == cost of 1)
Yea, that's exactly what i expect.
@Emargent: thanks for link, will check it out in a minute.
Quote: Are you just interested in the shortest number of nodes touched? While not coordinates, that's still a distance metric (all traversals == cost of 1)
Quote: Original post by travikk
Yes, they don't have any coordinates.
Lol, guys this post is going so fast... ;-)
Quote: Original post by EmergentQuote: Original post by travikk
Yes, they don't have any coordinates.
Lol, guys this post is going so fast... ;-)
You know the old joke about why the multithreaded chicken crossed the road? This thread feels like that...
Quote: Original post by travikkQuote: Original post by EmergentQuote: Original post by travikk
Yes, they don't have any coordinates.
Lol, guys this post is going so fast... ;-)
You know the old joke about why the multithreaded chicken crossed the road? This thread feels like that...
Um, I belive I don't... Enlight me? ;p
As far as I feel - it's good to have such a communicty, where you don't have to wait for a weeks for one single answer, isn't is?
Quote:
Q)Why did the multithreaded chicken cross the road?
A)to To other side. get the
Q)Why did the multithreaded chicken cross the road?
A)other to side. To the get
class Node{ std::vector<Node*> myLinks;};std::vector<Node*> myNodes;
<nodeList> <node name="some name" id="1"> <node name="a node which can be accessed throught node id=1" id="2"> <node name="a node which can be accessed throught node id=2" id="3" /> <node name="a node which can be accessed throught node id=2" id="4" /> <node name="a node which can be accessed throught node id=2" id="5"> <node name="a node which can be accessed throught node id=5" id="6" /> </node> </node> <node name+"... id=1" id="7" /> </node></nodeList>
Quote: Original post by travikk
My graph is illustrated up here:
http://img230.imageshack.us/img230/2171/croppedrj8.gif
Remamber, this is only illustration. Data will be kept in XML file, and will look like post above.
Quote: I've managed to code a function that looks for a route to a nodw from a root.