File: libCGAL_cone_spanners.lua

package info (click to toggle)
cgal 6.1.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144,952 kB
  • sloc: cpp: 811,597; ansic: 208,576; sh: 493; python: 411; makefile: 286; javascript: 174
file content (30 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
----------------------------------------------------------------------
-- WSPD ipelet description
----------------------------------------------------------------------

label = "Cone Spanners"

about = [[
This ipelet is part of the CGAL_ipelet package. See www.cgal.org.
]]

-- this variable will store the C++ ipelet when it has been loaded
ipelet = false

function run(model, num)
  if not ipelet then ipelet = assert(ipe.Ipelet(dllname)) end
  model:runIpelet(methods[num].label, ipelet, num)
end

methods = {
  { label="Theta-k-graph" },
  { label="Yao-k-graph" },
  { label="Half-theta-k-graph with even cones" },
  { label="Half-Yao-k-graph with even cones" },
  { label="Half-theta-k-graph with odd cones" },
  { label="Half-Yao-k-grap with odd cones" },
  { label="k cones" },
  { label="Help" },
}

----------------------------------------------------------------------