subject

We are given a set V of n variables {x1, x2, ... , Xn} and a set C of m weak and strict inequalities between the variables, i. e., inequalities of the form Xi < x; or Xi < xj. The set C of inequalities is called consistent over the positive integers Z+ {1, 2, 3, ...} iff there is an assignment of positive integer values to the variables that satisfies all the inequalities. For example, the set {x1 < X3, X2 < x1} is consistent, whereas {x1 < x3, X2 < X1, X3 < x2} is not consistent. Required:
a. Give an efficient algorithm to determine whether the set C of inequalities is consistent over the positive integers. State precisely the asymptotic running time of your algorithm in terms of n and m.
b. If the set of inequalities has a solution, then it has a unique minimum solution, i. e., a solution in which every variable has the minimum value among all possible solutions. Give an efficient algorithm to compute the minimum solution.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:20
Print "usernum1 is negative." if usernum1 is less than 0. end with newline. convert usernum2 to 0 if usernum2 is greater than 10. otherwise, print "usernum2 is less than or equal to 10.". end with newline
Answers: 3
question
Computers and Technology, 22.06.2019 13:00
Write a program which asks you to enter a name in the form of first middle initial last. so you might enter for example samuel p. clemens. use getline to read in the string because it contains spaces. also, apparently the shift key on your keyboard doesn’t work, because you enter it all lower case. pass the string to a function which uses .find to locate the letters which need to be upper case and use toupper to convert those characters to uppercase. the revised string should then be returned to main in the form last, first mi where it will be displayed.
Answers: 1
question
Computers and Technology, 22.06.2019 16:30
Which of the following statements best describes it careers?
Answers: 2
question
Computers and Technology, 22.06.2019 18:30
Which of the following commands is more recommended while creating a bot?
Answers: 1
You know the right answer?
We are given a set V of n variables {x1, x2, ... , Xn} and a set C of m weak and strict inequalities...
Questions
question
Mathematics, 12.09.2021 03:00
question
Physics, 12.09.2021 03:00
question
Mathematics, 12.09.2021 03:00
Questions on the website: 13722363