Modified: tinkerpop/site/docs/3.3.5/recipes/index.html URL: http://svn.apache.org/viewvc/tinkerpop/site/docs/3.3.5/recipes/index.html?rev=1850356&r1=1850355&r2=1850356&view=diff ============================================================================== --- tinkerpop/site/docs/3.3.5/recipes/index.html (original) +++ tinkerpop/site/docs/3.3.5/recipes/index.html Fri Jan 4 13:27:55 2019 @@ -908,10 +908,10 @@ provide some basic building blocks for v traversal on the paths found between them. Consider the following examples using the modern toy graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460845-1" type="radio" name="radio-set-1546460845-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460845-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460845-2" type="radio" name="radio-set-1546460845-1" class="tab-selector-2" /> - <label for="tab-1546460845-2" class="tab-label-2">groovy</label> + <input id="tab-1546606863-1" type="radio" name="radio-set-1546606863-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606863-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606863-2" type="radio" name="radio-set-1546606863-1" class="tab-selector-2" /> + <label for="tab-1546606863-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -986,10 +986,10 @@ scenarios. For one such example, conside vertices:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460845-3" type="radio" name="radio-set-1546460845-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460845-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460845-4" type="radio" name="radio-set-1546460845-3" class="tab-selector-2" /> - <label for="tab-1546460845-4" class="tab-label-2">groovy</label> + <input id="tab-1546606863-3" type="radio" name="radio-set-1546606863-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606863-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606863-4" type="radio" name="radio-set-1546606863-3" class="tab-selector-2" /> + <label for="tab-1546606863-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1038,10 +1038,10 @@ to extract the known job, the company th the known person completed an application.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460845-5" type="radio" name="radio-set-1546460845-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460845-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460845-6" type="radio" name="radio-set-1546460845-5" class="tab-selector-2" /> - <label for="tab-1546460845-6" class="tab-label-2">groovy</label> + <input id="tab-1546606863-5" type="radio" name="radio-set-1546606863-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606863-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606863-6" type="radio" name="radio-set-1546606863-5" class="tab-selector-2" /> + <label for="tab-1546606863-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1177,10 +1177,10 @@ demonstrate how some of these different edges associated to each vertex. The following examples use the modern toy graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460885-1" type="radio" name="radio-set-1546460885-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460885-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460885-2" type="radio" name="radio-set-1546460885-1" class="tab-selector-2" /> - <label for="tab-1546460885-2" class="tab-label-2">groovy</label> + <input id="tab-1546606901-1" type="radio" name="radio-set-1546606901-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606901-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606901-2" type="radio" name="radio-set-1546606901-1" class="tab-selector-2" /> + <label for="tab-1546606901-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1275,10 +1275,10 @@ graph for demonstration purposes:</p> <p><span class="image"><img src="../images/betweeness-example.png" alt="betweeness example" width="600"></span></p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460885-3" type="radio" name="radio-set-1546460885-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460885-3" class="tab-label-1">console (groovy )</label> - <input id="tab-1546460885-4" type="radio" name="radio-set-1546460885-3" class="tab-selector-2" /> - <label for="tab-1546460885-4" class="tab-label-2">groovy </label> + <input id="tab-1546606901-3" type="radio" name="radio-set-1546606901-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606901-3" class="tab-label-1">console (groovy )</label> + <input id="tab-1546606901-4" type="radio" name="radio-set-1546606901-3" class="tab-selector-2" /> + <label for="tab-1546606901-4" class="tab-label-2">groovy </label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1406,10 +1406,10 @@ pairs). other reachable vertices in the graph. The following examples use the modern toy graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460885-5" type="radio" name="radio-set-1546460885-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460885-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460885-6" type="radio" name="radio-set-1546460885-5" class="tab-selector-2" /> - <label for="tab-1546460885-6" class="tab-label-2">groovy</label> + <input id="tab-1546606901-5" type="radio" name="radio-set-1546606901-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606901-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606901-6" type="radio" name="radio-set-1546606901-5" class="tab-selector-2" /> + <label for="tab-1546606901-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1515,10 +1515,10 @@ relative importance of adjacent vertices give it the highest rank. Consider the following example using the Grateful Dead graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460885-7" type="radio" name="radio-set-1546460885-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460885-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460885-8" type="radio" name="radio-set-1546460885-7" class="tab-selector-2" /> - <label for="tab-1546460885-8" class="tab-label-2">groovy</label> + <input id="tab-1546606901-7" type="radio" name="radio-set-1546606901-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606901-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606901-8" type="radio" name="radio-set-1546606901-7" class="tab-selector-2" /> + <label for="tab-1546606901-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1625,10 +1625,10 @@ patterns described in this section.</p> appear by way of some side-effect steps like <code>store()</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-1" type="radio" name="radio-set-1546460938-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-2" type="radio" name="radio-set-1546460938-1" class="tab-selector-2" /> - <label for="tab-1546460938-2" class="tab-label-2">groovy</label> + <input id="tab-1546606949-1" type="radio" name="radio-set-1546606949-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-2" type="radio" name="radio-set-1546606949-1" class="tab-selector-2" /> + <label for="tab-1546606949-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1657,10 +1657,10 @@ g.V().store(<span class="string"><span c similar fashion to lists:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-3" type="radio" name="radio-set-1546460938-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-4" type="radio" name="radio-set-1546460938-3" class="tab-selector-2" /> - <label for="tab-1546460938-4" class="tab-label-2">groovy</label> + <input id="tab-1546606949-3" type="radio" name="radio-set-1546606949-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-4" type="radio" name="radio-set-1546606949-3" class="tab-selector-2" /> + <label for="tab-1546606949-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1693,10 +1693,10 @@ means than what is demonstrated.</p> <p>It may seem simple, but the most obvious choice to modifying what is in a list is to simply <code>unfold()</code> the <code>List</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-5" type="radio" name="radio-set-1546460938-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-6" type="radio" name="radio-set-1546460938-5" class="tab-selector-2" /> - <label for="tab-1546460938-6" class="tab-label-2">groovy</label> + <input id="tab-1546606949-5" type="radio" name="radio-set-1546606949-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-6" type="radio" name="radio-set-1546606949-5" class="tab-selector-2" /> + <label for="tab-1546606949-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1736,10 +1736,10 @@ traverser as it just flattens <code>List result, but consider what happens when there is more than one:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-7" type="radio" name="radio-set-1546460938-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-8" type="radio" name="radio-set-1546460938-7" class="tab-selector-2" /> - <label for="tab-1546460938-8" class="tab-label-2">groovy</label> + <input id="tab-1546606949-7" type="radio" name="radio-set-1546606949-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-8" type="radio" name="radio-set-1546606949-7" class="tab-selector-2" /> + <label for="tab-1546606949-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1781,10 +1781,10 @@ While this approach may be acceptable, t structure of the <code>List</code> traversers "locally" <code>unfold()</code> the lists to transform them:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-9" type="radio" name="radio-set-1546460938-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-10" type="radio" name="radio-set-1546460938-9" class="tab-selector-2" /> - <label for="tab-1546460938-10" class="tab-label-2">groovy</label> + <input id="tab-1546606949-9" type="radio" name="radio-set-1546606949-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-10" type="radio" name="radio-set-1546606949-9" class="tab-selector-2" /> + <label for="tab-1546606949-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1819,10 +1819,10 @@ thus maintaining two traverser results.< <p>This pattern for unfolding and folding <code>List</code> traversers ends up having other applications:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-11" type="radio" name="radio-set-1546460938-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-12" type="radio" name="radio-set-1546460938-11" class="tab-selector-2" /> - <label for="tab-1546460938-12" class="tab-label-2">groovy</label> + <input id="tab-1546606949-11" type="radio" name="radio-set-1546606949-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-12" type="radio" name="radio-set-1546606949-11" class="tab-selector-2" /> + <label for="tab-1546606949-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1900,10 +1900,10 @@ especially in cases where the expected o form of a <code>List</code>. For example, consider the following three traversals:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-13" type="radio" name="radio-set-1546460938-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-14" type="radio" name="radio-set-1546460938-13" class="tab-selector-2" /> - <label for="tab-1546460938-14" class="tab-label-2">groovy</label> + <input id="tab-1546606949-13" type="radio" name="radio-set-1546606949-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-14" type="radio" name="radio-set-1546606949-13" class="tab-selector-2" /> + <label for="tab-1546606949-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -1984,10 +1984,10 @@ three results (i.e. triple) that could t the use of <code>store()</code> to aid in construction of this <code>List</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-15" type="radio" name="radio-set-1546460938-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-16" type="radio" name="radio-set-1546460938-15" class="tab-selector-2" /> - <label for="tab-1546460938-16" class="tab-label-2">groovy</label> + <input id="tab-1546606949-15" type="radio" name="radio-set-1546606949-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-16" type="radio" name="radio-set-1546606949-15" class="tab-selector-2" /> + <label for="tab-1546606949-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2098,10 +2098,10 @@ means that each traverser can effectivel vertices each:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-17" type="radio" name="radio-set-1546460938-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-18" type="radio" name="radio-set-1546460938-17" class="tab-selector-2" /> - <label for="tab-1546460938-18" class="tab-label-2">groovy</label> + <input id="tab-1546606949-17" type="radio" name="radio-set-1546606949-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-18" type="radio" name="radio-set-1546606949-17" class="tab-selector-2" /> + <label for="tab-1546606949-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2128,10 +2128,10 @@ vertices each:</p> results.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-19" type="radio" name="radio-set-1546460938-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-20" type="radio" name="radio-set-1546460938-19" class="tab-selector-2" /> - <label for="tab-1546460938-20" class="tab-label-2">groovy</label> + <input id="tab-1546606949-19" type="radio" name="radio-set-1546606949-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-20" type="radio" name="radio-set-1546606949-19" class="tab-selector-2" /> + <label for="tab-1546606949-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2198,10 +2198,10 @@ the stream from <code>union()</code> to to end up with a <code>Map</code> is with <code>valueMap()</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-21" type="radio" name="radio-set-1546460938-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-22" type="radio" name="radio-set-1546460938-21" class="tab-selector-2" /> - <label for="tab-1546460938-22" class="tab-label-2">groovy</label> + <input id="tab-1546606949-21" type="radio" name="radio-set-1546606949-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-22" type="radio" name="radio-set-1546606949-21" class="tab-selector-2" /> + <label for="tab-1546606949-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2228,10 +2228,10 @@ property stored as a <code>List</code>. by avoiding use of <code>valueMap()</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-23" type="radio" name="radio-set-1546460938-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-24" type="radio" name="radio-set-1546460938-23" class="tab-selector-2" /> - <label for="tab-1546460938-24" class="tab-label-2">groovy</label> + <input id="tab-1546606949-23" type="radio" name="radio-set-1546606949-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-24" type="radio" name="radio-set-1546606949-23" class="tab-selector-2" /> + <label for="tab-1546606949-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2261,10 +2261,10 @@ by avoiding use of <code>valueMap()</cod generally applicable to processing any <code>Map</code> instances with any sorts of values:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-25" type="radio" name="radio-set-1546460938-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-26" type="radio" name="radio-set-1546460938-25" class="tab-selector-2" /> - <label for="tab-1546460938-26" class="tab-label-2">groovy</label> + <input id="tab-1546606949-25" type="radio" name="radio-set-1546606949-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-26" type="radio" name="radio-set-1546606949-25" class="tab-selector-2" /> + <label for="tab-1546606949-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2314,10 +2314,10 @@ desired output before taking this approa unavoidable extraneous keys in the output <code>Map</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-27" type="radio" name="radio-set-1546460938-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-28" type="radio" name="radio-set-1546460938-27" class="tab-selector-2" /> - <label for="tab-1546460938-28" class="tab-label-2">groovy</label> + <input id="tab-1546606949-27" type="radio" name="radio-set-1546606949-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-28" type="radio" name="radio-set-1546606949-27" class="tab-selector-2" /> + <label for="tab-1546606949-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2357,10 +2357,10 @@ every single vertex in the traversal str supplied. While this may be an acceptable output, it is possible to shape the <code>Map</code> to be "nicer":</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-29" type="radio" name="radio-set-1546460938-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-30" type="radio" name="radio-set-1546460938-29" class="tab-selector-2" /> - <label for="tab-1546460938-30" class="tab-label-2">groovy</label> + <input id="tab-1546606949-29" type="radio" name="radio-set-1546606949-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-30" type="radio" name="radio-set-1546606949-29" class="tab-selector-2" /> + <label for="tab-1546606949-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2410,10 +2410,10 @@ prior to reconstructing the <code>Map</c earlier to flatten <code>List</code> values within a <code>Map</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-31" type="radio" name="radio-set-1546460938-31" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-31" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-32" type="radio" name="radio-set-1546460938-31" class="tab-selector-2" /> - <label for="tab-1546460938-32" class="tab-label-2">groovy</label> + <input id="tab-1546606949-31" type="radio" name="radio-set-1546606949-31" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-31" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-32" type="radio" name="radio-set-1546606949-31" class="tab-selector-2" /> + <label for="tab-1546606949-32" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2463,10 +2463,10 @@ here involves the use of a <code>union() reconstructed as a new <code>Map</code> that has been merged together:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546460938-33" type="radio" name="radio-set-1546460938-33" class="tab-selector-1" checked="checked" /> - <label for="tab-1546460938-33" class="tab-label-1">console (groovy)</label> - <input id="tab-1546460938-34" type="radio" name="radio-set-1546460938-33" class="tab-selector-2" /> - <label for="tab-1546460938-34" class="tab-label-2">groovy</label> + <input id="tab-1546606949-33" type="radio" name="radio-set-1546606949-33" class="tab-selector-1" checked="checked" /> + <label for="tab-1546606949-33" class="tab-label-1">console (groovy)</label> + <input id="tab-1546606949-34" type="radio" name="radio-set-1546606949-33" class="tab-selector-2" /> + <label for="tab-1546606949-34" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2536,10 +2536,10 @@ in a graph. Consider the following graph <p><span class="image"><img src="../images/connected-components.png" alt="connected components" width="600"></span></p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461067-1" type="radio" name="radio-set-1546461067-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461067-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461067-2" type="radio" name="radio-set-1546461067-1" class="tab-selector-2" /> - <label for="tab-1546461067-2" class="tab-label-2">groovy</label> + <input id="tab-1546607083-1" type="radio" name="radio-set-1546607083-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607083-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607083-2" type="radio" name="radio-set-1546607083-1" class="tab-selector-2" /> + <label for="tab-1546607083-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2579,10 +2579,10 @@ in a graph. Consider the following graph <p>One way to detect the various subgraphs would be to do something like this:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461067-3" type="radio" name="radio-set-1546461067-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461067-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461067-4" type="radio" name="radio-set-1546461067-3" class="tab-selector-2" /> - <label for="tab-1546461067-4" class="tab-label-2">groovy</label> + <input id="tab-1546607083-3" type="radio" name="radio-set-1546607083-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607083-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607083-4" type="radio" name="radio-set-1546607083-3" class="tab-selector-2" /> + <label for="tab-1546607083-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2675,10 +2675,10 @@ depicted below Gremlin could be use to d <p><span class="image"><img src="../images/graph-cycle.png" alt="graph cycle" width="250"></span></p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461095-1" type="radio" name="radio-set-1546461095-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461095-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461095-2" type="radio" name="radio-set-1546461095-1" class="tab-selector-2" /> - <label for="tab-1546461095-2" class="tab-label-2">groovy</label> + <input id="tab-1546607109-1" type="radio" name="radio-set-1546607109-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607109-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607109-2" type="radio" name="radio-set-1546607109-1" class="tab-selector-2" /> + <label for="tab-1546607109-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2752,10 +2752,10 @@ It also respected the directionality of themselves). To do so, you would need to <code>.emit()</code> a Traverser before the repeat()-loop.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461095-3" type="radio" name="radio-set-1546461095-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461095-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461095-4" type="radio" name="radio-set-1546461095-3" class="tab-selector-2" /> - <label for="tab-1546461095-4" class="tab-label-2">groovy</label> + <input id="tab-1546607109-3" type="radio" name="radio-set-1546607109-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607109-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607109-4" type="radio" name="radio-set-1546607109-3" class="tab-selector-2" /> + <label for="tab-1546607109-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2818,10 +2818,10 @@ g.V().as(<span class="string"><span clas outgoing edges, in the modern graph?</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461095-5" type="radio" name="radio-set-1546461095-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461095-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461095-6" type="radio" name="radio-set-1546461095-5" class="tab-selector-2" /> - <label for="tab-1546461095-6" class="tab-label-2">groovy</label> + <input id="tab-1546607109-5" type="radio" name="radio-set-1546607109-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607109-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607109-6" type="radio" name="radio-set-1546607109-5" class="tab-selector-2" /> + <label for="tab-1546607109-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2859,10 +2859,10 @@ that happens to have an eighth bridge (t <p>Gremlin can detect if such a cycle exists with:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461095-7" type="radio" name="radio-set-1546461095-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461095-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461095-8" type="radio" name="radio-set-1546461095-7" class="tab-selector-2" /> - <label for="tab-1546461095-8" class="tab-label-2">groovy</label> + <input id="tab-1546607109-7" type="radio" name="radio-set-1546607109-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607109-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607109-8" type="radio" name="radio-set-1546607109-7" class="tab-selector-2" /> + <label for="tab-1546607109-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2958,10 +2958,10 @@ label and direction will be considered " that is duplicative of the "created" edge between vertex "1" and "3".</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-1" type="radio" name="radio-set-1546461139-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-2" type="radio" name="radio-set-1546461139-1" class="tab-selector-2" /> - <label for="tab-1546461139-2" class="tab-label-2">groovy</label> + <input id="tab-1546607149-1" type="radio" name="radio-set-1546607149-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-2" type="radio" name="radio-set-1546607149-1" class="tab-selector-2" /> + <label for="tab-1546607149-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -2989,10 +2989,10 @@ g.V(<span class="integer">1</span>).outE <p>One way to find the duplicate edges would be to do something like this:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-3" type="radio" name="radio-set-1546461139-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-4" type="radio" name="radio-set-1546461139-3" class="tab-selector-2" /> - <label for="tab-1546461139-4" class="tab-label-2">groovy</label> + <input id="tab-1546607149-3" type="radio" name="radio-set-1546607149-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-4" type="radio" name="radio-set-1546607149-3" class="tab-selector-2" /> + <label for="tab-1546607149-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3055,10 +3055,10 @@ contain duplicate.</p> that uses less memory might look like this:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-5" type="radio" name="radio-set-1546461139-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-6" type="radio" name="radio-set-1546461139-5" class="tab-selector-2" /> - <label for="tab-1546461139-6" class="tab-label-2">groovy</label> + <input id="tab-1546607149-5" type="radio" name="radio-set-1546607149-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-6" type="radio" name="radio-set-1546607149-5" class="tab-selector-2" /> + <label for="tab-1546607149-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3127,10 +3127,10 @@ value.</p> <p>Note that the above traversal could also be written using <code>match</code> step:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-7" type="radio" name="radio-set-1546461139-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-8" type="radio" name="radio-set-1546461139-7" class="tab-selector-2" /> - <label for="tab-1546461139-8" class="tab-label-2">groovy</label> + <input id="tab-1546607149-7" type="radio" name="radio-set-1546607149-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-8" type="radio" name="radio-set-1546607149-7" class="tab-selector-2" /> + <label for="tab-1546607149-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3179,10 +3179,10 @@ The previous examples invoke traversal s as a performance optimization.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-9" type="radio" name="radio-set-1546461139-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-10" type="radio" name="radio-set-1546461139-9" class="tab-selector-2" /> - <label for="tab-1546461139-10" class="tab-label-2">groovy</label> + <input id="tab-1546607149-9" type="radio" name="radio-set-1546607149-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-10" type="radio" name="radio-set-1546607149-9" class="tab-selector-2" /> + <label for="tab-1546607149-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3238,10 +3238,10 @@ example, a "duplicate" definition could demonstration, an additional edge is added to the "modern" graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461139-11" type="radio" name="radio-set-1546461139-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461139-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461139-12" type="radio" name="radio-set-1546461139-11" class="tab-selector-2" /> - <label for="tab-1546461139-12" class="tab-label-2">groovy</label> + <input id="tab-1546607149-11" type="radio" name="radio-set-1546607149-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607149-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607149-12" type="radio" name="radio-set-1546607149-11" class="tab-selector-2" /> + <label for="tab-1546607149-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3285,10 +3285,10 @@ group for duplicates.</p> <p>Consider the following example with some duplicate vertices added to the "modern" graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461190-1" type="radio" name="radio-set-1546461190-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461190-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461190-2" type="radio" name="radio-set-1546461190-1" class="tab-selector-2" /> - <label for="tab-1546461190-2" class="tab-label-2">groovy</label> + <input id="tab-1546607205-1" type="radio" name="radio-set-1546607205-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607205-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607205-2" type="radio" name="radio-set-1546607205-1" class="tab-selector-2" /> + <label for="tab-1546607205-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3334,10 +3334,10 @@ the <code>Map</code> provided by the <co match the feature. To extract just those vertices that contain duplicates an additional filter can be added:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461190-3" type="radio" name="radio-set-1546461190-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461190-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461190-4" type="radio" name="radio-set-1546461190-3" class="tab-selector-2" /> - <label for="tab-1546461190-4" class="tab-label-2">groovy</label> + <input id="tab-1546607205-3" type="radio" name="radio-set-1546607205-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607205-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607205-4" type="radio" name="radio-set-1546607205-3" class="tab-selector-2" /> + <label for="tab-1546607205-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3386,10 +3386,10 @@ be created with the same properties and follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461216-1" type="radio" name="radio-set-1546461216-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461216-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461216-2" type="radio" name="radio-set-1546461216-1" class="tab-selector-2" /> - <label for="tab-1546461216-2" class="tab-label-2">groovy</label> + <input id="tab-1546607232-1" type="radio" name="radio-set-1546607232-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607232-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607232-2" type="radio" name="radio-set-1546607232-1" class="tab-selector-2" /> + <label for="tab-1546607232-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3421,10 +3421,10 @@ follows:</p> the "peter" vertex in a single traversal:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461216-3" type="radio" name="radio-set-1546461216-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461216-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461216-4" type="radio" name="radio-set-1546461216-3" class="tab-selector-2" /> - <label for="tab-1546461216-4" class="tab-label-2">groovy</label> + <input id="tab-1546607232-3" type="radio" name="radio-set-1546607232-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607232-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607232-4" type="radio" name="radio-set-1546607232-3" class="tab-selector-2" /> + <label for="tab-1546607232-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3495,10 +3495,10 @@ properties to transfer to the new "moved <p>Checking for whether or not a graph element is present in the graph is simple:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461243-1" type="radio" name="radio-set-1546461243-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461243-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461243-2" type="radio" name="radio-set-1546461243-1" class="tab-selector-2" /> - <label for="tab-1546461243-2" class="tab-label-2">groovy</label> + <input id="tab-1546607257-1" type="radio" name="radio-set-1546607257-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607257-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607257-2" type="radio" name="radio-set-1546607257-1" class="tab-selector-2" /> + <label for="tab-1546607257-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3529,10 +3529,10 @@ determine whether or not to add a new ve entire operation can occur in a single traversal.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461243-3" type="radio" name="radio-set-1546461243-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461243-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461243-4" type="radio" name="radio-set-1546461243-3" class="tab-selector-2" /> - <label for="tab-1546461243-4" class="tab-label-2">groovy</label> + <input id="tab-1546607257-3" type="radio" name="radio-set-1546607257-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607257-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607257-4" type="radio" name="radio-set-1546607257-3" class="tab-selector-2" /> + <label for="tab-1546607257-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3587,10 +3587,10 @@ then the vertex does not exist and it is <p>This "get or create" logic can be expanded to be "upsert" like functionality as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461243-5" type="radio" name="radio-set-1546461243-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461243-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461243-6" type="radio" name="radio-set-1546461243-5" class="tab-selector-2" /> - <label for="tab-1546461243-6" class="tab-label-2">groovy</label> + <input id="tab-1546607257-5" type="radio" name="radio-set-1546607257-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607257-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607257-6" type="radio" name="radio-set-1546607257-5" class="tab-selector-2" /> + <label for="tab-1546607257-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3652,10 +3652,10 @@ execution. <p>It is possible to do similar sorts of operations with edges using the same pattern:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461243-7" type="radio" name="radio-set-1546461243-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461243-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461243-8" type="radio" name="radio-set-1546461243-7" class="tab-selector-2" /> - <label for="tab-1546461243-8" class="tab-label-2">groovy</label> + <input id="tab-1546607257-7" type="radio" name="radio-set-1546607257-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607257-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607257-8" type="radio" name="radio-set-1546607257-7" class="tab-selector-2" /> + <label for="tab-1546607257-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3696,10 +3696,10 @@ found between these two vertices, then i <p>Consider the following traversal over the "modern" toy graph:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461283-1" type="radio" name="radio-set-1546461283-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461283-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461283-2" type="radio" name="radio-set-1546461283-1" class="tab-selector-2" /> - <label for="tab-1546461283-2" class="tab-label-2">groovy</label> + <input id="tab-1546607293-1" type="radio" name="radio-set-1546607293-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607293-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607293-2" type="radio" name="radio-set-1546607293-1" class="tab-selector-2" /> + <label for="tab-1546607293-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3727,10 +3727,10 @@ different picture of the result. For exa a domain concept such as "young", "old" and "very old".</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461283-3" type="radio" name="radio-set-1546461283-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461283-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461283-4" type="radio" name="radio-set-1546461283-3" class="tab-selector-2" /> - <label for="tab-1546461283-4" class="tab-label-2">groovy</label> + <input id="tab-1546607293-3" type="radio" name="radio-set-1546607293-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607293-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607293-4" type="radio" name="radio-set-1546607293-3" class="tab-selector-2" /> + <label for="tab-1546607293-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3782,10 +3782,10 @@ like the following in Java:</p> there is another option to consider with <code>coalesce</code>:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461283-5" type="radio" name="radio-set-1546461283-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461283-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461283-6" type="radio" name="radio-set-1546461283-5" class="tab-selector-2" /> - <label for="tab-1546461283-6" class="tab-label-2">groovy</label> + <input id="tab-1546607293-5" type="radio" name="radio-set-1546607293-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607293-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607293-6" type="radio" name="radio-set-1546607293-5" class="tab-selector-2" /> + <label for="tab-1546607293-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3834,10 +3834,10 @@ second ten records and so on, until pote <p>In Gremlin, a basic approach to paging would look something like the following:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461319-1" type="radio" name="radio-set-1546461319-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461319-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461319-2" type="radio" name="radio-set-1546461319-1" class="tab-selector-2" /> - <label for="tab-1546461319-2" class="tab-label-2">groovy</label> + <input id="tab-1546607323-1" type="radio" name="radio-set-1546607323-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607323-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607323-2" type="radio" name="radio-set-1546607323-1" class="tab-selector-2" /> + <label for="tab-1546607323-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3903,10 +3903,10 @@ to getting a total count without doing a removed then the traversals become more simple:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461319-3" type="radio" name="radio-set-1546461319-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461319-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461319-4" type="radio" name="radio-set-1546461319-3" class="tab-selector-2" /> - <label for="tab-1546461319-4" class="tab-label-2">groovy</label> + <input id="tab-1546607323-3" type="radio" name="radio-set-1546607323-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607323-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607323-4" type="radio" name="radio-set-1546607323-3" class="tab-selector-2" /> + <label for="tab-1546607323-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -3956,10 +3956,10 @@ second traversal, the graph will still r <p>The only way to completely avoid that problem is to re-use the same traversal instance:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461319-5" type="radio" name="radio-set-1546461319-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461319-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461319-6" type="radio" name="radio-set-1546461319-5" class="tab-selector-2" /> - <label for="tab-1546461319-6" class="tab-label-2">groovy</label> + <input id="tab-1546607323-5" type="radio" name="radio-set-1546607323-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607323-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607323-6" type="radio" name="radio-set-1546607323-5" class="tab-selector-2" /> + <label for="tab-1546607323-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4023,10 +4023,10 @@ specific person as to what their opinion following script generates some data for the graph using that basic schema:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-1" type="radio" name="radio-set-1546461359-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-2" type="radio" name="radio-set-1546461359-1" class="tab-selector-2" /> - <label for="tab-1546461359-2" class="tab-label-2">groovy</label> + <input id="tab-1546607356-1" type="radio" name="radio-set-1546607356-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-2" type="radio" name="radio-set-1546607356-1" class="tab-selector-2" /> + <label for="tab-1546607356-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4104,10 +4104,10 @@ gremlin> <span class="integer">2</spa <p>The first step to making a recommendation to "alice" using collaborative filtering is to understand what she bought:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-3" type="radio" name="radio-set-1546461359-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-4" type="radio" name="radio-set-1546461359-3" class="tab-selector-2" /> - <label for="tab-1546461359-4" class="tab-label-2">groovy</label> + <input id="tab-1546607356-3" type="radio" name="radio-set-1546607356-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-4" type="radio" name="radio-set-1546607356-3" class="tab-selector-2" /> + <label for="tab-1546607356-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4144,10 +4144,10 @@ focus on the neighborhood around that pr <p>The next step is to determine who else purchased those products:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-5" type="radio" name="radio-set-1546461359-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-6" type="radio" name="radio-set-1546461359-5" class="tab-selector-2" /> - <label for="tab-1546461359-6" class="tab-label-2">groovy</label> + <input id="tab-1546607356-5" type="radio" name="radio-set-1546607356-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-6" type="radio" name="radio-set-1546607356-5" class="tab-selector-2" /> + <label for="tab-1546607356-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4177,10 +4177,10 @@ focus on the neighborhood around that pr interest is in what individuals other than herself purchased:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-7" type="radio" name="radio-set-1546461359-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-8" type="radio" name="radio-set-1546461359-7" class="tab-selector-2" /> - <label for="tab-1546461359-8" class="tab-label-2">groovy</label> + <input id="tab-1546607356-7" type="radio" name="radio-set-1546607356-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-8" type="radio" name="radio-set-1546607356-7" class="tab-selector-2" /> + <label for="tab-1546607356-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4221,10 +4221,10 @@ interest is in what individuals other th they bought:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-9" type="radio" name="radio-set-1546461359-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-10" type="radio" name="radio-set-1546461359-9" class="tab-selector-2" /> - <label for="tab-1546461359-10" class="tab-label-2">groovy</label> + <input id="tab-1546607356-9" type="radio" name="radio-set-1546607356-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-10" type="radio" name="radio-set-1546607356-9" class="tab-selector-2" /> + <label for="tab-1546607356-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4271,10 +4271,10 @@ already purchased some of these products that she already owns. Those products she already purchased can be excluded as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-11" type="radio" name="radio-set-1546461359-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-12" type="radio" name="radio-set-1546461359-11" class="tab-selector-2" /> - <label for="tab-1546461359-12" class="tab-label-2">groovy</label> + <input id="tab-1546607356-11" type="radio" name="radio-set-1546607356-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-12" type="radio" name="radio-set-1546607356-11" class="tab-selector-2" /> + <label for="tab-1546607356-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4315,10 +4315,10 @@ that she already owns. Those products sh purposes) to form a ranking:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-13" type="radio" name="radio-set-1546461359-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-14" type="radio" name="radio-set-1546461359-13" class="tab-selector-2" /> - <label for="tab-1546461359-14" class="tab-label-2">groovy</label> + <input id="tab-1546607356-13" type="radio" name="radio-set-1546607356-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-14" type="radio" name="radio-set-1546607356-13" class="tab-selector-2" /> + <label for="tab-1546607356-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4381,10 +4381,10 @@ vertices that make up the recommendation who have at least one product in common:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-15" type="radio" name="radio-set-1546461359-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-16" type="radio" name="radio-set-1546461359-15" class="tab-selector-2" /> - <label for="tab-1546461359-16" class="tab-label-2">groovy</label> + <input id="tab-1546607356-15" type="radio" name="radio-set-1546607356-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-16" type="radio" name="radio-set-1546607356-15" class="tab-selector-2" /> + <label for="tab-1546607356-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4416,10 +4416,10 @@ who have at least one product in common: <p>Next, do some grouping to find count how many products they have in common:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-17" type="radio" name="radio-set-1546461359-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-18" type="radio" name="radio-set-1546461359-17" class="tab-selector-2" /> - <label for="tab-1546461359-18" class="tab-label-2">groovy</label> + <input id="tab-1546607356-17" type="radio" name="radio-set-1546607356-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-18" type="radio" name="radio-set-1546607356-17" class="tab-selector-2" /> + <label for="tab-1546607356-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4455,10 +4455,10 @@ who have at least one product in common: that maximum:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-19" type="radio" name="radio-set-1546461359-19" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-19" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-20" type="radio" name="radio-set-1546461359-19" class="tab-selector-2" /> - <label for="tab-1546461359-20" class="tab-label-2">groovy</label> + <input id="tab-1546607356-19" type="radio" name="radio-set-1546607356-19" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-19" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-20" type="radio" name="radio-set-1546607356-19" class="tab-selector-2" /> + <label for="tab-1546607356-20" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4500,10 +4500,10 @@ that maximum:</p> common:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-21" type="radio" name="radio-set-1546461359-21" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-21" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-22" type="radio" name="radio-set-1546461359-21" class="tab-selector-2" /> - <label for="tab-1546461359-22" class="tab-label-2">groovy</label> + <input id="tab-1546607356-21" type="radio" name="radio-set-1546607356-21" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-21" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-22" type="radio" name="radio-set-1546607356-21" class="tab-selector-2" /> + <label for="tab-1546607356-22" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4550,10 +4550,10 @@ common:</p> purchased:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-23" type="radio" name="radio-set-1546461359-23" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-23" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-24" type="radio" name="radio-set-1546461359-23" class="tab-selector-2" /> - <label for="tab-1546461359-24" class="tab-label-2">groovy</label> + <input id="tab-1546607356-23" type="radio" name="radio-set-1546607356-23" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-23" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-24" type="radio" name="radio-set-1546607356-23" class="tab-selector-2" /> + <label for="tab-1546607356-24" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4603,10 +4603,10 @@ purchased:</p> <p>The above output shows that one product is held in common making it the top recommendation:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-25" type="radio" name="radio-set-1546461359-25" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-25" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-26" type="radio" name="radio-set-1546461359-25" class="tab-selector-2" /> - <label for="tab-1546461359-26" class="tab-label-2">groovy</label> + <input id="tab-1546607356-25" type="radio" name="radio-set-1546607356-25" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-25" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-26" type="radio" name="radio-set-1546607356-25" class="tab-selector-2" /> + <label for="tab-1546607356-26" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4666,10 +4666,10 @@ purchased:</p> recommendation algorithm:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-27" type="radio" name="radio-set-1546461359-27" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-27" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-28" type="radio" name="radio-set-1546461359-27" class="tab-selector-2" /> - <label for="tab-1546461359-28" class="tab-label-2">groovy</label> + <input id="tab-1546607356-27" type="radio" name="radio-set-1546607356-27" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-27" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-28" type="radio" name="radio-set-1546607356-27" class="tab-selector-2" /> + <label for="tab-1546607356-28" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4716,10 +4716,10 @@ place additional limits on the traversal traversal sample the data for no longer than one second, the previous "basic" recommendation could be changed to:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461359-29" type="radio" name="radio-set-1546461359-29" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461359-29" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461359-30" type="radio" name="radio-set-1546461359-29" class="tab-selector-2" /> - <label for="tab-1546461359-30" class="tab-label-2">groovy</label> + <input id="tab-1546607356-29" type="radio" name="radio-set-1546607356-29" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607356-29" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607356-30" type="radio" name="radio-set-1546607356-29" class="tab-selector-2" /> + <label for="tab-1546607356-30" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4773,10 +4773,10 @@ achieve the desired outcome.</p> is a simple example that identifies the shortest path between vertex "1" and vertex "5" while traversing over out edges:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461474-1" type="radio" name="radio-set-1546461474-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461474-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461474-2" type="radio" name="radio-set-1546461474-1" class="tab-selector-2" /> - <label for="tab-1546461474-2" class="tab-label-2">groovy</label> + <input id="tab-1546607461-1" type="radio" name="radio-set-1546607461-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607461-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607461-2" type="radio" name="radio-set-1546607461-1" class="tab-selector-2" /> + <label for="tab-1546607461-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4850,10 +4850,10 @@ be measured by data within the graph its but includes a "weight" on the edges, that will be used to help determine the "cost" of a particular path:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461474-3" type="radio" name="radio-set-1546461474-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461474-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461474-4" type="radio" name="radio-set-1546461474-3" class="tab-selector-2" /> - <label for="tab-1546461474-4" class="tab-label-2">groovy</label> + <input id="tab-1546607461-3" type="radio" name="radio-set-1546607461-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607461-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607461-4" type="radio" name="radio-set-1546607461-3" class="tab-selector-2" /> + <label for="tab-1546607461-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -4956,10 +4956,10 @@ structure.</p> in the modern toy graph.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461474-5" type="radio" name="radio-set-1546461474-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461474-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461474-6" type="radio" name="radio-set-1546461474-5" class="tab-selector-2" /> - <label for="tab-1546461474-6" class="tab-label-2">groovy</label> + <input id="tab-1546607461-5" type="radio" name="radio-set-1546607461-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607461-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607461-6" type="radio" name="radio-set-1546607461-5" class="tab-selector-2" /> + <label for="tab-1546607461-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5080,10 +5080,10 @@ in the modern toy graph.</p> arguments.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-1" type="radio" name="radio-set-1546461525-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-2" type="radio" name="radio-set-1546461525-1" class="tab-selector-2" /> - <label for="tab-1546461525-2" class="tab-label-2">groovy</label> + <input id="tab-1546607499-1" type="radio" name="radio-set-1546607499-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-2" type="radio" name="radio-set-1546607499-1" class="tab-selector-2" /> + <label for="tab-1546607499-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5112,10 +5112,10 @@ no longer suffice. There are multiple wa obvious to any programmer - use a variable:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-3" type="radio" name="radio-set-1546461525-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-4" type="radio" name="radio-set-1546461525-3" class="tab-selector-2" /> - <label for="tab-1546461525-4" class="tab-label-2">groovy</label> + <input id="tab-1546607499-3" type="radio" name="radio-set-1546607499-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-4" type="radio" name="radio-set-1546607499-3" class="tab-selector-2" /> + <label for="tab-1546607499-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5146,10 +5146,10 @@ filter the people he knows. In this way itself.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-5" type="radio" name="radio-set-1546461525-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-6" type="radio" name="radio-set-1546461525-5" class="tab-selector-2" /> - <label for="tab-1546461525-6" class="tab-label-2">groovy</label> + <input id="tab-1546607499-5" type="radio" name="radio-set-1546607499-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-6" type="radio" name="radio-set-1546607499-5" class="tab-selector-2" /> + <label for="tab-1546607499-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5200,10 +5200,10 @@ contained people, their friendship relat <p><span class="image"><img src="../images/traversal-induced-values-3.png" alt="traversal induced values 3" width="600"></span></p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-7" type="radio" name="radio-set-1546461525-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-8" type="radio" name="radio-set-1546461525-7" class="tab-selector-2" /> - <label for="tab-1546461525-8" class="tab-label-2">groovy</label> + <input id="tab-1546607499-7" type="radio" name="radio-set-1546607499-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-8" type="radio" name="radio-set-1546607499-7" class="tab-selector-2" /> + <label for="tab-1546607499-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5249,10 +5249,10 @@ contained people, their friendship relat <p>Getting a list of all the movies that Alice’s friends like could be done like this:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-9" type="radio" name="radio-set-1546461525-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-10" type="radio" name="radio-set-1546461525-9" class="tab-selector-2" /> - <label for="tab-1546461525-10" class="tab-label-2">groovy</label> + <input id="tab-1546607499-9" type="radio" name="radio-set-1546607499-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-10" type="radio" name="radio-set-1546607499-9" class="tab-selector-2" /> + <label for="tab-1546607499-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5281,10 +5281,10 @@ contained people, their friendship relat mean filtering out "the wild bunch" and "unforgiven".</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-11" type="radio" name="radio-set-1546461525-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-12" type="radio" name="radio-set-1546461525-11" class="tab-selector-2" /> - <label for="tab-1546461525-12" class="tab-label-2">groovy</label> + <input id="tab-1546607499-11" type="radio" name="radio-set-1546607499-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-12" type="radio" name="radio-set-1546607499-11" class="tab-selector-2" /> + <label for="tab-1546607499-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5339,10 +5339,10 @@ like the movie.</p> of one <code>Vertex</code> to another:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-13" type="radio" name="radio-set-1546461525-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-14" type="radio" name="radio-set-1546461525-13" class="tab-selector-2" /> - <label for="tab-1546461525-14" class="tab-label-2">groovy</label> + <input id="tab-1546607499-13" type="radio" name="radio-set-1546607499-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-14" type="radio" name="radio-set-1546607499-13" class="tab-selector-2" /> + <label for="tab-1546607499-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5390,10 +5390,10 @@ value of the "amount" of tank "c" would <p>Using Gremlin <code>sack()</code>, this kind of operation could be specified as a single traversal:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-15" type="radio" name="radio-set-1546461525-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-16" type="radio" name="radio-set-1546461525-15" class="tab-selector-2" /> - <label for="tab-1546461525-16" class="tab-label-2">groovy</label> + <input id="tab-1546607499-15" type="radio" name="radio-set-1546607499-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-16" type="radio" name="radio-set-1546607499-15" class="tab-selector-2" /> + <label for="tab-1546607499-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5448,10 +5448,10 @@ elsewhere in the traversal. Here is anot in the modern toy graph by 10:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461525-17" type="radio" name="radio-set-1546461525-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461525-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461525-18" type="radio" name="radio-set-1546461525-17" class="tab-selector-2" /> - <label for="tab-1546461525-18" class="tab-label-2">groovy</label> + <input id="tab-1546607499-17" type="radio" name="radio-set-1546607499-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607499-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607499-18" type="radio" name="radio-set-1546607499-17" class="tab-selector-2" /> + <label for="tab-1546607499-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5508,10 +5508,10 @@ shading, is the lowest common ancestor.< <p>The following code simply sets up the graph depicted above using "hasParent" for the edge label:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-1" type="radio" name="radio-set-1546461610-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-2" type="radio" name="radio-set-1546461610-1" class="tab-selector-2" /> - <label for="tab-1546461610-2" class="tab-label-2">groovy</label> + <input id="tab-1546607561-1" type="radio" name="radio-set-1546607561-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-2" type="radio" name="radio-set-1546607561-1" class="tab-selector-2" /> + <label for="tab-1546607561-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5559,10 +5559,10 @@ shading, is the lowest common ancestor.< <p>Given that graph, the following traversal will get the lowest common ancestor for two vertices, A and D:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-3" type="radio" name="radio-set-1546461610-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-4" type="radio" name="radio-set-1546461610-3" class="tab-selector-2" /> - <label for="tab-1546461610-4" class="tab-label-2">groovy</label> + <input id="tab-1546607561-3" type="radio" name="radio-set-1546607561-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-4" type="radio" name="radio-set-1546607561-3" class="tab-selector-2" /> + <label for="tab-1546607561-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5599,10 +5599,10 @@ the lowest common ancestor.</p> vertices.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-5" type="radio" name="radio-set-1546461610-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-6" type="radio" name="radio-set-1546461610-5" class="tab-selector-2" /> - <label for="tab-1546461610-6" class="tab-label-2">groovy</label> + <input id="tab-1546607561-5" type="radio" name="radio-set-1546607561-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-6" type="radio" name="radio-set-1546607561-5" class="tab-selector-2" /> + <label for="tab-1546607561-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5679,10 +5679,10 @@ were given to the mid-traversal <code>V( <p>As the above traversal utilizes a mid-traversal <code>V()</code>, it cannot be used for OLAP. In OLAP, the pattern changes a bit:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-7" type="radio" name="radio-set-1546461610-7" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-7" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-8" type="radio" name="radio-set-1546461610-7" class="tab-selector-2" /> - <label for="tab-1546461610-8" class="tab-label-2">groovy</label> + <input id="tab-1546607561-7" type="radio" name="radio-set-1546607561-7" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-7" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-8" type="radio" name="radio-set-1546607561-7" class="tab-selector-2" /> + <label for="tab-1546607561-8" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5741,10 +5741,10 @@ were given to the mid-traversal <code>V( <p>Finding the maximum depth of a tree starting from a specified root vertex can be determined as follows:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-9" type="radio" name="radio-set-1546461610-9" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-9" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-10" type="radio" name="radio-set-1546461610-9" class="tab-selector-2" /> - <label for="tab-1546461610-10" class="tab-label-2">groovy</label> + <input id="tab-1546607561-9" type="radio" name="radio-set-1546607561-9" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-9" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-10" type="radio" name="radio-set-1546607561-9" class="tab-selector-2" /> + <label for="tab-1546607561-10" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5801,10 +5801,10 @@ calculates the path length and then sele improvement:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-11" type="radio" name="radio-set-1546461610-11" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-11" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-12" type="radio" name="radio-set-1546461610-11" class="tab-selector-2" /> - <label for="tab-1546461610-12" class="tab-label-2">groovy</label> + <input id="tab-1546607561-11" type="radio" name="radio-set-1546607561-11" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-11" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-12" type="radio" name="radio-set-1546607561-11" class="tab-selector-2" /> + <label for="tab-1546607561-12" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5848,10 +5848,10 @@ can be expensive and if possible avoided the maximum depth is to use the <code>sack()</code>-step:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-13" type="radio" name="radio-set-1546461610-13" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-13" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-14" type="radio" name="radio-set-1546461610-13" class="tab-selector-2" /> - <label for="tab-1546461610-14" class="tab-label-2">groovy</label> + <input id="tab-1546607561-13" type="radio" name="radio-set-1546607561-13" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-13" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-14" type="radio" name="radio-set-1546607561-13" class="tab-selector-2" /> + <label for="tab-1546607561-14" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5911,10 +5911,10 @@ strategies. The schema depicted here is <p>The Gremlin script below creates the graph depicted in the graph above:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-15" type="radio" name="radio-set-1546461610-15" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-15" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-16" type="radio" name="radio-set-1546461610-15" class="tab-selector-2" /> - <label for="tab-1546461610-16" class="tab-label-2">groovy</label> + <input id="tab-1546607561-15" type="radio" name="radio-set-1546607561-15" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-15" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-16" type="radio" name="radio-set-1546607561-15" class="tab-selector-2" /> + <label for="tab-1546607561-16" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -5994,10 +5994,10 @@ graph implementation used, will be criti </table> </div> <section class="tabs tabs-2"> - <input id="tab-1546461610-17" type="radio" name="radio-set-1546461610-17" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461610-17" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461610-18" type="radio" name="radio-set-1546461610-17" class="tab-selector-2" /> - <label for="tab-1546461610-18" class="tab-label-2">groovy</label> + <input id="tab-1546607561-17" type="radio" name="radio-set-1546607561-17" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607561-17" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607561-18" type="radio" name="radio-set-1546607561-17" class="tab-selector-2" /> + <label for="tab-1546607561-18" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -6157,10 +6157,10 @@ $ . bin/spark-yarn.sh</code></pre> </div> </div> <section class="tabs tabs-2"> - <input id="tab-1546461695-1" type="radio" name="radio-set-1546461695-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461695-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461695-2" type="radio" name="radio-set-1546461695-1" class="tab-selector-2" /> - <label for="tab-1546461695-2" class="tab-label-2">groovy</label> + <input id="tab-1546607629-1" type="radio" name="radio-set-1546607629-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607629-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607629-2" type="radio" name="radio-set-1546607629-1" class="tab-selector-2" /> + <label for="tab-1546607629-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -6291,10 +6291,10 @@ another that contains information about create two list with a few random map entries.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461764-1" type="radio" name="radio-set-1546461764-1" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461764-1" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461764-2" type="radio" name="radio-set-1546461764-1" class="tab-selector-2" /> - <label for="tab-1546461764-2" class="tab-label-2">groovy</label> + <input id="tab-1546607686-1" type="radio" name="radio-set-1546607686-1" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607686-1" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607686-2" type="radio" name="radio-set-1546607686-1" class="tab-selector-2" /> + <label for="tab-1546607686-2" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -6365,10 +6365,10 @@ relations = (<span class="integer">1</sp single graph-mutating traversal, just like this:</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461764-3" type="radio" name="radio-set-1546461764-3" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461764-3" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461764-4" type="radio" name="radio-set-1546461764-3" class="tab-selector-2" /> - <label for="tab-1546461764-4" class="tab-label-2">groovy</label> + <input id="tab-1546607686-3" type="radio" name="radio-set-1546607686-3" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607686-3" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607686-4" type="radio" name="radio-set-1546607686-3" class="tab-selector-2" /> + <label for="tab-1546607686-4" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -6426,10 +6426,10 @@ discussed here, should be solved. The pr the traversal and process them from there.</p> </div> <section class="tabs tabs-2"> - <input id="tab-1546461764-5" type="radio" name="radio-set-1546461764-5" class="tab-selector-1" checked="checked" /> - <label for="tab-1546461764-5" class="tab-label-1">console (groovy)</label> - <input id="tab-1546461764-6" type="radio" name="radio-set-1546461764-5" class="tab-selector-2" /> - <label for="tab-1546461764-6" class="tab-label-2">groovy</label> + <input id="tab-1546607686-5" type="radio" name="radio-set-1546607686-5" class="tab-selector-1" checked="checked" /> + <label for="tab-1546607686-5" class="tab-label-1">console (groovy)</label> + <input id="tab-1546607686-6" type="radio" name="radio-set-1546607686-5" class="tab-selector-2" /> + <label for="tab-1546607686-6" class="tab-label-2">groovy</label> <div class="tabcontent"> <div class="tabcontent-1"> <div class="listingblock"> @@ -6512,10 +6512,10 @@ that the application will not break if t
[... 677 lines stripped ...]
