PsyNeuLink icon indicating copy to clipboard operation
PsyNeuLink copied to clipboard

Refactor Context initialization_status and execution_phase to state machines

Open mihaic opened this issue 6 years ago • 1 comments

Possibly using Transitions: https://github.com/pytransitions/transitions#quickstart

mihaic avatar Apr 13 '18 22:04 mihaic

This looks really interesting, and could add some powerful additional functionality (e.g, the ability to record and analyze state trajectories, which could be relevant for learning); also a way we might consider consolidating the refactored version of context with the work Katherine is putting into statefulness. For the moment, I think it makes sense to finish the refactoring I’m doing with context (which is getting close to being done) — same for Katherine’s work on statefulness — as I think these efforts are helping clean things up, and will therefore provide a better foundation for implementing state-machine functionality. However, I do think this is a good thing to start thinking about, and discuss at our weekly meetings.

On Apr 13, 2018, at 6:45 PM, Mihai Capotă [email protected] wrote:

Possibly using Transitions: https://github.com/pytransitions/transitions#quickstart https://github.com/pytransitions/transitions#quickstart — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/PrincetonUniversity/PsyNeuLink/issues/758, or mute the thread https://github.com/notifications/unsubscribe-auth/AKR1GLF6Ad-6Px8qqqUCuvo2DpenbeXnks5toSqcgaJpZM4TUwar.

jdcpni avatar Apr 15 '18 11:04 jdcpni