SourceForge has been redesigned. Learn more.
Close

User Activity

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    Thanks!

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    Is there any support for models that change in time in a way that queries can access the historical states of the model?

  • Modified a comment on discussion Help on CLIPS Rule Based Programming Language

    There is a well known way to represent data through semantic nets (and this is what CLIPS is intended to work with). Let's say we need to represent a relationship "on-top-of" (apple A is on top of the table T). in CLIPS it will look like: (on-top-of <T> <A>) Where <T> and <A> can be fact IDs or OIDs generated by (gensym). Table and apple facts can look like: (apple red) (table black) How can I figure out what is on the table T? The type of the object on the table can vary, but CLIP doesn't allow...

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    There is a well known way to represent data through semantic nets (and this is what CLIPS is intended to work with). Let's say we need to represent a relationship "on-top-of" (apple A is on top of the table T). in CLIPS it will look like: (on-top-of <T> <A>) Where <T> and <A> can be fact IDs or OIDs generated by (gensym). Table and apple facts can look like: (apple red) (table black) How can I figure out what is on the table T? The type of the object on the table can vary, but CLIP doesn't allow...

  • Posted a comment on discussion Help on CLIPS Rule Based Programming Language

    I'm using pyclips and try to print existing facts, but don't get anything. The code looks like that: clips.Eval('(printout t (facts) "aaaa" crlf)') # TEST The output is: out> aaaa (watch...) traces show that evrything works as expected - rules are firing, facts are asserting, new instances are created. "aaaa" show that (printout) was executed just fine. What can be wrong?

  • Modified a comment on discussion Open Discussion on CLIPS Rule Based Programming Language

    Hi noxdafox, thanks for your feedback. It's just POC, so in real system there will be syslog and communication through CLI with a user. When talking about a pipe - I was referring to output fom CLIPS. Current input queue is Python Queue extended with eventfd (so it can be used with select()). CLIPS commands are queued in this queue, so all communication withe rest of the world and information processing is done in Python. CLIPS if for rule matching only. Select() makes the busy loop completely event...

  • Posted a comment on discussion Open Discussion on CLIPS Rule Based Programming Language

    Hi noxdafox, thanks for your feedback. It's just POC, so in real system there will be syslog and communication through CLI with a user. When talking about a pipe - I was referring to output fom CLIPS. Current input queue is Python Queue extended with eventfd (so it can be used with select()). CLIPS commands are queued in this queue, so all communication withe rest of the world and information processing is done in Python. CLIPS if for rule matching only. Select() makes the busy loop completely event...

  • Modified a comment on discussion Open Discussion on CLIPS Rule Based Programming Language

    What happens if a user want to observe what rules are firing. I thought that he should connect to my server, server executes watch command and recives output through a pipe. It is Python/CLIPS daemon itself that listens on the pipe, not an external program. At the same time I see the problem as pipe capacity is limited... This is my current mail loop: def run(clp_file): global time_fact clips.BatchStar(clp_file) while cont: if time_fact is not None: time_fact.Retract() time_fact = clips.Assert("(current-time...

View All

Personal Data

Username:
slozovsk
Joined:
2004-03-18 18:39:52
Location:
United States / PST
Gender:
Male
Skype:
sergiy.lozovsky

Projects

Skills

  • No skills entered.

Personal Tools