net.adamec.lib.common.dmn.engine 0.1.0+10.181229232712.master.a27e7a5

DMN Engine is a rule engine allowing to execute and evaluate the decisions defined in a DMN  model. It's primary target is to evaluate the decision tables that transform the inputs into the output(s) using the decision rules

This package has a SemVer 2.0.0 package version.
This package will only be available to download with SemVer 2.0.0 compatible NuGet clients, such as Visual Studio 2017 (version 15.3) and above or NuGet client 4.3.0 and above. Read more
Install-Package net.adamec.lib.common.dmn.engine -Version 0.1.0
dotnet add package net.adamec.lib.common.dmn.engine --version 0.1.0
<PackageReference Include="net.adamec.lib.common.dmn.engine" Version="0.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add net.adamec.lib.common.dmn.engine --version 0.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

DMN Engine

DMN Engine is a rule engine allowing to execute and evaluate the decisions defined in a DMN model. It's primary target is to evaluate the decision tables that transform the inputs into the output(s) using the decision rules. Simple expression decisions are also supported as well as the complex decision models containing set of dependent decisions (tables or expressions).

The DMN Model is defined using the adopted standard XML file defined by OMG. Such definition can be designed for example using the Camunda modeler, keeping in mind the following principles how the file is parsed and the definition used in DMN Engine.

Quick start

The basic use case is:

  1. Parse the DMN model from file.
  2. Create and engine execution context and load (and validate) the model into engine context.
  3. Provide the input parameter(s).
  4. Execute (and evaluate) the decision and get the result(s).
var def = DmnParser.Parse(fileName);
var ctx = DmnExecutionContextFactory.CreateExecutionContext(def);
ctx.WithInputParameter("input name", inputValue);
var result = ctx.ExecuteDecision("decision name");

Documentation

More details are available in readme at github repo.

The code documentation is available here (generated during the customized build using MarkupDoc).

DMN Engine

DMN Engine is a rule engine allowing to execute and evaluate the decisions defined in a DMN model. It's primary target is to evaluate the decision tables that transform the inputs into the output(s) using the decision rules. Simple expression decisions are also supported as well as the complex decision models containing set of dependent decisions (tables or expressions).

The DMN Model is defined using the adopted standard XML file defined by OMG. Such definition can be designed for example using the Camunda modeler, keeping in mind the following principles how the file is parsed and the definition used in DMN Engine.

Quick start

The basic use case is:

  1. Parse the DMN model from file.
  2. Create and engine execution context and load (and validate) the model into engine context.
  3. Provide the input parameter(s).
  4. Execute (and evaluate) the decision and get the result(s).
var def = DmnParser.Parse(fileName);
var ctx = DmnExecutionContextFactory.CreateExecutionContext(def);
ctx.WithInputParameter("input name", inputValue);
var result = ctx.ExecuteDecision("decision name");

Documentation

More details are available in readme at github repo.

The code documentation is available here (generated during the customized build using MarkupDoc).

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
0.1.0 142 12/29/2018