subject

Consider the following problem setup: The head TA is figuring out the discussion schedule. We have M TAs and N discussion sections. Each discussion section has a known time slot, and fortunately, at most 2 discussions are in the same time slot. In the N discussion sections, we need exactly K of them to be e-prep sections, and the rest to be normal sections. We also want the following conditions to hold:• We would like to have exactly one TA for each discussion section.• A TA cannot be teaching 2 discussion at the same time slot.• Some TAs do not teach regular discussions, some do not teach e-prep, and others can teach either.• If two discussions are in the same time slot, we also don’t want them to be the same type of discussion for the sake of best allocation of resources.(a) Cast this as a search problem. Specifically, appropriately define the state representation, the successor function, the start state and the goal test. State representation:Successor function:Start state:Goal test:(b) Calculate the state space size and the branching factor of the search tree, then suggest a search algorithm to tackle the problem. If you are using DFS/BFS, explain your choice of algorithm in a paragraph. If you are using UCS/Greedy/A* search, please define in a paragraph what cost function and/or heuristic is being used. It doesn’t necessarily need to be a rigorous definition but more of a qualitative description of what the cost function/heuristic does. State space size:Branching factor:Proposed search algorithm:Explanation:

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:00
We as humans write math expression in infix notation, e.g. 5 + 2 (the operators are written in-between the operands). in a computer’s language, however, it is preferred to have the operators on the right side of the operands, i.e. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix.write a program that takes an “infix” expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % (example infix expression: (7 - 3) / (2 + 2)postfix expression: 7 3 - 2 2 + /result: 1guidelines: 1. you will need to use stacks in three placesa. one for the parenthesis check [char stack]b. one during infix to postfix [char stack]c. one during evaluation [int stack]for a and b above, you can use same array and same push, pop method as both ofthem are char. but for evaluation you have int stack and you might consider to createanother push pop method to handle it. maybe push_int, pop_int, etc. or find otherstrategy to utilize existing push pop method2. you can create a function for obtaining operator priority. that function should take anoperator as input and return its priority as an integer. this function will you a lot andreduce repeated code3. during evaluation you will need to convert char into integer. example for single digit: char c = '5'; int x = c - '0';
Answers: 2
question
Computers and Technology, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
Respond to the following in three to five sentences. select the workplace skill, habit, or attitude described in this chapter that you believe is most important for being a successful employee.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
What is estimated time of arrival (eta)? a device that measures the acceleration (the rate of change of velocity) of an item and is used to track truck speeds or taxi cab speeds a gps technology adventure game that posts the longitude and latitude location for an item on the internet for users to find a north/south measurement of position the time of day of an expected arrival at a certain destination and is typically used for navigation applications
Answers: 3
You know the right answer?
Consider the following problem setup: The head TA is figuring out the discussion schedule. We have M...
Questions
question
Mathematics, 22.10.2020 03:01
question
Geography, 22.10.2020 03:01
question
Mathematics, 22.10.2020 03:01
question
English, 22.10.2020 03:01
question
Social Studies, 22.10.2020 03:01
question
Mathematics, 22.10.2020 03:01
question
Chemistry, 22.10.2020 03:01
Questions on the website: 13722360