[{"data":1,"prerenderedAt":239},["ShallowReactive",2],{"/dict/neighbors":3,"/dict/neighbors-surround":228},{"id":4,"title":5,"body":6,"description":193,"extension":194,"meta":195,"navigation":214,"path":224,"seo":225,"stem":226,"__hash__":227},"content/dict/neighbors.md","NetLogo Dictionary: neighbors",{"type":7,"value":8,"toc":183},"minimark",[9],[10,11,16,42,79,82],"div",{"className":12,"id":14,"role":15},[13],"dict_entry","neighbors","region",[17,18,20,35],"h3",{"id":19},"neighbors11neighbors411",[21,22,26,27],"a",{"href":23,"role":24,"ariaLabel":25},"#neighbors","doc-noteref","Reference to neighbors","\nneighbors\n",[28,29,34],"span",{"className":30,"role":32,"ariaLabel":33},[31],"since","note","Since version","\n1.1\n",[21,36,38,39],{"href":23,"role":24,"ariaLabel":37},"Reference to neighbors4","\nneighbors4\n",[28,40,34],{"className":41,"role":32,"ariaLabel":33},[31],[43,44,48],"h4",{"id":45,"className":46},"neighborsneighbors4",[47],"section-heading",[21,49,53,60,66,74],{"className":50,"href":52},[51],"section-anchor","#neighborsneighbors4",[28,54,57],{"className":55},[56],"prim_example",[58,59,14],"p",{},[28,61,63],{"className":62},[56],[58,64,65],{},"neighbors4",[67,68],"img",{"alt":69,"src":70,"width":71,"height":71,"style":72},"Turtle Command","/_content/images/turtle.png",16,{"aspectRatio":73},"56/56",[67,75],{"alt":76,"src":77,"width":71,"height":71,"style":78},"Patch Command","/_content/images/patch.png",{"aspectRatio":73},[58,80,81],{},"Reports an agentset containing the 8 surrounding patches (neighbors) or 4 surrounding patches (neighbors4),\nif they exist. If the world is wrapping, the neighbors of a patch along the edge of the world will include\nthe corresponding patches on the opposite edge of the world. If the world is not wrapping, any neighbors\noutside the boundaries of the world will be excluded from the set. The neighbor set will never include the\ntarget patch itself, even if the world only has one row or one column of patches.",[83,84,85],"pre",{},[86,87,88,94,95,100,101,94,105,109,110,94,114,117,120,121,126,120,128,132,134,94,137,94,140,94,144,147,120,149,153,155,94,159,162,163,94,167,94,171,176,177,120,179],"code",{},[28,89,93],{"className":90},[91,92],"token","command","show"," ",[28,96,99],{"className":97},[91,98],"reporter","sum"," [",[28,102,104],{"className":103},[91,98],"count",[28,106,108],{"className":107},[91,98],"turtles-here","] ",[28,111,113],{"className":112},[91,98],"of",[28,115,14],{"className":116},[91,98],[118,119],"br",{},"  ",[28,122,125],{"className":123},[91,124],"comment",";; prints the total number of turtles on the eight",[118,127],{},[28,129,131],{"className":130},[91,124],";; patches around this turtle or patch",[118,133],{},[28,135,93],{"className":136},[91,92],[28,138,104],{"className":139},[91,98],[28,141,143],{"className":142},[91,98],"turtles-on",[28,145,14],{"className":146},[91,98],[118,148],{},[28,150,152],{"className":151},[91,124],";; a shorter way to say the same thing",[118,154],{},[28,156,158],{"className":157},[91,92],"ask",[28,160,65],{"className":161},[91,98]," [ ",[28,164,166],{"className":165},[91,92],"set",[28,168,170],{"className":169},[91,98],"pcolor",[28,172,175],{"className":173},[91,174],"constant","red"," ]",[118,178],{},[28,180,182],{"className":181},[91,124],";; turns the four neighboring patches red",{"title":184,"searchDepth":185,"depth":186,"links":187},"",5,3,[188],{"id":19,"depth":186,"text":189,"children":190},"\nneighbors\n\n1.1\n\nneighbors4\n\n1.1\n",[191],{"id":45,"depth":192,"text":45},4,"Documentation for the neighbors primitive.","md",{"source":196,"metadataOutputPath":197,"projectConfig":198,"language":206,"inheritFrom":215,"output":214,"version":199,"layout":216,"dictionaryDisplayName":217,"dictionaryHomeDirectory":218,"indexFileURI":219,"currentItemId":14,"currentItemLabel":220,"primRoot":221,"icon":222,"assetsRoot":223},"autogen/dict/neighbors.md","content/dict/neighbors.metadata.yaml",{"version":199,"projectRoot":200,"scanRoot":201,"outputRoot":202,"defaults":203,"engine":209,"partials":210,"dedupeIdenticalDiskWrites":214},"7.0.4",".","autogen","content",{"inheritFrom":204,"language":206,"output":207,"extension":194,"title":208,"version":199},[205],0,"en",false,"NetLogo User Manual","handlebars",{"directoryPaths":211,"extensions":212},[200],[213,194],"mustache",true,[205],"catalog","NetLogo Dictionary","/dictionary.html","/_index/dict.txt","neighbors, neighbors4","dict","i-lucide-square-code","/home/runner/work/Helio/Helio/apps/docs/autogen","/dict/neighbors",{"title":5,"description":193},"dict/neighbors","Hs4FBBu-8dYE5kJ_aqD0IYRhp2iqy-hQeukj4ssGAyQ",[229,234],{"title":230,"path":231,"stem":232,"description":233},"NetLogo Dictionary: n-values","/dict/n-values","dict/n-values","Documentation for the n-values primitive.",{"title":235,"path":236,"stem":237,"description":238},"NetLogo 3D Dictionary: neighbors-3d","/dict/neighbors-3d","dict/neighbors-3d","Documentation for the neighbors-3d primitive.",1777657824897]