Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/open-net-libraries/open.evaluation

This set of interfaces and classes can be used to create serializable functions for use with other systems that require a reproducable structure.
https://github.com/open-net-libraries/open.evaluation

Last synced: 1 day ago
JSON representation

This set of interfaces and classes can be used to create serializable functions for use with other systems that require a reproducable structure.

Awesome Lists containing this project

README

        

# 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.

## 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.