def scale(self, sc, scaleset=set([]), exclude=set([])):
        if self.name not in exclude:
            for name, val in self.tag.items():
                if name in scaleset:
                    self.tag[name] = val * sc
        if self.hasSubtag():
            for subtag in self.tag['Icontain']:
                subtag.scale(sc, scaleset, exclude)
for all tags not in the exclude set, scale all attributes whose names are in scaleset by the given factor
dataset/ETHPy150Open pybrain/pybrain/pybrain/rl/environments/ode/tools/xmltools.py/XMLstruct.scale