User Activity

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

    Solved! Thanks a lot, Gary!

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

    Hi there, I'm looking for a way to check if a substring is contained in a string using CLIPS in C++, but at the moment i can't find a solution for it. I was reading the advanced documentation guide and i found a reference to str-index, which gives me an INTEGER of the position if the substring matches inside the string or FALSE otherwise. However this function is present only in CLIPS command line and it hasn't a corresponding construct to be used in C++. The only function present in strngfun.c/.h...

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

    Thanks a lot Gary! I solved it.

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

    Hi there, i have a question for you. Am I able to combine the commands Load(env, ...) and Eval(env, "an assertion")? I need it because I want to load a deftemplate and a defrule from a map loaded at the start of my app and after execute some evaluations built at runtime on those definitions. Here is my method, if you need to see it: void rules_engine::analyze(QString assertion) { Environment *env; env = CreateEnvironment(); Load(env, this->map.value("example.clp").c_str()); Reset(env); Eval(env,"(watch...

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

    Hi there, i have a question for you. Am I able to combine the commands Load(env, ...) and Eval(env, "an assertion")? I need it because I want to load a deftemplate and a defrule from a map loaded at the start of my app and after execute some evaluations built at runtime on those definitions. Here is my method, if you need to see it: void rules_engine::analyze(QString assertion) { Environment *env; env = CreateEnvironment(); Load(env, this->map.value("example.clp").c_str()); Reset(env); Eval(env,"(watch...

View All

Personal Data

Username:
maius91
Joined:
2022-07-19 07:32:00.649000

Projects

  • No projects to display.

Personal Tools