About: isa:371025924   Sponge Permalink

An Entity of Type : prov:Entity, within Data Space : webisadb.webdatacommons.org associated with source dataset(s)

AttributesValues
rdf:type
prov:value
  •  # P is an array of points, [x,y].# Emit the solution in the form [dist, [P1, P2]]def bruteForceClosestPair(P): (P|length) as $length | if $length < 2 then null else reduce range(0; $length-1) as $i ( null; reduce range($i+1; $length) as $j (.; dist(P[$i]; P[$j]) as $d | if . == null or $d < .[0] then [$d, [ P[$i], P[$j] ] ] e
prov:wasQuotedFrom
is prov:wasDerivedFrom of
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software