|
Acme::HaltingProblem - A program to decide whether a given program halts |
Acme::HaltingProblem - A program to decide whether a given program halts
use Acme::HaltingProblem;
my $problem = new Acme::HaltingProblem(
Machine => sub { ... },
Input => [ ... ],
);
my $solution = $problem->solve();
The Halting Problem is one of the hardest problems in computing. The problem, approximately stated, is thus:
Given an arbitrary Turing Machine T and input for that turing
machine D, decide whether the computation T(D) will terminate.
analyse()
This code does not correctly deal with the case where the machine does not halt.
It would be nice if this module accepted instances of Acme::Turing.
Mail the author at <cpan@anarres.org>
Shevek
CPAN ID: SHEVEK
cpan@anarres.org
http://www.anarres.org/projects/
Copyright (c) 2002 Shevek. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1; __END__;
|
Acme::HaltingProblem - A program to decide whether a given program halts |