translator
.
intermediateBuilder
.random
index
/home/yentl/UA/devs-eindwerk/translator/translator/intermediateBuilder/random.py
Classes
translator.intermediateBuilder.memoryNode.MemoryNode
(
translator.intermediateBuilder.node.Node
)
Random
class
Random
(
translator.intermediateBuilder.memoryNode.MemoryNode
)
Random
iterates through a pseudorandom sequence of numbers,
which steps forward to the following number in the sequence each time the clock is triggered while the component is enabled
Method resolution order:
Random
translator.intermediateBuilder.memoryNode.MemoryNode
translator.intermediateBuilder.node.Node
translator.intermediateBuilder.element.Element
builtins.object
Methods defined here:
__init__
(self)
Constructor
Methods inherited from
translator.intermediateBuilder.node.Node
:
bindOutputWithComp
(self, wire, infoTuple)
Binds the output of the comp that was directly connected to another components input
getAllElementsViaOuputConnected
(self)
Overwrites the parent function (but has the same meaning)
setExtraOutput
(self, originalWire, newWire)
Adds a wire to the output, because we found an extra input connected to this output
Data descriptors inherited from
translator.intermediateBuilder.element.Element
:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)