Workflow for an app that embed CLIPS engine

2009-11-10
2012-11-23
  • Takashi Yamamoto

    I am writing an application that embeds the CLIPS engine.

    My current understanding is this (i.e. my understanding of a typical workflow):

    I must premempt by saying that the application I am writing is for monitoring a production process, and for "noticing" defective products. It may therefore be loosely categorised as a real time application of CLIPS.

        main()
        {
               InitializeCLIPS();
              Load("constructs.clp");
              Reset();

              //start monitoring production line
             while (processing() != EOF) {
                    //assert any new facts that may have occured, here
                   Run(-1L);
            }   
        }

    The idea is to have CLIPS monitoring the production line reporting on any defective products found. During the production cycle, new facts may be asserted or retracted.

    Is this a valid workflow to achieve the behavior I described above from an application that embeds CLIPS?

     
  • Gary Riley

    Gary Riley - 2009-11-17

    Yes, that's a valid workflow

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks