Recent content by Shaitan00

  1. S

    Pseudo-Distances within a depth-determination problem

    I see your point - but this is given in the textbook, not sure how else to interpret it...
  2. S

    Pseudo-Distances within a depth-determination problem

    Very possible that is it recursive - because the wording is copy/paste from the problem statement - I just don't see how it works... If Si is a subtree of Ti (but they don't necessarily have the same root) then how can d[v] in Si allow you to calculate the depth it Ti? Or am I looking at this...
  3. S

    Greedy Algorithm for license purchase problem

    Nope - you pretty hit it right on... That is what I was thinking also - start at month (n) - the last month - and calculate the rate, then choose the smallest one and buy it, and proced to month (n-1). Thanks for the confirmation. Much appreciated.
  4. S

    Pseudo-Distances within a depth-determination problem

    I was given the following problem description for a depth-determination problem, however I am completely unable to figure out how this "pseudo-distance" feature works, if anyone has any clues and can provide a uber-simple example it would be much appreciated - I just can't see how it...
  5. S

    Greedy Algorithm for license purchase problem

    Of course order makes a difference. Assume I have license 1 with rate t^3 and license 2 with rate 2^t - now these rates are exponential and there is no easy way to determine the correct growth rate (derivates are wrt to "t" as well), so how can you ensure you pick the right one first so that...
  6. S

    Greedy Algorithm for license purchase problem

    Your friends are starting a security company that needs to obtain licenses for n different pieces of cryptographic software. Due to regulations, they can only obtain these licenses at the rate of at most one per month. Each license is currently selling for a price of $100. However, they are...
  7. S

    How Can Relational Algebra Be Used to Find Diseases With Only One Medication?

    I was looking at that already - but couldn't figure it out... WIth those expressions I can easily determine the COUNT for each but how do I list only the diseases that have a count = 1? Thanks,
  8. S

    How Can Relational Algebra Be Used to Find Diseases With Only One Medication?

    I am trying to write the RELATIONAL ALGEBRA statement for a query defined as follows: "Find the diseases for which there is only one medication" I have a table TREATMENT with two attributes, DISEASE & MEDICATION TREATMENT (disease, medication) This table holds a list of diseases and...
  9. S

    Can you prove that P, Q, or L [Propositional Logics]

    Is it accurate to say the following: The case contradicting P is if Cleopatra is neither powerful, venerate or feared, then the premises don't imply that Cleaopatra is powerful Thanks,
  10. S

    Can you prove that P, Q, or L [Propositional Logics]

    Is it accurate to say the following: The case contradicting P is if Cleopatra is neither powerful, venerate or feared, then the premises don't imply that Cleaopatra is powerful Thanks,
  11. S

    Can you prove that P, Q, or L [Propositional Logics]

    I think I get it - you can't prove that she was Powerful neither can you prove that she wasn't correct? I think that is where most of my confusion came from - thinking that I had to either prove she was or wasn't when I only need to state that I can't prove it either way... Do you know if...
  12. S

    Can you prove that P, Q, or L [Propositional Logics]

    Homework Statement I was given the following text: If Cleopatra was powerful, then she was venerated but if she was not powerful, then she was not venerated and she was feared. If Cleopatra was either venerated or feared, then she was a queen. Cleopatra was a leader if she was a queen. P =...
  13. S

    Can you prove that P, Q, or L [Propositional Logics]

    Homework Statement I was given the following text: If Cleopatra was powerful, then she was venerated but if she was not powerful, then she was not venerated and she was feared. If Cleopatra was either venerated or feared, then she was a queen. Cleopatra was a leader if she was a queen. P =...
Back
Top