A simple state machine input loop in Python
Python中一个简单的状态机输入循环
Running state is referred to as a simple state.
Running状态是一种简单的状态。
Figure 8: Activities have a simple state transition.
图8:活动有一个简单的状态迁移。
Figure 2 is a flow chart representing a simple state machine for a PurchaseOrder.
图2是一个表示PurchaseOrder的简单状态机的流程图。
But Iowa is a homogenous and geographically simple state, and its system was not copied.
然而爱荷华州同质性高且地理结构单一,因此它的模式不可复制。
This system may satisfy the need of controlling over remote devices and the reading of simple state information.
该系统可以满足用户对远程设备控制和简单信息读取的需要。
Using the concept of pseudo control variable, a simple state equation is constructed which describes the relative motion between an anti-ship missile and a target ship.
利用伪控制变量的概念,建立了简单的描述反舰导弹与目标舰艇相对运动的状态方程。
With a collection of ways to maintain simple state on the client, and a collection of ways to maintain detailed and complicated state on the server, what is missing is a connection between them.
我们能够在客户机上维护简单的状态,也能够在服务器上维护详细的复杂状态,所缺少的是它们之间的连接。
Every organ of state must apply the principle of efficient and simple administration.
每一个国家机关都必须实行有效率和简单管理的原则。
During module load and unload, the module subsystem maintains a simple set of state variables to indicate the operation of a module.
在模块的加载和卸载期间,模块子系统维护了一组简单的状态变量,用于表示模块的操作。
I'll discuss the tag more later in this article, but it's enough to understand now that a simple tag with no attributes encompasses every state, which is what you need here.
在本文的后面部分,我将更详细地讨论标签,但现在只需知道,一个简单的、不带属性的标签可以包含任何状态,这个标签正是您在这里所需要的。
The following simple example is a case when you need a state machine.
下面这个简单的例子说明了需要使用状态机的情况。
Research psychologists at North Carolina State University in Raleigh recruited 103 volunteers, ages 60 to 82, to perform simple arithmetic and recall tests.
研究心理学家在北卡罗来纳州立大学罗利招募103志愿者,年龄60至82岁,对他们进行简单的算术和记忆力测试。
That a simple act of decency has become so heroic speaks volumes about the present state of Russia.
一个简单的正派举止变成了英雄行为,这对于俄罗斯目前的状况具有深远意义。
But it isn't that simple: Libyan oil is suitable for making gasoline, while Gulf state oil is better for diesel and fuel oil.
但问题并不是那么简单:利比亚的石油适用于制造汽油,而海湾国家的石油较好地用来生产柴油和燃料油。
They are simple methods, but will be helpful in determining the state of the back and forward buttons.
这些方法很简单,但是确定后退和前进按钮的状态时很有用。
At this point, I have a simple working state machine.
现在,我具有一个可简单运行的状态机。
Maintain state, which here is represented by a simple string variable.
维护状态,例子中用了简单的字符串变量来代表。
The term state machine might sound technical, but it is based on a very simple and well-understood design.
术语状态机听起来可能技术性很强,但其基于一种非常简单且易于理解的设计。
Similarly useful are simple interfaces that can dump the session and runtime state of the systems along with corresponding libraries.
同样有用的是能与相应的库一起存放会话和运行时状态的简单接口。
The two heads of state agreed to a simple swap.
两个国家的头头在一项简单的交易上达成了一致。
For situations where you just need to mutate state as part of the execution of some discrete task, this is a simple way to accomplish that.
对于仅需要改变状态并将其作为执行离散任务的一部分时,这是完成任务的简单方法。
Let's try it with a different equation of state, that isn't quite as simple as the ideal gas case.
考虑一个不同的状态方程,这状态方程不像理想气体状态方程那么简单。
The state transitions for the Task are very simple as shown in Figure 6.
这个任务的状态转变非常简单,如图 6 所示。
As shown in Figure 8, the matching updates to the state graph are equally simple.
如图8所示,对状态图进行相应的修改也同样简单。
The principle is simple: the Palestinians deserve a state, just as the Israelis do.
道理很简单:就像以色列是一个国家那样,巴勒斯坦也理应成为一个国家。
However, in cases where the state machines are — and will — remain simple, it may be better to use a process.
不过,在状态机比较简单的情况下,使用进程更好一些。
For this article series, I have extended this simple idea into BPEL4WS processes, to allow for state-full, asynchronous, reliable interactions between business partners.
在在一系列的文章中,我已经对BPEL4WS流程扩展了一些简单的想法,例如允许在业务合作伙伴之间进行有状态的、异步的、可靠的交互。
For the subject covered here, it is sufficient to state that REST enables developers to access information and resources using a simple HTTP invocation.
本文介绍的主题足以表明,REST允许开发人员使用简单的HTTP调用访问信息和资源。
For the subject covered here, it is sufficient to state that REST enables developers to access information and resources using a simple HTTP invocation.
本文介绍的主题足以表明,REST允许开发人员使用简单的HTTP调用访问信息和资源。
应用推荐