def backchain_to_goal_tree_5_testanswer(val, original_args = None):
return ( tree_map(type_encode(val), frozenset) ==
tree_map(type_encode(result_bc_5), frozenset))
# This test checks to make sure that your backchainer produces
# the correct goal tree given the hypothesis 'zot' and using the
# rules defined in ARBITRARY_EXP above.
tests.py 文件源码
python
阅读 22
收藏 0
点赞 0
评论 0
评论列表
文章目录