在试验中,他们构建了一个DNA版本的“异或”逻辑门,当两个输入端中有一个有输入时,产生输出;但当两个输入端都有或都没有输入时,就不会产生输出。
In tests, they modeled a DNA version of an XOR logic gate that generates an output when one of two inputs is present, but not when both or neither is present.
输出端固定:可以控制输入数据格式,但输出数据必须采用您不能控制的特定格式。
Output is fixed: you can control the input data format but must output data in a specific format, over which you have no control.
有了输入端的惰性,也就有了输出端的惰性,因为打印输出的时候不需要立即完成全部求解。
Once you have the laziness on the input, you have the laziness on the output because printing something doesn't require it all to be evaluated all at once.
应用推荐