davinci-paper/v2/figures/ballot-variables.drawio
v2/figures/ballot-variables.drawioRaw
1<mxfile host="app.diagrams.net" agent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0" version="28.1.1">
2 <diagram name="Copy of Page-1" id="s9rVSSMqwi_BMs1X_iMG">
3 <mxGraphModel dx="706" dy="471" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0">
4 <root>
5 <mxCell id="3pWEPM-DWOqgcgeheKjC-0" />
6 <mxCell id="3pWEPM-DWOqgcgeheKjC-1" parent="3pWEPM-DWOqgcgeheKjC-0" />
7 <mxCell id="0uB5nztOJnYtSxoqNcwR-5" value="" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
8 <mxGeometry x="180" y="110" width="490" height="230" as="geometry" />
9 </mxCell>
10 <mxCell id="3pWEPM-DWOqgcgeheKjC-2" value="<ul><li><b><font face="Courier New">numFields</font></b>: number of fields per ballot (in this case, <font face="Courier New"><b>numFields</b></font> = 3).</li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
11 <mxGeometry x="170" y="170" width="490" height="30" as="geometry" />
12 </mxCell>
13 <mxCell id="3pWEPM-DWOqgcgeheKjC-7" value="<ul><li><b><font face="Courier New">minValue </font></b><font face="Courier New">&lt;=</font>&nbsp; x, y, z&nbsp; <font face="Courier New">&lt;=&nbsp;</font><b><font face="Courier New">maxValue</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
14 <mxGeometry x="170" y="250" width="269.5" height="30" as="geometry" />
15 </mxCell>
16 <mxCell id="3pWEPM-DWOqgcgeheKjC-8" value="" style="group" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1" connectable="0">
17 <mxGeometry x="170" y="288" width="520" height="32" as="geometry" />
18 </mxCell>
19 <mxCell id="3pWEPM-DWOqgcgeheKjC-9" value="<ul><li><b><font face="Courier New">minValueSum&nbsp;</font></b><font face="Courier New">&lt;=</font>&nbsp; x&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + y&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; + z&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<font face="Courier New">&lt;=</font><b><font face="Courier New">&nbsp;maxValueSum</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1">
20 <mxGeometry y="2" width="520" height="30" as="geometry" />
21 </mxCell>
22 <mxCell id="3pWEPM-DWOqgcgeheKjC-10" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1">
23 <mxGeometry x="154.25" y="1" width="65.75" height="20" as="geometry" />
24 </mxCell>
25 <mxCell id="3pWEPM-DWOqgcgeheKjC-11" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1">
26 <mxGeometry x="230" y="1" width="65.75" height="20" as="geometry" />
27 </mxCell>
28 <mxCell id="3pWEPM-DWOqgcgeheKjC-12" value="<b><font face="Courier New">costExponent</font></b>" style="text;whiteSpace=wrap;html=1;fontSize=8;" parent="3pWEPM-DWOqgcgeheKjC-8" vertex="1">
29 <mxGeometry x="307" width="65.75" height="20" as="geometry" />
30 </mxCell>
31 <mxCell id="3pWEPM-DWOqgcgeheKjC-17" value="Ballot" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontStyle=5;fontSize=14;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
32 <mxGeometry x="199.5" y="130" width="60.5" height="30" as="geometry" />
33 </mxCell>
34 <mxCell id="0uB5nztOJnYtSxoqNcwR-0" value="x" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
35 <mxGeometry x="260" y="130" width="40" height="30" as="geometry" />
36 </mxCell>
37 <mxCell id="0uB5nztOJnYtSxoqNcwR-1" value="y" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
38 <mxGeometry x="300" y="130" width="40" height="30" as="geometry" />
39 </mxCell>
40 <mxCell id="0uB5nztOJnYtSxoqNcwR-2" value="z" style="rounded=0;whiteSpace=wrap;html=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
41 <mxGeometry x="340" y="130" width="40" height="30" as="geometry" />
42 </mxCell>
43 <mxCell id="3pWEPM-DWOqgcgeheKjC-14" value="<ul><li><b><font face="Courier New">uniqueValues =&nbsp;</font></b></li></ul>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
44 <mxGeometry x="169.75" y="210" width="160" height="30" as="geometry" />
45 </mxCell>
46 <mxCell id="3pWEPM-DWOqgcgeheKjC-15" value="<div><font face="Courier New"><b>true </b></font><font face="Helvetica">: x, y, z must be different.</font></div><div><font face="Courier New"><b>false </b></font><font face="Helvetica">: x, y, z can be different.</font></div>" style="text;html=1;align=left;verticalAlign=middle;whiteSpace=wrap;rounded=0;spacingBottom=1;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
47 <mxGeometry x="338.25" y="210" width="211.75" height="30" as="geometry" />
48 </mxCell>
49 <mxCell id="3pWEPM-DWOqgcgeheKjC-16" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;flipH=1;labelPosition=right;verticalLabelPosition=middle;align=left;verticalAlign=middle;size=0.5;rotation=-180;" parent="3pWEPM-DWOqgcgeheKjC-1" vertex="1">
50 <mxGeometry x="324.25" y="210" width="10" height="30" as="geometry" />
51 </mxCell>
52 </root>
53 </mxGraphModel>
54 </diagram>
55</mxfile>