Questions tagged [transitivity]

34 questions
0
votes
2 answers

Disable transitive dependencies for everything expect compile project(...)

Is it possible to configure hibernate to only take transitive dependencies from a project I am relying on (compile("foobar")) and disable transitivity for everything else? That's what I tried so far: configurations.all { transitive =…
u6f6o
  • 2,050
  • 3
  • 29
  • 54
0
votes
1 answer

Prolog falling into infinite loop

I'm trying to define the rule of "My friend's friend is my friend" in prolog, and I have the following code: friends(john,jake). friends(mike,hans). friends(hans,robert). friends(robert,angela). mutual_friendship(X,Y):- friends(X,Y); …
0
votes
1 answer

Find the maximum of an intransitive set, with minimum comparisons

An intransitive set can have members A B and C where A > B > C but C > A. Such a set might be photos ordered by a person's preference. I can relatively easily find algorithms for finding the maximum of a transitive set with minimal work, and even…
bukzor
  • 37,539
  • 11
  • 77
  • 111
-3
votes
2 answers

prime to prime transitivity in 3nf normal form

I am stuck in this question. What should be the answer to this: The relation scheme Student Performance (name, courseNo, rolINo, grade) has the following functional dependencies: name, courseNo, -> grade rolINo, courseNo -> grade …
1 2
3