Fork me on GitHub
#clara
<
2016-09-20
>
wparker09:09:18

@ramkumarkb : If you mean that the facts are Java objects, I don’t see any barrier to that; JavaBeans are a very normal Clara fact. If you mean working in Clojure with a Java session of the sort in the docs you linked, you can interact with it via Clojure’s Java interop; see https://github.com/rbrush/clara-rules/blob/master/src/test/clojure/clara/test_java.clj#L42 for an example

wparker16:09:06

My understanding is that this ultimately works because Clara stores logical insertions in the activation-memory

wparker16:09:21

I’m curious - do you have a particular sort of case in mind?

wparker16:09:05

The graphs in clara-tools seem to work OK, though when I last poked around at them there seemed to be some oddities around accumulators, but I haven’t looked at it much yet

devn16:09:25

@wparker Our rules are pretty DAG-y, and continue to grow in number

devn16:09:01

for the sake of development, understanding the flow, it'd be nice to output the rules as a graph for a particular run

wparker16:09:33

Ah, so more of a static thing than as a web app like clara-tools perhaps

devn16:09:46

I want to show someone who works directly with a customer the decision tree

devn16:09:49

though, as time goes on, a more interactive tool could be nice, to simulate what might happen if a rule were added to do X

wparker16:09:30

yeah, something like a static doc visualization to hand someone could be useful