Open.Evaluation.Core
2.0.0-alpha01
dotnet add package Open.Evaluation.Core --version 2.0.0-alpha01
NuGet\Install-Package Open.Evaluation.Core -Version 2.0.0-alpha01
<PackageReference Include="Open.Evaluation.Core" Version="2.0.0-alpha01" />
paket add Open.Evaluation.Core --version 2.0.0-alpha01
#r "nuget: Open.Evaluation.Core, 2.0.0-alpha01"
// Install Open.Evaluation.Core as a Cake Addin #addin nuget:?package=Open.Evaluation.Core&version=2.0.0-alpha01&prerelease // Install Open.Evaluation.Core as a Cake Tool #tool nuget:?package=Open.Evaluation.Core&version=2.0.0-alpha01&prerelease
Open.Evaluation
Open.Evaluation is a framework for constructing and evaluating any hierarchal formula or complex structure. Typically used for evaluating math or algorithms.
This set of interfaces and classes can be used to create serializable (human readable) functions for use with other systems that require a reproducable structure.
For example: Given a specific mathmatical formula (or function), it is possible to not only resolve/evaluate the result given a set of parameters, it is also possible to inspect the formula's structure and see how the values are being used.
See LICENSE.txt (GPL v3) for licensing information.
Evaluation Classes
(See Core/EvaluationBase.cs)
Immutability
The main idea here is to envorce immutable classes and related sub classes. No changes allowed after construction. A clone can only be created by 'recreating' or 'reconstructing'.
It is very important to maintain this since these classes should not change during operation.
Unidirectional Referencing
To avoid potential memory problems, all heirarchies should be unidirectional: "The parent is aware of the children, but the children are unaware of the parent." This allows for child sharing and has the potential to signficantly reduce the memory footprint.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. |
-
net9.0
- Open.Collections (>= 4.0.2)
- Open.Hierarchy (>= 2.0.0)
- Open.Lazy.Extensions (>= 1.4.1)
- Open.RandomizationExtensions (>= 2.5.3)
- Throw (>= 1.4.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Open.Evaluation.Core:
Package | Downloads |
---|---|
Open.Evaluation.Arithmetic
A framework for evaluating complex formulas. Part of the "Open" set of libraries. |
|
Open.Evaluation.Boolean
A framework for evaluating complex formulas. Part of the "Open" set of libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-alpha01 | 25 | 11/22/2024 |