deleted: Flowchart1.drawio
deleted: Flowchart1.pdf deleted: Untitled Diagram.drawio modified: doc/docu.mdsql
parent
5269d71c5d
commit
cbeb4186aa
|
@ -1,46 +0,0 @@
|
|||
<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>
|
BIN
Flowchart1.pdf
BIN
Flowchart1.pdf
Binary file not shown.
|
@ -1,46 +0,0 @@
|
|||
<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="1145" dy="581" 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;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-1" target="h8zDR5j_nEeJmlsioyJr-4">
|
||||
<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;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-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;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-4" target="h8zDR5j_nEeJmlsioyJr-6">
|
||||
<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;" edge="1" parent="WIyWlLk6GJQsqaUBKTNV-1" source="h8zDR5j_nEeJmlsioyJr-4" target="h8zDR5j_nEeJmlsioyJr-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;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-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;" vertex="1" parent="WIyWlLk6GJQsqaUBKTNV-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>
|
13
doc/docu.md
13
doc/docu.md
|
@ -1,18 +1,19 @@
|
|||
# Data strucures
|
||||
|
||||
?
|
||||
Possible data structure layout
|
||||
|
||||
```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;
|
||||
int priority;
|
||||
bool done;
|
||||
}Event;
|
||||
|
||||
|
@ -22,3 +23,11 @@ typedef struct DayPlan{
|
|||
Event * plan;
|
||||
}DayPlan;
|
||||
```
|
||||
|
||||
## Functionality
|
||||
|
||||
Day plan can either be crated from user input or read from file to continue previous day.
|
||||
|
||||
priority and available time are used to create dayplan which is exported as iCal
|
||||
|
||||
after task is completed and priorities are updated for next day and stored in file.
|
||||
|
|
Loading…
Reference in New Issue