temp parama sweep
This commit is contained in:
parent
45f8fffe83
commit
cccb491f2c
|
|
@ -34,13 +34,13 @@ class Executor:
|
|||
def mech_step(self, m_step, sL, state_funcs, behavior_funcs, env_processes, t_step, run):
|
||||
last_in_obj = sL[-1]
|
||||
|
||||
_input = self.state_update_exception(self.get_behavior_input(m_step, sL, last_in_obj, behavior_funcs))
|
||||
_input = self.behavior_update_exception(self.get_behavior_input(m_step, sL, last_in_obj, behavior_funcs))
|
||||
# print(_input)
|
||||
|
||||
# ToDo: add env_proc generator to `last_in_copy` iterator as wrapper function
|
||||
last_in_copy = dict(
|
||||
[
|
||||
self.behavior_update_exception(curry_pot(f, m_step, sL, last_in_obj, _input)) for f in state_funcs
|
||||
self.state_update_exception(curry_pot(f, m_step, sL, last_in_obj, _input)) for f in state_funcs
|
||||
]
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ seed = {
|
|||
|
||||
# beta = 1
|
||||
|
||||
#middleware(f1,f2,f3,f4)
|
||||
# middleware(f1,f2,f3,f4)
|
||||
|
||||
# Behaviors per Mechanism
|
||||
def b1m1(step, sL, s):
|
||||
|
|
@ -165,7 +165,7 @@ mechanisms = {
|
|||
"m3": {
|
||||
"behaviors": {
|
||||
"b1": b1m3,
|
||||
"b2": b2m3,
|
||||
"b2": b2m3
|
||||
},
|
||||
"states": {
|
||||
"s1": s1m3,
|
||||
|
|
@ -188,4 +188,4 @@ append_configs(
|
|||
env_processes=env_processes,
|
||||
mechanisms=mechanisms,
|
||||
_exo_update_per_ts=True #Default
|
||||
)
|
||||
)
|
||||
Loading…
Reference in New Issue