WireWorld 元胞自动机规则(语言)中使用哪些格式在模式(程序)的各个部分之间发出信号?
1 回答
A single signal that is sent like a pulse, whenever required, traveling through a line of wire cells, containing a signal head followed by a signal tail.
Or a series of signals of a given period (spacing). Commonly, and must be at least, 3. This appears as
WTHWTHW
etc... The inclusion or lack of each signal in the series representsTrue
orFalse
at each generation or moment in time. Therefore the number of generations thatTrue
orFalse
is represented for in this format must be an integer multiple of the period of the series.A third format uses the number of wire cells between adjacent signals to communicate numbers, this doesn't need a period, as format 2 requires.
Signalling a number can also be achieved through a series of parallel wires, the number is encoded in binary such that each wire represents a part of the number that is twice the value of the previous, see multiplexers and decoders.
Alternatively a large number can be practically represented in a single wire where each signal in a series of signals sequentially represents binary bits through time in the same way. While slower, finite sized circuitry can process calculations such as addition on numbers of an unlimited size.
Less common is a format of my own design for signalling, where
True
andFalse
may be sent andno signal
can be represented by simply not sending any signals, there is also no need for a period. This uses two close adjacent signals forTrue
and a single signal forFalse
. A consequence of this format includes gates that can receive there inputs at any time, creating an output and reseting as soon as both are defined, however circuitry to manage this can be large.