包含和异或的区别是什么? [英] What is the difference between Inclusive and Exclusive OR?

查看:32
本文介绍了包含和异或的区别是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在研究一些业务流程执行语言 (BPEL) 和相关的建模系统 (BPMN),其中设计人员需要了解流程流的包容性和专属性网关.非常感谢您的帮助,假设适用相同的规则,对这些术语的一般解释就足够了.

I have been studying some Business Process Execution Language (BPEL) and the associated modelling system (BPMN) where the designer needs to learn about inclusive and exclusive gateways for process flow. Thanks very much for any help and a general explanation of the terms would be enough assuming the same rules apply.

这是我在对 Mark 的回复中试图理解的一些技术文本 - 对于连接两个活动的简单链接,状态默认为 true,因此目标活动总是被执行.但是,如果将转换条件应用于链接,例如测试流程变量中包含的值,则状态可能会设置为假",从而阻止任何目标活动的执行.如果目标具有多个链接,则执行或阻止的决定基于各个链接状态值的 OR.目标执行只需一个链接状态为真;因此可以使用转移条件来映射BPMN的Inclusive OR网关

This is some technical text I am trying to understand in response to Mark- For simple links that join two activities, the status defaults to true so the target activity always gets executed. However, if a transition condition is applied to the link, such as a test of the value contained in a process variable, the status may be set to 'false', blocking the execution of any target activities. If a target has multiple links then the decision to execute or block is based on the OR of the individual link status values. Only one link status need be true for the target to execute; hence transition conditions can be used to map the Inclusive OR gateway of BPMN

推荐答案

  • Inclusive or:A 或 B 或两者.
  • 独占或:A 或 B,但不能两者兼而有之.
    • Inclusive or: A or B or both.
    • Exclusive or: Either A or B but not both.
    • 这篇关于包含和异或的区别是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆