首页> 外国专利> Encoding Switch on Ordered Universes with Binary Decision Diagrams

Encoding Switch on Ordered Universes with Binary Decision Diagrams

机译:带二元决策图的有序宇宙的编码转换

摘要

Various embodiments herein include one or more of systems, methods, software, and/or data structures to implement a multi-way branch statement in a computer programming language. The multi-way branch statement may include a plurality of case labels each having a non-primitive data type (e.g., strings) and being associated with a block of code to be executed dependent upon a control variable that also has a non-primitive data type. The implementation may include encoding the case labels for the multi-way branch statement as a binary decision diagram (BDD), such as a zero-suppressed binary decision diagram (ZDD), wherein the control variable for the multi-way branch statement may be compared with the case labels by stepping through the BDD. The BDD may include identifiers that provide information regarding which of the case labels is matched by the control variable, such that an appropriate code block may be executed.
机译:本文的各种实施例包括系统,方法,软件和/或数据结构中的一个或多个以计算机编程语言来实现多路分支语句。多向分支语句可以包括多个案例标签,每个案例标签都具有非原始数据类型(例如,字符串),并与还将具有非原始数据的控制变量相关联的待执行代码块相关联类型。该实现可以包括将用于多路分支语句的案例标签编码为二进制决策图(BDD),诸如零抑制二进制决策图(ZDD),其中,用于多路分支语句的控制变量可以是通过逐步浏览BDD与案例标签进行比较。 BDD可以包括标识符,这些标识符提供有关控制变量匹配哪些案例标签的信息,从而可以执行适当的代码块。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号