assumption 1: you have a suite of modules (very maintainable, with tests) for real-time monitoring. They all run very quickly but are executed repeatedly. They are all required to return a boolean flag, but may also return other data. For example, the CheckParrot module would return if a parrot is observed to be dead, or not. The SeekMorlocks module would return true if it found any, but additionally the number, heading, and distance.
assumption 2: your applications will tie these modules together using some sort of custom algorithm, which might include state variables. Examples include RTS games, trading programs, vehicle monitoring systems, etc. The algorithm can be represented by a truth table, or equivalently, a programmable logic array.
question: What open source is out there to help with implementing a programmable logic array, where the inputs and outputs are executable modules? The goal is to isolate the algorithm (PLA) for independent testing, and easily plug modules into it.
At the moment I am mostly interested in a Java solution but am also curious about any C++ or Python.
Thanks
You may want to take a look at Drools
It’s rules engine and a set of tools to create / test them.