Slashdot Mirror


User: joho

joho's activity in the archive.

Stories
0
Comments
8
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 8

  1. Re:Ford and Fulkerson on Does P = NP? · · Score: 1

    You can find a description of their algorithm formaximum flow in a network (which
    presumably is what the paper is about, since its title is Flows in Networks) in basically
    any algorithms book. Ex. Cormen Leiserson Rivest, Introduction to Algorithms.

  2. Re:NP Non-deterministic Polynomial on Does P = NP? · · Score: 1

    The problem is clearly NP-complete, since it is
    basically the same as the graph-coloring problem,
    which is a well-known NP-complete problem.

  3. Re:NP-completeness on Mastering Algorithms with Perl · · Score: 1
    There is one part of the review which doesn't make much sense

    No, it's your post which doesn't make much sense.

    A big part of this is simply wrong.

    No, it's not.

    Problems are NP-complete if it is proven that there is no algorithm which solves it in polynomial time.

    No. A problem is NP complete if it is in NP (i.e it is an decision problem whose solution can be verified in polynomial time) and if every other problem in NP reduces to it. It is believed that there is no polynomial time algorithms for NP complete problem, but this has not been proved.

    A problem is NP hard is every problem in NP reduces to it (i.e it need not necessarily be in NP)

    If no literature is found, showing that the problem is NP-complete will take skills on highly advanced levels.

    I'm not sure what you mean by "highly advanced". We teach it to second year undergraduate CS-students.

    My (limited) experience with real-life examples is that they are either trivial or quite difficult to prove NP-complete.

  4. Re:Stop spreading misinformation on Israelis Crack RSA 512 Bit in Microseconds · · Score: 1
    The complexity of factoring an n-bit number under the NFS as you point out, is order of exp( (ln(n))^(1/3) * (ln(ln(n)) ^(2/3))

    As someone pointed out, if this were true, factoring would be possible in subpolynomial time. The number n in the above should be the number being factored, not the number of bits.

  5. Re:Stop spreading misinformation on Israelis Crack RSA 512 Bit in Microseconds · · Score: 1

    Yes, you are missing that n^c only is polynomial
    when n is the number of bits. Here, n is the
    number being factored, so the number of bits is
    log n

  6. Re:"Current Factoring Technology" on CNN On Story on GnuPG 1.0 · · Score: 1
    Solving the DL problem would also solve the factoring problem, but not the other way around

    As far as I know, this has not been proven (if you know otherwise, please provide a reference). However, in practice advances in factoring seems to leads to advances in discrete logarithms and vice versa.

  7. Re:"Current Factoring Technology" on CNN On Story on GnuPG 1.0 · · Score: 1
    Quantum computers make factoring primes a linear rather than exponential problem

    Well, factoring primes is easy. :-) However, factoring other numbers into primes (which is probably what you meant), does not require exponential time.

  8. Re:Obviously you haven't used ML too much... on Computer Programming for Everyone · · Score: 1

    Huh? There is not "two calling conventions" in ML. There is one calling convention,
    function followed by argument. Of course, the function can be any function-valued expression.

    In the case on an uncurried function, the argument is a tuple. This is no different from using any
    other datastructure as an argument. I.e conceptually there is no difference between

    f (x,y)
    and
    f (Leaf x)

    Of course, the One True Programming Language is not ML, but Haskell. :-)