def __init__(self): GenericPE.__init__(self) self.inputconnections['input'] = { NAME : 'input' } out1 = {} out1[NAME] = "output" out1[TYPE] = ['word'] self.outputconnections["output"] = out1
def __init__(self): GenericPE.__init__(self) self.inputconnections['input'] = {NAME: 'input'} out1 = {} out1[NAME] = "output" out1[TYPE] = ['word'] self.outputconnections["output"] = out1
def __init__(self): GenericPE.__init__(self) self.inputconnections['input'] = { NAME : 'input', GROUPING : [0] } out1 = {} out1[NAME] = "output" out1[TYPE] = ['word', 'count'] self.outputconnections["output"] = out1 self.mywords = {}
def __init__(self): GenericPE.__init__(self) self.inputconnections['input'] = {NAME: 'input', GROUPING: [0]} out1 = {} out1[NAME] = "output" out1[TYPE] = ['word', 'count'] self.outputconnections["output"] = out1 self.mywords = {}
def __init__(self, numOutputs=1): GenericPE.__init__(self) if numOutputs == 1: self.outputconnections = { 'output' : { NAME : 'output', TYPE: ['number'] } } else: for i in range(numOutputs): self.outputconnections['output%s' % i] = { NAME : 'output%s' % i, TYPE: ['number'] } self.counter = 0 self.outputnames = list(self.outputconnections.keys())
def __init__(self): GenericPE.__init__(self) self.inputconnections = { 'input0': { NAME: 'input0' }, 'input1': { NAME: 'input1' } } self.outputconnections = {'output': {NAME: 'output', TYPE: ['result']}}
def __init__(self, numOutputs=1): GenericPE.__init__(self) if numOutputs == 1: self.outputconnections = { 'output': { NAME: 'output', TYPE: ['number'] } } else: for i in range(numOutputs): self.outputconnections['output%s' % i] = { NAME: 'output%s' % i, TYPE: ['number'] } self.counter = 0 self.outputnames = list(self.outputconnections.keys())
def __init__(self, name='ProvenanceRecorder'): GenericPE.__init__(self) self.name = name in1 = {self.INPUT_NAME: {NAME: self.INPUT_NAME}}
def __init__(self): GenericPE.__init__(self) self.inputconnections = {'input': {NAME: 'input'}} self.outputconnections = {'output': {NAME: 'output', TYPE: ['number']}}
def __init__(self, numIterations=1): GenericPE.__init__(self) self.outputconnections = {'output': {NAME: 'output', TYPE: ['number']}} self.counter = 0 self.numIterations = numIterations
def __init__(self): GenericPE.__init__(self) self.inputconnections = {'metadata': {NAME: 'metadata'}}
def __init__(self): GenericPE.__init__(self) out1 = {} out1[NAME] = "output" out1[TYPE] = ['word'] self.outputconnections["output"] = out1
def __init__(self, name='ProvenanceRecorder'): GenericPE.__init__(self) self.name = name in1 = { self.INPUT_NAME : { NAME : self.INPUT_NAME }}
def __init__(self): GenericPE.__init__(self) self.inputconnections = { 'input0' : { NAME : 'input0' }, 'input1' : { NAME : 'input1' } } self.outputconnections = { 'output' : { NAME : 'output', TYPE: ['result'] } }
def __init__(self): GenericPE.__init__(self) self.inputconnections = { 'input' : { NAME : 'input' } } self.outputconnections = { 'output' : { NAME : 'output', TYPE: ['number'] } }
def __init__(self, numIterations=1): GenericPE.__init__(self) self.outputconnections = { 'output' : { NAME : 'output', TYPE: ['number'] } } self.counter = 0 self.numIterations = numIterations
def __init__(self): GenericPE.__init__(self) self.inputconnections = { 'metadata' : { NAME : 'metadata' } }