ddossot / nxbre Goto Github PK
View Code? Open in Web Editor NEWNxBRE is a lightweight Business Rule Engine (aka Rule Based Engine) for the .NET platform.
Home Page: http://nxbre.dossot.net
NxBRE is a lightweight Business Rule Engine (aka Rule Based Engine) for the .NET platform.
Home Page: http://nxbre.dossot.net
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?
Is there any example of using Rulebase Adapters, like ones for fetching facts from a RDBMS or a web service, the user can provide facts to NxBRE with a different approach than by directly asserting facts in the engine.
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>
As with facts, Is it possible to create Implications dynamically at runtime?
If possible give some example.
SourceForge has taken down the KB, which used to be at: http://sourceforge.net/apps/trac/nxbre/
Recover it from http://wayback.archive.org and store it here, at GitHub.
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
Is it possible to change property value or add new properties to business objects from RuleBase (as a part of Implication result)?
If yes, please provide sample code to achieve the same
...so you might want to remove any reference to it.
cheers
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
The concept of "the control mode" of business object binders is not cleared.
where can I find more detail on the same?
I want to load empty rulebase initially and then add implications & queries to working memory of inference engine. How do I achieve the same?
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.