new file: doc/Flowchart1.drawio
new file: doc/Flowchart1.pdf new file: doc/docu.mdsql
parent
82d4f94d0c
commit
5269d71c5d
|
@ -0,0 +1,46 @@
|
||||||
|
<mxfile host="Electron" agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.7.17 Chrome/128.0.6613.186 Electron/32.2.7 Safari/537.36" version="24.7.17" pages="2">
|
||||||
|
<diagram id="C5RBs43oDa-KdzZeNtuy" name="Page-1">
|
||||||
|
<mxGraphModel dx="1660" dy="843" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="WIyWlLk6GJQsqaUBKTNV-1" parent="WIyWlLk6GJQsqaUBKTNV-0" />
|
||||||
|
<mxCell id="h8zDR5j_nEeJmlsioyJr-3" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-1" target="h8zDR5j_nEeJmlsioyJr-4" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="354" y="280" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="h8zDR5j_nEeJmlsioyJr-1" value="interactive user interface to add:<div>subjects,deadlines, priorities</div>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="294" y="50" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="h8zDR5j_nEeJmlsioyJr-5" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-4" target="h8zDR5j_nEeJmlsioyJr-6" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="354" y="520" as="targetPoint" />
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="9LKb6hFhdukI4IS8_kV4-1" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-4" target="h8zDR5j_nEeJmlsioyJr-1" edge="1">
|
||||||
|
<mxGeometry relative="1" as="geometry">
|
||||||
|
<mxPoint x="520" y="70" as="targetPoint" />
|
||||||
|
<Array as="points">
|
||||||
|
<mxPoint x="500" y="315" />
|
||||||
|
<mxPoint x="500" y="80" />
|
||||||
|
</Array>
|
||||||
|
</mxGeometry>
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="h8zDR5j_nEeJmlsioyJr-4" value="use cake-cutting algorithm to generate study plan<div>with breaks</div>" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="266" y="250" width="176" height="130" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
<mxCell id="h8zDR5j_nEeJmlsioyJr-6" value="output as iCal" style="rounded=1;whiteSpace=wrap;html=1;" parent="WIyWlLk6GJQsqaUBKTNV-1" vertex="1">
|
||||||
|
<mxGeometry x="294" y="490" width="120" height="60" as="geometry" />
|
||||||
|
</mxCell>
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
<diagram id="hhLM80gejV0DpMq_GB9E" name="Page-2">
|
||||||
|
<mxGraphModel grid="1" page="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
|
||||||
|
<root>
|
||||||
|
<mxCell id="0" />
|
||||||
|
<mxCell id="1" parent="0" />
|
||||||
|
</root>
|
||||||
|
</mxGraphModel>
|
||||||
|
</diagram>
|
||||||
|
</mxfile>
|
Binary file not shown.
|
@ -0,0 +1,24 @@
|
||||||
|
# Data strucures
|
||||||
|
|
||||||
|
?
|
||||||
|
```C
|
||||||
|
typedef struct Subject{
|
||||||
|
char * name;
|
||||||
|
time_t * created;
|
||||||
|
time_t * deadline;
|
||||||
|
int priority;
|
||||||
|
} Subject;
|
||||||
|
|
||||||
|
typedef struct Event {
|
||||||
|
Subject * subject;
|
||||||
|
time_t plannedStartTime;
|
||||||
|
time_t plannedEndTime;
|
||||||
|
bool done;
|
||||||
|
}Event;
|
||||||
|
|
||||||
|
typedef struct DayPlan{
|
||||||
|
int availableTime;
|
||||||
|
time_t date;
|
||||||
|
Event * plan;
|
||||||
|
}DayPlan;
|
||||||
|
```
|
Loading…
Reference in New Issue