Questions tagged [nxbre]

NxBRE is an open-source rule engine for the .NET platform. It supports a RuleML sub-language.

NxBRE offers two different rules engine flavors:

  • the Inference Engine, which is a forward-chaining (data driven) deduction engine and that supports concepts like Facts, Queries and Implications (as defined in RuleML Naf Datalog sub-language) and like Rule Priority, Mutual Exclusion and Precondition (as found in many commercial engines). It is designed in a way that encourages the separation of roles between the expert who designs the business rules and the programmer who binds them to the business objects.
  • the Flow Engine, which uses XML as a way to control process flow for an application in an external entity. It is basically a wrapper on C#, as it offers all its flow control commands (if/then/else, while, foreach), plus a context of business objects and results. It is a port of JxBRE v1.7.1 (SourceForge Project from Sloan Seaman) to .NET's Visual C#. NxBRE 's interest lies first into its simplicity, second in the possibility of easily extending its features by delegating to custom code in the Flow Engine or by writing custom RuleBase adapters or Business Objects binders in the Inference Engine.

NxBRE is considered useful for projects that have to deal with:

  • complex business rules that can not be expressed into one uniform structured manner but require the possibility to have free logical expressions,
  • changing business rules that force recompilation if the new rules must meet unexpected requirements.

NxBRE is released under LGPL license in order to allow users to legally build commercial solutions that embed NxBRE.

19 questions
0
votes
1 answer

Logging with NxBRE

How do I instruct NxBRE engine to log some message? I know there is tag available, which can be used as follows: But I cannot find any documentation on it. Mainly, I need answers to these questions: How do I…
Michael Sagalovich
  • 2,539
  • 19
  • 26
0
votes
1 answer

NxBRE Rule engine - trigger on Object changes

I need to do a research on a rule engine for my .NET application and I came across NxBRE. I have different types of objects in my application, and I want to use NxBRE when objects fields and states are changing. For example: If A.a has changed to x…
ckita
  • 33
  • 2
  • 7
0
votes
1 answer

InfEng.RunQuery(Query).Count

I ask the Inference Engine a question as follows, and want to obtain the first Fact, for the first Query (the question consists of 2 Atoms in the Query), if a result is returned. strAnswer = IIf(InfEng.RunQuery(Question).Count > 0,…
RTK
  • 15
  • 3
0
votes
1 answer

Do I have to process a Query to ensure that Implications are asserted as Facts?

Tried to get this cleared from the Implementation doc; but I could only get that Implication and Queries are similar beasts. I also read Simple Facts & Queries, but that did not help on this count. I commented out the Query section in my rule file…
RTK
  • 15
  • 3
1
2