|
- Method resolution order:
- AnnotatedImportedCircuit
- translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode
- translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement
- builtins.object
Methods defined here:
- __init__(self, circuit, coordinates, facing, pinList)
- Constructor
- bindCircuitWithComp(self, annotatedComponentList, annotatedConnectionList, inputsFound, connectedInputs)
- Binds the imported circuit with other nodes that lie immediately next to the imported circuit
- bindCircuitWithInputWires(self, annotatedConnectionList, inputsFound, connectedInputs)
- Binds the imported circuit with its connected input wires
- bindCompWithComp(self, coordinate, inputComp, annotatedConnectionList, inputsFound, connectedInputs=[(160, 50), (190, 130)], extraInfo=None)
- Overwrites the parent function (but has the same meaning)
- bindOutput(self, annotatedConnectionList, annotatedComponentList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName='')
- Overwrites the parent function (but has the same meaning)
- bindWithInputWiresOrComp(self, annotatedComponentList, annotatedConnectionList)
- Overwrites the parent function (but has the same meaning)
- calculateStartingPointEast(self, numberOfFacings, normalPosition, firstIndex, secondIndex, operators, startingWest, startingSouth, startingEast)
- Calculates the east starting point
- calculateStartingPointNorth(self, numberOfFacings, normalPosition, firstIndex, secondIndex, operators, startingWest, startingSouth, startingEast, startingNorth)
- Calculates the north starting point
- calculateStartingPointSouth(self, numberOfFacings, normalPosition, firstIndex, secondIndex, operators, startingWest, startingSouth)
- Calculates the south starting point
- calculateStartingPointsEastFacing(self, numberOfFacings)
- Calculates the starting points when the facing of the circuit is east
- calculateStartingPointsNorthFacing(self, numberOfFacings)
- Calculates the starting points when the facing of the circuit is north
- calculateStartingPointsSouthFacing(self, numberOfFacings)
- Calculates the starting points when the facing of the circuit is south
- calculateStartingPointsWestFacing(self, numberOfFacings)
- Calculates the starting points when the facing of the circuit is west
- findExtraCoordinates(self)
- Overwrites the parent function (but has the same meaning)
- findOtherCoordinates(self, sortedDict, numberOfFacings, startingPoints, changeWestEast, changeNorthSouth)
- Calculates the other coordinates starting from the starting points
- getDifference(self, facing1, facing2)
- Calculates the difference between facings and how much pixels they differ at on one side
- getInputCoordinates(self, list)
- Overwrites the parent function (but has the same meaning)
- getNumberOfPinsPerFacing(self, sortedDict)
- Returns for each facing how many pins are present
- getOutputCoordinates(self, list)
- Overwrites the parent function (but has the same meaning)
- setCoordinatesToStartingPoint(self, numberOfFacings)
- The starting point of one of the faced pins can be set equal to the saved coordinates
- setInOutputCoordinateTuples(self, numberPins, sortedList, startingPoint, changeX, changeY)
- Sets the tuples of the input and outputs right (a tuple consists of the coordinate and it's matching base)
- setInputRight(self, coordinate, annotatedConnection, inputsFound, extraInfo)
- Overwrites the parent function (but has the same meaning)
Methods inherited from translator.intermediateBuilder.annotated.annotatedNode.AnnotatedNode:
- bindOutputWtihExtraInfoOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, extraInfo, collide, faultList, circuitName='')
- Binds the specified coordinate with the output it matches with (and sets the right extraInfo)
- bindWithComp(self, coordinate, annotatedComp, annotatedConnectionList, inputsFound, coordinatesToCheck, connectedInputs=[], extraInfo=None)
- If the coordinate equals the component coordinates, we can bind the component with the other component
- bindWithInputWires(self, coordinate, annotatedConnection, annotatedConnectionList, inputsFound, connectedInputs=[(450, 510), (310, 140), (120, 170), (230, 310), (260, 170), (200, 340), (200, 310), (560, 250), (310, 300), (150, 270), (170, 200), (170, 230), (270, 300), (270, 390), (410, 410), (420, 520), (400, 640), (70, 160), (230, 190), (110, 180), ...], extraInfo=None)
- Binds a component with its input wires)
- invertFacing(self)
- Inverts the facing of the node
Methods inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
- bindDirectlyConnectedOutputWires(self, coordinates, tmpAnnotatedConnectionList, annotatedConnectionList, collide)
- Bind all wires that have their starting point or ending point directly connected to the output pin (equals coordinates)
- bindIndirectlyConnectedOutputWires(self, tmpAnnotatedConnectionList, annotatedConnectionList, inputList, collide)
- Bind all wires that have their starting point or ending point indirectly connected to the output pin
Wires whose starting points aren't directly connected to a component, but who are still connected to a component by means of another wire or multiple wires,
also need to be bound
- bindOutputOfCoordinate(self, coordinates, annotatedConnectionList, annotatedComponentList, compOutputList, inputList, wiresToDelete, wiresToInsert, collide, faultList, circuitName, component=None)
- Binds the specified coordinate with the output it matches with
- testOtherCompOutputs(self, coordinatesTo, annotatedComponentList, faultList, circuitName='')
- Test whether one input pin, gets two or more input signals
Data descriptors inherited from translator.intermediateBuilder.annotated.annotatedElement.AnnotatedElement:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|