Skip to content

future typesafe dataflow library for directed acyclic graph computations

License

Notifications You must be signed in to change notification settings

the4thamigo-uk/dataflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dataflow

This repo is the very early experimental code that will eventually become a C++11 library that implements a dataflow model on a directed acyclic graph (DAG).

The idea is inspired by various financial software systems that have this use case e.g. asset pricing models defined by a graph of spreads to other assets, but it is intended to be applicable to generic use-cases.

The aims of the library are to :

  1. Provide a framework to construct a graph of dependent values (i.e. nodes) defined by the arguments and the return values of pure functions defined by the client
  2. a 'driven' model requiring a call to a calculate function, not an 'actor/event/responsive' model
  3. Provide a singlethreaded and multithreaded routine to calculate all the values in the graph in the correct order of dependency
  4. Avoid recomputing values that have not changed
  5. To allow the graph to be updated in between calculations
  6. Be statically type-safe throughout
  7. Strive for simplicity of use - Not necessarily of implementation
  8. Minimal dependencies
  9. Header only library

About

future typesafe dataflow library for directed acyclic graph computations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published