comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Self pointer in limited record
Date: Wed, 5 Sep 2007 21:52:34 +0200
Date: 2007-09-05T21:52:04+02:00	[thread overview]
Message-ID: <z9bv2evgi034$.c5w7oonnbudf$.dlg@40tude.net> (raw)
In-Reply-To: 1189017071.2630.246.camel@kartoffel.vocalweb.de

On Wed, 05 Sep 2007 20:31:11 +0200, Georg Bauhaus wrote:

> On Wed, 2007-09-05 at 14:04 +0200, Dmitry A. Kazakov wrote:
>>  and you have to fix the point of view before you start to talk about
>> *an* abstraction. The abstraction can be "dog" or it can be "named thing,"
>> but it cannot be Spike.
> 
> I fail to see why Spike the dog cannot become an abstract entity
> of a program.
> My perception of Spike can be that of a "named thing"
> with some details abstracted away as I see fit.
> Assuming a name doesn't turn a thing into atomic information
> without properties and without behavior.

There exist no information without "behavior." Information is meaningless
in absence of receivers. If Spike barks there is at least a tree here to be
barked at. Barking in vacuum does not work.

>>> Abstraction as a process can be fuzzy, I known you are familiar
>>> with that?
>> 
>> If you want to refer to fuzziness and other measures of uncertainty, then
>> carefully observe that these always brings multiple concurrent choices
>> with.
> 
> For example the programmer's choice could include alternative
> points of view, suggested by the problem description. Each viewpoint
> can yield a slightly different abstraction when the resulting
> interfaces, say, are a consequence of more or less emphasis on 
> some of the dog's characteristics.

Yes you can have a set of abstractions and some confidence measure attached
to each. The idea of probability et all theories is that all these
outcomes, events, "focal elements" etc coexist. You cannot prefer any of
them for certain, as you cannot say odd or even before the coin falls. This
cannot be trivialized to certainty. So any model and whatever it predicts,
always boils down to a distribution of confidences and stops there.

>>  You simply cannot define either probability or possibility or
>> whatever else measure on a singleton substrate without trivializing it to
>> the crisp case. This is non-starter.
> 
> I have to ask whether by singleton substrate you mean
> something in the problem description that states one and only
> one possible quality of a thing. That'll beg the question, of course.

If you have only one elementary outcome then its probability is trivially
1. You need a surface to smear uncertainty on... (:-))

>>> There are other sources, not dealing with Ada specifically,
>>> but mentioning the use of Ada packages for this.
>> 
>> So what? I don't see any connection. How using ASM as an adjective to the
>> word "package" could define either?
> 
> Why define Ada packages in terms of ASMs or vice versa?

I didn't do that, not my idea.

>> The point was "to have one instance" and "to be a FSM" are unrelated.
> 
> There is a point of view from which the concept "to have one instance"
> and "to be a FSM" are unrelated. When writing an Ada program, you may
> have a point of view from which the concept "to have one instance" and
> "to be a FSM" coincide on a suitable conceptual level. It is the level
> on which an abstract state machine package is explained.

Can I take a protected object or a task to implement either?

(I have no respect to singletons. They might have some sacral meaning for
some OO proponents, but that was always beyond my understanding.)

>>>>>>  But an *abstract* state
>>>>>> machine is definitely a type that generalizes many concrete state machines.
>>>>> By what definition of type is an ASM a type that generalizes many
>>>>> concrete state machines (=what, in Ada terms?)?
>>>> 
>>>>    type State is (...);
>>>>    type Transition_Relation is array (State, State) of Boolean;
>>>>    type ASM is private;
>>>>    function Create (Initial : State; Wiring : Transition_Relation)
>>>>       return ASM;
>>>>    procedure Step (Machine : in out ASM; Input : State);
>>>> 
>>>> This machine is abstract because its wiring is a parameter (abstracted).
>>> 
>>> Hm. A singular parameter as a source of abstraction ... not a plural ...
>> 
>> Plural is addressed to the set of values of that type.
> 
> So abstraction is all about starting at some type and then
> saying the thing using parameters of the type is abstract
> because each parameter will be of a yet unknown concrete kind?
> Seems like a narrowed view of abstraction.

It is not the whole view, just a necessary component of: "one for many."
You can have it with variable vs. values, type vs. values+operations, sets
of types vs. types (classes/generics). I don't object when "many" is in the
problem domain and "one" is in the solution one. It is an abstraction too,
but not so interesting as others.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2007-09-05 19:52 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-04 19:31 Self pointer in limited record Maciej Sobczak
2007-07-05  8:22 ` Dmitry A. Kazakov
2007-07-05 10:35   ` Maciej Sobczak
2007-07-05 11:01     ` Pascal Obry
2007-07-05 11:14     ` Georg Bauhaus
2007-07-05 12:36     ` Dmitry A. Kazakov
2007-08-31 16:47 ` amado.alves
2007-08-31 17:09   ` Pascal Obry
2007-08-31 17:37   ` Adam Beneschan
2007-08-31 18:26   ` Jeffrey R. Carter
2007-08-31 19:33   ` Dmitry A. Kazakov
2007-09-01 13:33     ` Georg Bauhaus
2007-09-01 13:46       ` Dmitry A. Kazakov
2007-09-01 14:15         ` Georg Bauhaus
2007-09-01 16:03           ` Dmitry A. Kazakov
2007-09-01 19:49             ` Georg Bauhaus
2007-09-01 20:09               ` Dmitry A. Kazakov
2007-09-02 21:37                 ` Georg Bauhaus
     [not found]                   ` <re7ei5lc7dzf$.11qtcnh35jmzg$.dlg@40tude.net>
2007-09-03 10:51                     ` Georg Bauhaus
2007-09-03 14:17                       ` Dmitry A. Kazakov
2007-09-03 15:55                         ` Jean-Pierre Rosen
2007-09-03 19:17                           ` Dmitry A. Kazakov
2007-09-03 19:32                             ` Markus E L
2007-09-03 20:14                             ` Georg Bauhaus
2007-09-04  8:24                               ` Dmitry A. Kazakov
2007-09-04  9:36                                 ` Jean-Pierre Rosen
2007-09-04 10:14                                   ` Dmitry A. Kazakov
2007-09-05 10:49                                 ` Georg Bauhaus
2007-09-05 12:04                                   ` Dmitry A. Kazakov
2007-09-05 13:12                                     ` Jean-Pierre Rosen
2007-09-05 15:10                                       ` Dmitry A. Kazakov
2007-09-05 16:25                                         ` Jean-Pierre Rosen
2007-09-05 19:52                                           ` Dmitry A. Kazakov
2007-09-06  7:19                                             ` Jean-Pierre Rosen
2007-09-06  9:28                                               ` Dmitry A. Kazakov
2007-09-06 11:53                                                 ` Jean-Pierre Rosen
2007-09-06 15:35                                                   ` Dmitry A. Kazakov
2007-09-05 18:31                                     ` Georg Bauhaus
2007-09-05 19:52                                       ` Dmitry A. Kazakov [this message]
2007-09-05 21:38                                         ` Georg Bauhaus
2007-09-06  7:37                                           ` Dmitry A. Kazakov
2007-09-06 10:26                                             ` Georg Bauhaus
2007-09-06 12:25                                               ` Dmitry A. Kazakov
2007-09-08  1:27                                               ` Randy Brukardt
2007-09-06  9:14                                         ` Markus E L
2007-09-06  9:48                                           ` Dmitry A. Kazakov
2007-09-04  8:23                             ` Jean-Pierre Rosen
2007-10-31 23:59                           ` adaworks
2007-09-03 20:38                         ` Georg Bauhaus
2007-09-04  8:24                           ` Dmitry A. Kazakov
2007-09-03  7:54             ` Jean-Pierre Rosen
2007-09-01 15:33         ` Markus E L
2007-09-04 14:55           ` Adam Beneschan
2007-09-04 15:09             ` Jean-Pierre Rosen
2007-09-08  1:36               ` Randy Brukardt
2007-09-04 17:31             ` Georg Bauhaus
2007-09-08  1:16     ` Randy Brukardt
2007-09-10 16:27       ` amado.alves
2007-09-10 17:13         ` Adam Beneschan
2007-09-10 19:00         ` Dmitry A. Kazakov
2007-09-11  3:12           ` Randy Brukardt
2007-09-11  9:38             ` Dmitry A. Kazakov
2007-09-12 21:57               ` Randy Brukardt
2007-09-13  8:03                 ` Dmitry A. Kazakov
2007-09-13 21:37                   ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox