Giter VIP home page Giter VIP logo

nxbre's Issues

InferenceEngine: Which is stable & recommanded version of RuleML?

I found following different versions of RuleML.
Which version is stable & should we use in our development.

ruleml-0_8-datalog.dtd
ruleml-0_86-datalog.xsd
ruleml-0_86-nafdatalog.xsd
ruleml-0_9-nafdatalog.xsd
ruleml-0_91-nafdatalog.xsd

Also what is the difference between datalog & nafdatalog?

Difference between <Ind> and <Data>?

What is the difference between and in Atom?

can I specify data type of Individual predicate like below;

      <Atom>
        <Rel>Discount</Rel>
        <Var>Product</Var>
        <Ind type="double">2</Ind>
      </Atom>

Inference Engine: How to use one atom value in another when creating implication.

I have two separate business objects which are not related.

Product -> Name, Price, Category
Orders -> CustomerName, ProductName, Qty, Gross Amount

Now I want to calculate "GrossAmount" for all the orders, using formula (Product price * Qty)
here, Product price is to select price of product using ProductName from Product list.

My RuleML(0.9) looks like below;

    <Implies>
      <oid>
        <Ind>lable:Calculate Order Gross Amount</Ind>
      </oid>
      <And>
        <Atom>
          <Rel>Price</Rel>
          <Var>Product</Var>
          <Var>Value</Var>
        </Atom>
        <Atom>
          <Rel>OrderQty</Rel>
          <Var>Order</Var>
          <Var>Product</Var>
          <Var>Qty</Var>
        </Atom>
      </And>
      <Atom>
        <Rel>GrossAmount</Rel>
        <Var>Order</Var>
        <Ind uri="nxbre://binder">CalulateTotal</Ind>
      </Atom>
    </Implies>

But here atoms are not matching, so how can I relate them?

Kindly provide support\resolution as early.

Regards,
Alpesh L

Implementation of Not In Logical Operator

Greetings @ddossot , I have been experimenting on Nxbre from quite some time for my college project. Although it has been amazing journey with it. But I got stuck in implementing a functionality when using If/ElseIf/Else condition. I noticed that there was "IN" operator to be used but "NOT IN" operator was missing. I tried a way to implement it using Objeclookup and invoking a method of mine own to execute it, but XSL schema that is defined in engine doesn't let me do so.

Basically what I was implementing was

I just wanted to know, if there was some other way to do so or not.
Thanks

Generating RuleML File dynamically.

I want to load empty rulebase initially and then add implications & queries to working memory of inference engine. How do I achieve the same?

InferenceEngine: Release memory by deleting facts from working memory

As a results of Implication evaluation, new facts are asserted in working memory. This makes size of fact-base heavier when working with large set of data. so at later if I want to remove these facts from memory then how can I achieve the same?

Is IE self disposable?

How to clear memory of engine?

Best practices related to performance?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.