formula:string = `$$\\begin{align*}\\text{Variance} & = \\sum_{day=\\text{Monday}}^{\\text{Friday}}\\frac{\\text{Classtime}(day)^2}{5} - \\left( \\sum_{day=\\text{Monday}}^{\\text{Friday}} \\frac{\\text{Classtime}(day)}{5} \\right)^2 \\\\\\text{Compactness} & = \\sum_{day=\\text{Monday}}^{\\text{Friday}} \\sum_{i = 1}^{n_{day} - 1} \\left(\\text{Start}_{i + 1} - \\text{End}_{i} \\right) \\\\& \\text{where $n_{day}$ is the number of classes at day $day$} \\\\\\text{No Early} & = \\sum_{day=\\text{Monday}}^{\\text{Friday}} \\max \\left(0, \\text{12:00} - \\text{FirstClassStart} \\right) \\\\\\text{Lunch time} & = \\sum_{day=\\text{Monday}}^{\\text{Friday}} \\sum_{i = 1}^{n_{day}} \\min(\\text{OverlapBetween}(\\text{Class}_i, \\text{Lunch}), 60) - 60 \\\\& \\text{where Lunch is defined as the time between 11:00 and 14:00} \\\\\\text{Distance} & = \\sum_{day=\\text{Monday}}^{\\text{Friday}} \\sum_{i = 1}^{n_{day} - 1} \\text{DistanceBetween}(\\text{Class}_i, \\text{Class}_{i+1})\\end{align*}$$`
Readonly icalSteps
icalSteps:[{ src: string; title: "Make your schedule and export" }, { src: string; title: "Save the file somewhere you can find" }, { src: string; title: "Go to Google calendar" }, { src: string; title: "Click on setting" }, { src: string; title: "Select import and export" }, { src: string; title: "Find and open the file you just saved" }, { src: string; title: "Import" }, { src: string; title: "Import successful!" }, { src: string; title: "Now you can view your schedule on Google calendar!" }] = [{title: 'Make your schedule and export',src: this.imgPath('export1.png')},{title: 'Save the file somewhere you can find',src: this.imgPath('export2.png')},{title: 'Go to Google calendar',src: this.imgPath('export3.png')},{title: 'Click on setting',src: this.imgPath('export4.png')},{title: 'Select import and export',src: this.imgPath('export5.png')},{title: 'Find and open the file you just saved',src: this.imgPath('export6.png')},{title: 'Import',src: this.imgPath('export7.png')},{title: 'Import successful!',src: this.imgPath('export8.png')},{title: 'Now you can view your schedule on Google calendar!',src: this.imgPath('export9.png')}] as const
Readonly jsonSteps
jsonSteps:[{ src: string; title: "Download Json file" }, { src: string; title: "Save it somewhere you can find" }, { src: string; title: "You can share it with your friends, or just load it on your computer" }, { src: string; title: "Load it!!!" }, { src: string; title: "Boom!! Your schedule is loaded" }] = [{title: 'Download Json file',src: this.imgPath('exportJson1.png')},{title: 'Save it somewhere you can find',src: this.imgPath('exportJson2.png')},{title: 'You can share it with your friends, or just load it on your computer',src: this.imgPath('exportJson3.png')},{title: 'Load it!!!',src: this.imgPath('exportJson4.png')},{title: 'Boom!! Your schedule is loaded',src: this.imgPath('exportJson5.png')}] as const
urlSteps:[{ src: string; title: "Save and share your schedules using URL" }, { src: string; title: "Copy the URL" }, { src: string; title: "Share the URL with others" }, { src: string; title: "Paste the URL here" }, { src: string; title: "There! Your schedule is loaded" }] = [{title: 'Save and share your schedules using URL',src: this.imgPath('exportURL1.png')},{title: 'Copy the URL',src: this.imgPath('exportURL2.png')},{title: 'Share the URL with others',src: this.imgPath('exportURL3.png')},{title: 'Paste the URL here',src: this.imgPath('exportURL4.png')},{title: 'There! Your schedule is loaded',src: this.imgPath('exportURL5.png')}] as const
tab for displaying user guide
Hanzhi Zhou, Kaiying Shan, Zichao Hu, Elena Long