Re: Reductions in P
- From: ahuznot@xxxxxxxxx
- Date: 15 Jul 2006 13:11:24 -0700
t...@xxxxxxxxxxxxx wrote:
Not quite. Given what you've said so far, it is possible that g might
take an input of size m and generate an output of size as big as m^2.
This output will become the input for A3, which runs in time proportional
to the 4th power of the size m^2 of *its* input. Since (m^2)^4 = m^8,
the compound algorithm may take as long as the 8th power of the size m
of the original input.
Let' see. You're saying that g can take an input of size m and generate
output of size O(n^k), k in N. Ooops.
Well this didn't occur to me, since I have been studying time
complexity so far, but what are you basically talking about now, is
space complexity.
So this leads me to the following question: g() being polytime, what is
the worst space complexity for g? O(m^k)? Or can it be something like
O(e^m)?
Also if space complexity for g is O(m^k), does this mean that the
solution for p3 is O(m^k)*O(n^4) = O(m^k * n^4)? Thanks.
.
- Follow-Ups:
- Re: Reductions in P
- From: tchow
- Re: Reductions in P
- References:
- Reductions in P
- From: ahuznot
- Re: Reductions in P
- From: tchow
- Re: Reductions in P
- From: ahuznot
- Re: Reductions in P
- From: tchow
- Reductions in P
- Prev by Date: Re: Reductions in P
- Next by Date: Re: Reductions in P
- Previous by thread: Re: Reductions in P
- Next by thread: Re: Reductions in P
- Index(es):