Database Reference
In-Depth Information
Figure 8.5. A simple social network graph
Let's implement a traversal to find the solution to the following problem: who of user 1's
(Jane's) direct connections can introduce her to user 5 (Ben)?
The following listing shows the implementation of the required traversal using the
NODE_GLOBAL uniqueness.
 
Search WWH ::




Custom Search