Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Hash table and SWI-Prolog
In an earlier reply, Jan from SWI had mentioned a hash table. I can't
find any documentation on this in SWI-Prolog. Can someone help or do I
have to code my own. And does anyone know about the rdf parser, I want
to mimic it for another ontology format. Does the rdf library use the
same hash table.

Thanks
Dale


Report this thread to moderator Post Follow-up to this message
Old Post
dpatte3@cs.umbc.edu
04-16-05 08:58 PM


Re: Hash table and SWI-Prolog
On 2005-04-16, dpatte3@cs.umbc.edu <dpatte3@cs.umbc.edu> wrote:
> In an earlier reply, Jan from SWI had mentioned a hash table. I can't
> find any documentation on this in SWI-Prolog. Can someone help or do I

I do not know in which context. Hash-tables are used internally for
indexing predicates with many clauses (and many other things). It is
just a datastructure, so you can make one in Prolog if you want. Library
assoc.pl contains associations using binary trees, often a good choice
for Prolog.

> have to code my own. And does anyone know about the rdf parser, I want
> to mimic it for another ontology format. Does the rdf library use the
> same hash table.

No idea what you are after.  The source is open though.

Success --- Jan

Report this thread to moderator Post Follow-up to this message
Old Post
Jan Wielemaker
04-16-05 08:58 PM


Re: Hash table and SWI-Prolog
assoc.pl - that's what I'm looking for.

Thanks


Report this thread to moderator Post Follow-up to this message
Old Post
dpatte3@cs.umbc.edu
04-21-05 08:58 PM


Re: Hash table and SWI-Prolog
dpatte3@cs.umbc.edu wrote:
> assoc.pl - that's what I'm looking for.


perhaps. Another possibility would be the fsa_hash.pl library (+related
variants) that comes with my Fsa utilities package. Depending on how
you want to use the hash-like datastructure this might be *much faster*
(or much slower...).

Gertjan


--
Gertjan van Noord Alfa-informatica, RUG,  Postbus 716, 9700 AS Groningen
vannoord at let dot rug dot nl            http://www.let.rug.nl/~vannoord

Report this thread to moderator Post Follow-up to this message
Old Post
vannoord@let.rug.nl
04-21-05 08:58 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Prolog archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:20 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.