示例#1
0
def last_update(_g, substep, sH, s, **kwargs):
    return {
        "last_x":
        access_block(state_history=sH,
                     target_field="last_x",
                     psu_block_offset=-1,
                     exculsion_list=exclusion_list)
    }
示例#2
0
def fourth_to_last_x(_g, substep, sH, s, _input, **kwargs):
    return '4th_to_last_x', access_block(sH, "4th_to_last_x", -4,
                                         exclusion_list)
示例#3
0
def third_to_last_x(_g, substep, sH, s, _input, **kwargs):
    return '3rd_to_last_x', access_block(sH, "3rd_to_last_x", -3,
                                         exclusion_list)
示例#4
0
def nonexsistant(_g, substep, sH, s, _input, **kwargs):
    return 'nonexsistant', access_block(sH, "nonexsistant", 0, exclusion_list)
示例#5
0
def second2last_update(_g, substep, sH, s, **kwargs):
    return {
        "2nd_to_last_x": access_block(sH, "2nd_to_last_x", -2, exclusion_list)
    }