I'm also enthusiastic about eventually replacing the current core.logic defrel/fact stuff with this excellent work.
David On Wed, Feb 27, 2013 at 4:45 PM, Norman Richards <o...@nostacktrace.com>wrote: > > > On Wed, Feb 27, 2013 at 2:50 PM, JvJ <kfjwhee...@gmail.com> wrote: > >> >> I'm creating something with core.logic that involves multiple >> "agents"(not the same as a clojure agent!) which each have distinct >> knowledge. I'd like to know the best way of going about separating the >> knowledge base so that it can be accessed by each agent individually. >> >> The simplest thing I can think of is to define each relation with an >> additional agent parameter, but that seems sloppy and I'm not sure if it >> would be efficient. Is this a good approach, or is there something better >> I can do? >> > > > Threatgrid had the problem of wanting to have distinct datasets over the > same relations. Our solutions was to declare facts in to a persistent > logic db and refer them explicitly when performing queries. I've released > part of that work here: > > https://github.com/threatgrid/pldb > > There's a branch with indexing support on my fork, and I have a few other > enhancements queued up. We use this code on some very large datasets and > it is working well for us. > > > > -- > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.