home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.ai.neural-nets:3321 comp.ai:3232 comp.theory:1831
- Newsgroups: comp.ai.neural-nets,comp.ai,comp.theory
- Path: sparky!uunet!s5!sethb
- From: sethb@fid.morgan.com (Seth Breidbart)
- Subject: Re: measuring complexity (was Re: Kolmogorov Complexity)
- Message-ID: <1992Aug27.010147.16422@fid.morgan.com>
- Organization: my opinions only
- References: <BsxH2n.Ks4@math.uwaterloo.ca> <1992Aug14.183256.20441@access.digex.com> <1992Aug17.171934.9364@cs.sfu.ca>
- Date: Thu, 27 Aug 1992 01:01:47 GMT
- Lines: 43
-
- In article <1992Aug17.171934.9364@cs.sfu.ca> jamie@cs.sfu.ca
- (Jamie Andrews) writes:
-
- > So, for instance, the K-complexity of a given list of
- >numbers might be defined as: the length of the shortest program
- >in pure LISP such that the value of the s-expression "(result)"
- >is that list. (Well, I guess it would have to be pure LISP plus
- >some arithmetic functions.) The "length" of a program might be
- >defined as the total number of atoms plus the total number of
- >sets of parentheses, to give a more realistic idea of the
- >storage space needed by the program.
-
- If any number will fit in one atom, then all strings have complexity
- bounded above by some small number.
-
- > A measure of K-complexity relative to some standard suite
- >of function definitions could be given, too. The relative
- >K-complexity would be the length of the shortest pure LISP
- >program containing that suite of definitions, _minus_ the length
- >of those definitions. The minimal program could then make use
- >of the "knowledge" in the standard functions without having to
- >derive it.
-
- Since the answer is almost always undecidable, I doubt you could get
- any interesting results.
-
- > By the way, I asked about K-complexity here a few years
- >ago, and was given convincing arguments that finding the
- >K-complexity of a given string is in general undecidable.
-
- Since no string can be shown to have complexity greater than C (for
- some constant C), and all except a finite number of strings have
- complexity greather than C, ...
-
- >I don't know about randomized algorithms, though.
-
- If a randomized algorithm is any that _can_ output the string, a
- trivial one exists: (output random bit; maybe loop). If it _must_
- output the string, or can only output the string (or die), or outputs
- the string with some minimal probability, then you haven't gained
- anything from randomness.
-
- Seth sethb@fid.morgan.com
-