首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Z3_get_ast_id的Z3意义

Z3_get_ast_id的Z3意义
EN

Stack Overflow用户
提问于 2014-11-05 01:44:09
回答 1查看 116关注 0票数 1

我想知道Z3_get_ast_id()的语义。什么时候两个表达式会有相同的id?如果两个表达式是使用相同的上下文和相同的参数和操作码创建的,那么id是否相同?

我还看到有Z3_get_ast_hash()。也请告诉我这个函数的语义。

EN

回答 1

Stack Overflow用户

发布于 2014-11-05 17:21:25

代码语言:javascript
复制
    The identifier is unique up to structural equality. Thus, two ast nodes
    created by the same context and having the same children and same function symbols
    have the same identifiers. Ast nodes created in the same context, but having
    different children or different functions have different identifiers.
    Variables and quantifiers are also assigned different identifiers according to
    their structure.        

您可以将Z3_get_ast_id与Z3_get_ast_hash互换使用

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26741587

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档