Open.Evaluation
2.0.0-alpha01
dotnet add package Open.Evaluation --version 2.0.0-alpha01
NuGet\Install-Package Open.Evaluation -Version 2.0.0-alpha01
<PackageReference Include="Open.Evaluation" Version="2.0.0-alpha01" />
paket add Open.Evaluation --version 2.0.0-alpha01
#r "nuget: Open.Evaluation, 2.0.0-alpha01"
// Install Open.Evaluation as a Cake Addin #addin nuget:?package=Open.Evaluation&version=2.0.0-alpha01&prerelease // Install Open.Evaluation as a Cake Tool #tool nuget:?package=Open.Evaluation&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.Evaluation.Arithmetic (>= 2.0.0-alpha01)
- Open.Evaluation.Boolean (>= 2.0.0-alpha01)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0-alpha01 | 40 | 11/22/2024 |
1.1.2 | 1,064 | 4/24/2022 |
1.1.0 | 430 | 4/18/2022 |
1.0.1 | 405 | 4/16/2022 |
1.0.0 | 416 | 4/16/2022 |