def add(self, system): if not Metamodel.add(self, system): return
def add(self, system): Metamodel.add(self, system)
def add(self, system): if not Metamodel.add(self, system): return for m in system.modules: self.ds[m.num].addSample(self.sys2array(system), m.time)
def add(self, system): if not Metamodel.add(self, system): return for m in system.modules: self.inputs[m.num].append(self.sys2array(system)) self.outputs[m.num].append(m.time)