ackermann Questions

7

Solved

I am wondering if there can be a version of Ackermann function with better time complexity than the standard variation. This is not a homework and I am just curious. I know the Ackermann function d...
Trakas asked 26/6, 2023 at 18:13

1

Solved

I've read the paper An inherently iterative computation of Ackermann's function, published by Grossman & Zeitman in which they present an algorithm which optimizes Ackermann's function. We know...
Mountaintop asked 6/1, 2022 at 0:23

3

Solved

I am trying to define the Ackermann-Peters function in Coq, and I'm getting an error message that I don't understand. As you can see, I'm packaging the arguments a, b of Ackermann in a pair ab; I p...
Bahena asked 24/4, 2012 at 5:53

1

Solved

In a class for analysis of algorithms, we are presented with this pseudocode for Kruskal's algorithm: He then states the following, for disjoint-set forests: A sequence of m MAKE-SET, UNION, ...

4

Does anybody know the time complexity to compute the ackermann function ack(m,n) in big-O notation or to which complexity class it belongs? Just Ack(3, n) would be also sufficient. I read somewher...
Mintun asked 28/6, 2013 at 14:47

2

Solved

Here's an old question from 7 months ago, when stack overflowers agreed that Haskell's inefficiency in computing the Ackermann function was due to a compiler error. Ackermann very inefficient with...
Bombshell asked 11/12, 2013 at 21:55

3

Solved

The standard Ackermann formula as written in Java: public static int ack(int x, int y) { if (x == 0) { return y + 1; } else if (y == 0) { return ack(x-1, 1); } else { // perforce (x > 0...
Jenijenica asked 5/12, 2013 at 21:9

2

Solved

I would like to compute the A(3, 20) value of Ackermann function (see Wikipedia) which should be 2^23 - 3 = 8388605 using Data.MemoCombinators. My code is: {-# LANGUAGE BangPatterns #-} import Dat...
Pout asked 26/10, 2012 at 12:2

1

Solved

Can anybody give me an intuitive explanation of why the Ackermann function http://en.wikipedia.org/wiki/Ackermann_function is related to the amortized complexity of union-find algorithm used for di...
Riannon asked 14/6, 2011 at 11:45

1

Solved

I'm trying to write a hyperoperation function in haskell. It's usually wrritten as ackermann(a,b,n) but for partial application purposes I think it makes more sense to put n first. As such I'm cal...
Bradbury asked 11/5, 2011 at 16:10
1

© 2022 - 2024 — McMap. All rights reserved.