Re: Efficient way to store an isomorphism?
- From: "Edsko de Vries" <devriese@xxxxxxxxx>
- Date: 11 Aug 2005 05:01:17 -0700
Hi,
> Yes, but it takes O(n) space to store the hash function. It's still
> advantageous if you have time to compute the hash function beforehand,
> because lookups are actually O(1) worst case.
>
> Google for "minimal perfect hashing". Many minimal perfect hashing
> algorithms let you choose the mapping precisely. This one is my favourite:
>
> http://citeseer.ist.psu.edu/czech92optimal.html
Thank you for your reply. I did not realise that these minimal perfect
hashing schemes allowed one to choose the mapping (it's been a while
I've studied this stuff :-)
I've read the paper you recommended and it indeed does what I need, so
thank you for that. However, I'm wondering, is it possible to better
than the method in the paper, in terms of the space required to store
the hash function? Or can it be shown that such an improvement is not
possible?
Thanks again,
Edsko
.
- Follow-Ups:
- Re: Efficient way to store an isomorphism?
- From: Matt Timmermans
- Re: Efficient way to store an isomorphism?
- References:
- Efficient way to store an isomorphism?
- From: Edsko de Vries
- Re: Efficient way to store an isomorphism?
- From: Matt Timmermans
- Efficient way to store an isomorphism?
- Prev by Date: Re: asymptotic behaviour of multivariate recurrence equations?
- Next by Date: Re: asymptotic behaviour of multivariate recurrence equations?
- Previous by thread: Re: Efficient way to store an isomorphism?
- Next by thread: Re: Efficient way to store an isomorphism?
- Index(es):
Relevant Pages
|