Boost logo

Boost Users :

Subject: Re: [Boost-users] [Graph] Using a bit-based ajacency matrix.
From: Thorsten Ottosen (thorsten.ottosen_at_[hidden])
Date: 2009-03-01 14:44:58


Steven Watanabe skrev:
> AMDG
>
> Thorsten Ottosen wrote:
>> Steven Watanabe skrev:
>>> Since when can you compute the bitwise and of an arbitrary
>>> size bitset in constant time?
>>
>> Well, if the bitset size is less than or equal the word size.
>
> That has nothing to do with big-O.
> big-O describes an algorithm's asymptotic
> behavior as the input becomes large.

Right.

Anyway, it doesn't change the fact that it is a lot faster, often
exchanging linear complexity with constant complexity (without alking
about big-O complexity).

-Thorsten


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net