3. [6 Marks] Klutzy Pty Ltd's CEO has asked you to help organise its end of...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
3. [6 Marks] Klutzy Pty Ltd's CEO has asked you to help organise its end of the year splurge. Every- body invited, one of which must be the CEO, has to attend. Employees at Klutzy are organised into a strict hierarchical structure resembling a binary tree, where the root node represents the CEO. The data scientists at human resources have assigned to each employee an awkwardness score, a. An a > 0 indicates that the staff member and its supervisor dislike each other, whereas an a < 0 indicates that they actually like each other. If the guest list does not include an employee and its supervisor, then the added awkwardness is zero. To help you model Klutzy Pty Ltd assume that each node has the following fields: (a) L is a pointer to the left child or NULL if there is no left child; (b) R is a pointer to the right child or NULL if there is no right child; and (c) alpha is the awkwardness score of the inviting the employee and its supervisor. Provide a method that finds the score of the least awkward party, i.e., minimise the overall awkwardness score. For example, your algorithm should return -1' and '0' for the two trees in the figure below. You must provide: (a) [2 Marks] A description of the optimisation problem to be solved, including an equation of the recursive relationship. (b) [4 Marks] The pseudo-code of your method, in about 15 lines of code. 1 7 8 2 -2 3 0 0 0 0 3. [6 Marks] Klutzy Pty Ltd's CEO has asked you to help organise its end of the year splurge. Every- body invited, one of which must be the CEO, has to attend. Employees at Klutzy are organised into a strict hierarchical structure resembling a binary tree, where the root node represents the CEO. The data scientists at human resources have assigned to each employee an awkwardness score, a. An a > 0 indicates that the staff member and its supervisor dislike each other, whereas an a < 0 indicates that they actually like each other. If the guest list does not include an employee and its supervisor, then the added awkwardness is zero. To help you model Klutzy Pty Ltd assume that each node has the following fields: (a) L is a pointer to the left child or NULL if there is no left child; (b) R is a pointer to the right child or NULL if there is no right child; and (c) alpha is the awkwardness score of the inviting the employee and its supervisor. Provide a method that finds the score of the least awkward party, i.e., minimise the overall awkwardness score. For example, your algorithm should return -1' and '0' for the two trees in the figure below. You must provide: (a) [2 Marks] A description of the optimisation problem to be solved, including an equation of the recursive relationship. (b) [4 Marks] The pseudo-code of your method, in about 15 lines of code. 1 7 8 2 -2 3 0 0 0 0
Expert Answer:
Answer rating: 100% (QA)
a Description of the optimization problem and recursive relationship The optimization problem here i... View the full answer
Related Book For
Fundamentals Of Human Resource Management
ISBN: 9781119032748
12th Edition
Authors: David A DeCenzo, Stephen P Robbins, Susan L Verhulst
Posted Date:
Students also viewed these computer network questions
-
You are a newly licensed immigration consultant, working in a firm with others. Your firm has asked you to assist Maryam Helou Tannous with an inland application for permanent residence based on...
-
You have completed your first meeting with Harper and Riley Evans. You are confident that you now have most of the information you will need to prepare a comprehensive financial plan for them. Beyond...
-
With only a straightedge and compass, use a number line and the Pythagorean theorem to construct a segment whose length is 2. Measure the segment as accurately as possible, and write your answer in...
-
Given the circuit shown in Fig. 19-36, use the words increase, decrease, or stays the same to complete the following statement: (a) If R7 increases, the potential difference between A and E____....
-
Suppose that you are an inspector for the Fish and Game Department and that you are given the task of determining whether to prohibit fishing along part of the Oregon coast. You will close an area to...
-
Almetals, Inc., a Michigan company, entered into a contract with the German firm Wickeder Westfalenstahl regarding the purchase of clad metal, a specialty metal used in a variety of industries but...
-
Revenue Recognition on Marina Sales with Discounts Taylor Marina has 300 available slips that rent for $800 per season. Payments must be made in full at the start of the boating season, April 1,...
-
While many parties were interested in acquiring MCI, the major players included Verizon and Qwest. U.S.-based Qwest is an integrated communications company that provides data, multimedia, and...
-
You are considering buying gifts for a pair of friends. Both truly enjoy video gaming. However, both have reduced their budget on these items because of the temptation that they can cause. Dana is...
-
If f(x) = 6x-2, then find f(x + 1) and simplify. (6 points) Solve the system of equations by Graphing. (6 points) k(x) = -x-5 3 f(x) = -x-2
-
Could you provide an overview of the Information Technology and Information Systems utilized in the logistics operations of Metro Inc?
-
Determine the aggregate expenditure curve (equation) at given the variables. Compute for the equilibrium aggregate real income Y and multiplier effect in the economy. Suppose the autonomous...
-
Explain Indirect competitors for driverless cars such as trains, buses, bikes, sharing services. With references.
-
If a potential employer were to see this response in your career portfolio, what might it tell them about you?
-
With PayPals significant problem in the public view regarding the backlash after floating $2500 fines for sharing "misinformation" and using the definition of corporate communications: "Corporate...
-
Which term refers to random sampling from probability distributions for one or more variables to analyze an economic model through many iterations? Group of answer choices a. Simulation b....
-
A heat engine has a heat input of 3 Ã 104 Btu/h and a thermal efficiency of 40 percent. Calculate the power it will produce, in hp. Source 3 x 10 Btu/h 40% HE Sink
-
What is the next big thing on the horizon for recruiting? Research trends in recruiting, evaluate developments in technology and recruiting practices, and report your predictions. Present your...
-
Explain how and why employee development and career development activities overlap.
-
Explain ways that a talent management strategy improves an organizations ability to attract and keep talented employees.
-
You may have management colleagues who think that social responsibility isnt an important issue for organizations and, therefore, it shouldnt play a role in employee recruitment and selection. The...
-
In the roles of an employer, how would you handle a situation where employees have taken on a greater sense of social responsibility than that is immediately apparent in your organization? How would...
-
Companies have recently been created, such as Social Intelligence, that offer pre-employment social media screening. Using an Internet search, identify some of the companies offering this service....
Study smarter with the SolutionInn App