From: Christian Lindig <lindig@cs.uni-sb.de>
To: Sebastian Egner <sebastian.egner@philips.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] efficient binary relations?
Date: Fri, 31 Mar 2006 15:42:37 +0200 [thread overview]
Message-ID: <e16b969021cf185b0879857ca0f4c0d5@cs.uni-sb.de> (raw)
In-Reply-To: <OFC99B0F81.298F7B60-ONC1257142.00424AC7-C1257142.0046A500@philips.com>
On Mar 31, 2006, at 2:50 PM, Sebastian Egner wrote:
> Please could you clarify the circumstances a little bit?
>
> 1. Are you looking for a data structure that you set
> up for a fixed R once and then query many times for
> different X? Or are you looking for a dynamic data
> structure in which you keep changing R? Or are you
> looking for a 'functional data structure' where the
> older versions of R are preserved? Or for a functional
> data structure where R is fixed, but the queries X
> are constructed incrementally?
>
> 2. Is R sparse, i.e. is |R| << |\X|*|\Y|?
First, thanks for a detailed suggestion! R is sparse, constructed once,
and queried often. As I mentioned, this is in the context of concept
analysis. The ' operation computes the maximal blocks (or concepts) in
a cross table; typically their number grows cubic with the size |R| of
the relation - hence the importance of the ' operation. (In the worst
case, when the matrix is densely populated, there may be exponentially
many blocks.)
I generally prefer applicative data structures (without side effects)
but understand that this is not always possible.
-- Christian
next prev parent reply other threads:[~2006-03-31 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-31 11:56 Christian Lindig
2006-03-31 12:21 ` [Caml-list] " skaller
2006-03-31 12:42 ` Christian Lindig
2006-03-31 12:50 ` Sebastian Egner
2006-03-31 13:42 ` Christian Lindig [this message]
2006-03-31 12:39 yoann padioleau
[not found] <28871572.1143807766574.JavaMail.www@wwinf1529>
2006-03-31 13:24 ` Christian Lindig
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e16b969021cf185b0879857ca0f4c0d5@cs.uni-sb.de \
--to=lindig@cs.uni-sb.de \
--cc=caml-list@inria.fr \
--cc=sebastian.egner@philips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox