![]() | |
#31
| |||
| |||
|
|
Or one would have to leave the much desirable D&D requirement that "if x == y, then for all f : f(x) == f(y)". |
#32
| |||
| |||
|
|
On May 20, 9:24*am, Gene Wirchenko <ge... (AT) ocis (DOT) net> wrote: On Wed, 19 May 2010 18:54:45 -0700 (PDT), Tegiri Nenashi tegirinena... (AT) gmail (DOT) com> wrote: On May 19, 5:22*pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote: ... The message I got from the book, at least the practical conclusion, is that we must always think separately about a system and reality, ... This is a recurring theme in many science endeavors. I remember a story told by prof Mark Krasnoselski (RIP). "Here is a linear dynamic system with a simple positive lookback. It converts an input *x(t) ^^^^ |
|
into x(t-T). Think about it: it predicts the future! When this has ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ |
|
been discovered many "hands-on" people rushed to make actual implementations! Than he paused.... Do you understand the difference between the model and reality?" * * *Could you please unpack this? *I do not have the background to follow the story, but I understand the conclusion. Not sure what you are asking. The background http://www.stanford.edu/class/ee102a/lecture4x4.pdf It studies systems assembled out of well defined primitive blocks such as delay, integrator, differentiator, etc. I don't remember the detail of the system in question, other than it contained a no more than two elements arranged in a simple feedback loop and one of them was delay. One reason why it doesn't work as intended is because it is unstable. |
#33
| |||
| |||
|
|
On Thu, 20 May 2010 13:52:24 -0700 (PDT), Tegiri Nenashi tegirinenashi (AT) gmail (DOT) com> wrote: On May 20, 9:24 am, Gene Wirchenko <ge... (AT) ocis (DOT) net> wrote: On Wed, 19 May 2010 18:54:45 -0700 (PDT), Tegiri Nenashi tegirinena... (AT) gmail (DOT) com> wrote: On May 19, 5:22 pm, paul c <toledobythe... (AT) oohay (DOT) ac> wrote: ... The message I got from the book, at least the practical conclusion, is that we must always think separately about a system and reality, ... This is a recurring theme in many science endeavors. I remember a story told by prof Mark Krasnoselski (RIP). "Here is a linear dynamic system with a simple positive lookback. It converts an input x(t) ^^^^ An input on x at time t? into x(t-T). Think about it: it predicts the future! When this has ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ An input on x at time t-T? What is T? |
|
How does this follow? |
#34
| |||
| |||
|
|
paul c wrote: .... When you talk of a unary relation, do you really mean a set of unary facts of a single unary fact type? Or do you also include existential fact types under the term "unary relation"? Because for me, those are quite different things. |
#35
| |||
| |||
|
|
By unary relation I mean a relation with one attribute (which I think is pretty standard lingo, surprised that anybody here wouldn't think that) |
|
but I have no idea what a 'fact type' is. I know of relation and tuple types but don't know what use terms like 'fact type' or 'unary fact' terms might have. |
#36
| |||
| |||
|
|
paul c wrote: By unary relation I mean a relation with one attribute (which I think is pretty standard lingo, surprised that anybody here wouldn't think that) Right, that's what I thought you meant. In which case, it could be a representation of either an existential fact type (an object type), or a unary predicate over one. The distinction is important. A unary predicate creates a subset of the object type it involves. This distinction was, I believe, the cause of your earlier disagreement. Further, a unary fact type does not have to be mapped as a unary relation.. It could be represented as a boolean value in a table of that object type.. but I have no idea what a 'fact type' is. *I know of relation and tuple types but don't know what use terms like 'fact type' or 'unary fact' terms might have. Fact oriented modeling has a parallel history with relational modeling. It's built on logic rather than sets; those are two sides of one coin. Needless to say, it has its own terminology - I tried to introduce some. It's a different perspective, equal in power and purity to RM. It has some advantages in mapping to natural language somewhat better. Seehttp://ormfoundation.orgfor more details. Ignore it, or look into it, but don't scoff at it until you've looked into it. |
#37
| ||||||||||
| ||||||||||
|
|
You seem to axiomatically assume that OIDs are a necessity, and that they _must_ exist. |
|
Assertions of fact _can still be made_ if one does not have OIDs. |
|
*The constructor can be seen as a function selecting an object from the class domain. No it cannot. *If this were really true, then (using java as my particular OOP dialect) "new Integer(1) == new Integer(1)" would have to yield true. |
|
Or one would have to leave the much desirable D&D requirement that "if x == y, then for all f : f(x) == f(y)". |
|
OOP interfaces correspond to relations between class-concepts, while abstract classes correspond to normalization. *Virtual methods include the signature of a method in the class-concept, while deferring the implementation to the class domain. OOP Interfaces are declarations of which methods are to be available. Methods are (declarations of) operators. So OOP interfaces are (declarations of (sets of)) operators. That is not a type of thing that can possibly "correspond to relations". |
|
*Hence, in a concrete class with virtual methods, we have both a class-concept and a default value for its domain. *Relations between class-concepts extend to the class domain, but don't include the default implementation. *Furthermore, the inability to enumerate the domain class of an OOP class leads to developers creating ad-hoc collections, and the failure to distinguish intension from extension and default values leads to faulty reasoning about all aspects of the system. Sorry, sounds like gibberish to me. |
|
RELATION{TUPLE{Erwin}TUPLE{Nilone}TUPLE{Bob Badour}} corresponds to the extension of the predicate "x is a man" : "Erwin is a man and Nilone is a man and Bob Badour is a man". Now does such a thing correspond to "object class" ? *No, it doesn't. |
|
To the extent that it is even feasible/justifiable/warranted/... to imagine any kind of correspondence between the two, I would _always_, _unequivocally_ say that "object class" corresponds much more to "x is a man" than that it corresponds to any extension of that predicate. The actual link I see is really obscure, which is why I said "to the extent that it is warranted to imagine any kind of correspondence" : object class corresponds to predicate, predicate corresponds to relvar, relvar has a (declared) (relation) type, therefore object class corresponds to (relation) type. |
|
And just so you don't jump on this apparent distinction I might appear to be making between relation types and scalar types : both are just types, so what I said was intended to be interpreted as "object class corresponds to type". I hope my reasons are sufficient, if not, I await your criticism. Sorry, but what you thought to be "reasons for your position", has, imo, to be dismissed on the grounds that they are "gibberish". |
|
As a matter of fact, I happen to believe that trying to invent correspondences between "object model" and "relational model" is a futile waste of time, precisely because of the fact that the "object model" (which doesn't deserve to be labeled a "model" to boot, but never mind) fails to make the necessary proper distinctions between value and variable. |
#38
| |||
| |||
|
|
paul c wrote: By unary relation I mean a relation with one attribute (which I think is pretty standard lingo, surprised that anybody here wouldn't think that) Right, that's what I thought you meant. In which case, it could be a representation of either an existential fact type (an object type), or a unary predicate over one. The distinction is important. A unary predicate creates a subset of the object type it involves. This distinction was, I believe, the cause of your earlier disagreement. Further, a unary fact type does not have to be mapped as a unary relation.. It could be represented as a boolean value in a table of that object type.. but I have no idea what a 'fact type' is. *I know of relation and tuple types but don't know what use terms like 'fact type' or 'unary fact' terms might have. |
#39
| |||
| |||
|
|
On May 21, 7:57*am, Clifford Heath <n... (AT) spam (DOT) please.net> wrote: paul c wrote: By unary relation I mean a relation with one attribute (which I thinkis pretty standard lingo, surprised that anybody here wouldn't think that) Right, that's what I thought you meant. In which case, it could be a representation of either an existential fact type (an object type), or a unary predicate over one. The distinction is important. A unary predicate creates a subset of the object type it involves. This distinction was, I believe, the cause of your earlier disagreement.. Further, a unary fact type does not have to be mapped as a unary relation. It could be represented as a boolean value in a table of that object type. but I have no idea what a 'fact type' is. *I know of relation and tuple types but don't know what use terms like 'fact type' or 'unary fact' terms might have. Perhaps, fact type = intension while unary fact = proposition |
#40
| |||
| |||
|
|
It seems like the "big brown book" is the bible of the ORM faith. *Faith* is the right word. Science is a different matter. |
|
Looking at the TOC, I see that in the field of constraints, the book distinguishes between uniqueness constraints, value constraints, subset constraints, equality constraints, exclusion constraints, ring constraints, join constraints, ... Having tried for more than 30 years to discard RM, OO crowd is now |
![]() |
| Thread Tools | |
| Display Modes | |
| |