davinci-paper/v2/figures/ballot-variables.drawio
v2/figures/ballot-variables.drawioRaw
1<mxfile host="drawio"><diagram name="ballot-variables" id="ballot-variables"><mxGraphModel dx="1200" dy="800" grid="0" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="0" pageScale="1" pageWidth="1100" pageHeight="850" math="0" shadow="0"><root><mxCell id="0"/><mxCell id="1" parent="0"/><mxCell id="c13" value="" style="rounded=0;whiteSpace=wrap;html=1;fontSize=11;fillColor=none;strokeColor=#000000;fontFamily=Courier New;verticalAlign=top;align=center;spacingTop=4;spacingLeft=6;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="0" y="0" width="640" height="236" as="geometry"/></mxCell><mxCell id="c3" value="<b><u>Ballot</u></b>" style="text;html=1;whiteSpace=wrap;fontSize=15;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="16" width="80" height="30" as="geometry"/></mxCell><mxCell id="c4" value="v<sub>1</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffffff;strokeColor=#000000;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="96" y="14" width="46" height="34" as="geometry"/></mxCell><mxCell id="c5" value="v<sub>2</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffffff;strokeColor=#000000;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="142" y="14" width="46" height="34" as="geometry"/></mxCell><mxCell id="c6" value="v<sub>3</sub>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;fillColor=#ffffff;strokeColor=#000000;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="188" y="14" width="46" height="34" as="geometry"/></mxCell><mxCell id="c7" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="234" y="14" width="36" height="34" as="geometry"/></mxCell><mxCell id="c8" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="270" y="14" width="36" height="34" as="geometry"/></mxCell><mxCell id="c9" value="0" style="rounded=0;whiteSpace=wrap;html=1;fontSize=13;fillColor=#f5f5f5;strokeColor=#666666;fontFamily=Helvetica;align=center;verticalAlign=middle;" vertex="1" parent="1"><mxGeometry x="306" y="14" width="36" height="34" as="geometry"/></mxCell><mxCell id="c10" value="&hellip; (16)" style="text;html=1;whiteSpace=wrap;fontSize=13;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="346" y="14" width="60" height="34" as="geometry"/></mxCell><mxCell id="c11" value="active fields (here n<sub>f</sub> = 3) and inactive fields, always 0" style="text;html=1;whiteSpace=wrap;fontSize=12;fontFamily=Helvetica;align=left;verticalAlign=middle;fontColor=#555555;" vertex="1" parent="1"><mxGeometry x="96" y="50" width="400" height="20" as="geometry"/></mxCell><mxCell id="c12" value="<div style='line-height:1.75'>&bull; <b>numFields</b> = n<sub>f</sub>: number of active fields (1 to 16); <b>groupSize</b> &le; numFields.<br>&bull; <b>uniqueValues</b> = true: v<sub>1</sub>, v<sub>2</sub>, v<sub>3</sub> must be different; false: values may repeat.<br>&bull; <b>minValue</b> &le; v<sub>1</sub>, v<sub>2</sub>, v<sub>3</sub> &le; <b>maxValue</b>.<br>&bull; <b>minValueSum</b> &le; v<sub>1</sub><sup>e</sup> + v<sub>2</sub><sup>e</sup> + v<sub>3</sub><sup>e</sup> &le; max, with e = <b>costExponent</b> and<br>&nbsp;&nbsp;&nbsp;max = <b>maxValueSum</b> if it is positive, or the voter's <b>weight</b> if it is 0.</div>" style="text;html=1;whiteSpace=wrap;fontSize=14;fontFamily=Helvetica;align=left;verticalAlign=top;fontColor=#000000;" vertex="1" parent="1"><mxGeometry x="16" y="84" width="608" height="150" as="geometry"/></mxCell></root></mxGraphModel></diagram></mxfile>