Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #103755 > unrolled thread

Loop awareness

Started byjonas.thornvall@gmail.com
First post2016-02-29 12:07 -0800
Last post2016-02-29 13:53 -0800
Articles 3 — 2 participants

Back to article view | Back to comp.lang.python


Contents

  Loop awareness jonas.thornvall@gmail.com - 2016-02-29 12:07 -0800
    Re: Loop awareness Ian Kelly <ian.g.kelly@gmail.com> - 2016-02-29 13:31 -0700
      Re: Loop awareness jonas.thornvall@gmail.com - 2016-02-29 13:53 -0800

#103755 — Loop awareness

Fromjonas.thornvall@gmail.com
Date2016-02-29 12:07 -0800
SubjectLoop awareness
Message-ID<205018d7-f74d-4fbb-88e1-90c58200486a@googlegroups.com>
This program creates a uniform linktree of x nodes, and it knows when it get stuck in a loop generating random values.

Because the networks random generated, only a subset of the permutations will generate a uniform network most get stuck in loops generating random values. But the program keep track the exhausted links and knows when no uniform network possible.

Is this related to the halting problem?

http://jt.node365.se/mydebug1.html

[toc] | [next] | [standalone]


#103758

FromIan Kelly <ian.g.kelly@gmail.com>
Date2016-02-29 13:31 -0700
Message-ID<mailman.42.1456777958.20602.python-list@python.org>
In reply to#103755
On Mon, Feb 29, 2016 at 1:07 PM,  <jonas.thornvall@gmail.com> wrote:
> This program creates a uniform linktree of x nodes, and it knows when it get stuck in a loop generating random values.
>
> Because the networks random generated, only a subset of the permutations will generate a uniform network most get stuck in loops generating random values. But the program keep track the exhausted links and knows when no uniform network possible.
>
> Is this related to the halting problem?
>
> http://jt.node365.se/mydebug1.html

No, the halting problem is that you can't algorithmically determine
whether an *arbitrary* program given *arbitrary* input will ever halt.
When you narrow down the scope of the problem considerably, as you've
done here, then it's no longer necessarily undecidable.

[toc] | [prev] | [next] | [standalone]


#103761

Fromjonas.thornvall@gmail.com
Date2016-02-29 13:53 -0800
Message-ID<be819767-4277-4969-b11b-985bbd213675@googlegroups.com>
In reply to#103758
Den måndag 29 februari 2016 kl. 21:32:51 UTC+1 skrev Ian:
> On Mon, Feb 29, 2016 at 1:07 PM,  <jonas.thornvall@gmail.com> wrote:
> > This program creates a uniform linktree of x nodes, and it knows when it get stuck in a loop generating random values.
> >
> > Because the networks random generated, only a subset of the permutations will generate a uniform network most get stuck in loops generating random values. But the program keep track the exhausted links and knows when no uniform network possible.
> >
> > Is this related to the halting problem?
> >
> > http://jt.node365.se/mydebug1.html
> 
> No, the halting problem is that you can't algorithmically determine
> whether an *arbitrary* program given *arbitrary* input will ever halt.
> When you narrow down the scope of the problem considerably, as you've
> done here, then it's no longer necessarily undecidable.

Here i told it to only report the unfiorm subset of working networks.



http://jt.node365.se/mydebug2.html

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web