+ 1

How do I implement closure algorithm in c

Closure in relation to database. Functional dépendances.

10th Feb 2020, 10:15 PM
Felix
Felix - avatar
9 Answers
+ 6
Is it me or is Closure of Functional Dependency a bad joke that CS academics created to over complicate RDBMS for college students? đŸ€ŁđŸ˜‚ Seriously, this linked article is filled with a lot of theoretical abstract concepts that seems vaguely similar to rationalizing how to structure columns, a.k.a. attributes across table relationships. - Yeesh I'm sure if I wanted to torture myself more, I could spend a few more minutes trying to decipher this further. But man... I don't get why it has to be so abstract. đŸ€“ #justsayin
10th Feb 2020, 11:47 PM
David Carroll
David Carroll - avatar
+ 4
Closures in database theory are not remotely similar to closures in programming. One has to do with set theory and axioms used for relational databases. The other has to do with binding a function to an enclosed lexical scope.
11th Feb 2020, 2:50 AM
David Carroll
David Carroll - avatar
+ 3
The Closure Of Functional Dependency means the complete set of all possible attributes that can be functionally derived from given functional dependency using the inference rules known as Armstrong’s Rules. If “F” is a functional dependency then closure of functional dependency can be denoted using “{F}+”. https://www.minigranth.com/dbms-tutorial/closure-of-functional-dependency/
10th Feb 2020, 11:24 PM
BroFar
BroFar - avatar
0
Thanks sir
10th Feb 2020, 11:26 PM
Felix
Felix - avatar
0
But how do I implement it...
10th Feb 2020, 11:28 PM
Felix
Felix - avatar
0
Did you read the page / url I included as it explains how to implement and close ?
10th Feb 2020, 11:32 PM
BroFar
BroFar - avatar
0
I understand closure..but I don't know how to implement it with c programing
10th Feb 2020, 11:52 PM
Felix
Felix - avatar
0
ok here is another approach way different link I was actually going to write this out... Yes I agree David they seem to never explain things easy ... https://blog.vjeux.com/2014/c/simulate-closure-in-c.html
11th Feb 2020, 12:17 AM
BroFar
BroFar - avatar
0
Thanks boss
11th Feb 2020, 8:16 PM
Felix
Felix - avatar