Re: multiset ordering
- From: nowhereface@xxxxxxx
- Date: Thu, 19 Jul 2007 18:05:10 -0700
This might sound like heresy to some people (it isn't intended that
way), but if I were you I'd consider interfacing my Prolog with a
language which already has built in support for the things you want -
bags, sets, multisets, etc. To me, the only reasons for
reimplementing all this stuff in Prolog other than educational
purposes (i.e. trying to learn the Prolog language) would be 1) It
isn't practical in your particular application to interface with
another language, for whatever reason, or 2) You are a masochist.
Personally, I quit implementing data structures and what not in
computer languages when I left college. It's a waste of my time. If
the language doesn't have native support for what I need, or doesn't
have high-quality, freely available and easily locatable libraries to
interface with, I interface with another language, or use another
language altogether. Think about it. Your goal isn't to create bags,
sets, multisets, hashes, etc. Your goal is to USE those things to
further your real goal.
To illustrate, it takes 1 line in a language like Smalltalk to declare
a multiset, and use it.
.
- Follow-Ups:
- Re: multiset ordering
- From: A . L .
- Re: multiset ordering
- References:
- multiset ordering
- From: Giovanni Gherdovich
- Re: multiset ordering
- From: Pierpaolo BERNARDI
- Re: multiset ordering
- From: Giovanni Gherdovich
- Re: multiset ordering
- From: Steffen Schwigon
- Re: multiset ordering
- From: Giovanni Gherdovich
- multiset ordering
- Prev by Date: Re: multiset ordering
- Next by Date: Re: multiset ordering
- Previous by thread: Re: multiset ordering
- Next by thread: Re: multiset ordering
- Index(es):
Relevant Pages
|
|