Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i know this is a little bit too much but i hope anybody could hlep Suppose that your friend decides to go to college at

i know this is a little bit too much but i hope anybody could hlep

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed

Suppose that your friend decides to go to college at Metro State, and unlike most students, they plan ta take all their courses here. They are going to go to school full time, taking 3 courses every fall and spring, and 2 courses every summer, starting Fall 2018. They are going to major in Computer Science and minor in Math. They're very picky, so they plan to take 30 specific courses to graduate (and they have registration priority, so they can get the courses they want).1 Write a program that uses some form(s) of Local Search and/or Population-based Methods from sections 4.8 and/or 4.9 of Poole & Mackworth to determine what semester they can take which courses so that they can finish in Spring of 2022. Explain, in a separate report, how you chose your algorithms and why Input: I give you files containing the following input in the following format. You need to read them in, but you can hardcode the relative file names into your program. Please put them in the same directory as your code, or in the directory just above the code if you're using Eclipse. Please do not use packages, and put all your code in the same directory Schedule of when courses are offered: course schedule.txt This is a list of the 30 classes your friend will take to graduate. They include specific Math courses, specific ICS courses, specific GELS/RIGR courses, and specific Writing courses For each course, it lists when courses are offered. This is in the form of a table, where the row is the course and the column is the semester. The entries in that rowlcolumn are the nights (MTWHFS) when the course is offered. An "-" means it is not offered at all that semester. Multiple letters mean it is offered multiple times (so "MW" means that it's offered Monday and Wednesday). "O" means it is offered online The first line is a header. Assume that every year has the same schedule. Here is an example of the first 4 lines of the file Fall Spring Summer COURSE Chem105 MT Comm320 W EthS100C ICS140 MTWH MTWH MTVW These are space-separated, you can convert these to comma-separated or tab-separated if you prefer Here are the meanings of the first four courses above Chem 105 is offered Mondays and Tuesdays in fall, Wednesdays in Spring, and not at all in summer Comm 320 is offered Wednesdays fall and spring and Tuesdays in summer EthS 100 is offered online every semester ICS 140 is offered MTWH fall and spring, and MTW summer Assume all courses meet once per week and you cannot take multiple courses on the same day (although you may, of course, take multiple online courses) Constraint file: constraints.txt In the constraints file "

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Domain Transfer Learning With 3q Data Processing

Authors: Ahmed Atif Hussain

1st Edition

B0CQS1NSHF, 979-8869061805

More Books

Students also viewed these Databases questions