|
|
|
@ -146,7 +146,8 @@ class Manager() :
|
|
|
|
|
def apply_setup(self,name,args) :
|
|
|
|
|
for actor in self.actors :
|
|
|
|
|
if args is not None and actor.getName() == name and len(args.keys()) > 0:
|
|
|
|
|
actor.init(args)
|
|
|
|
|
pass
|
|
|
|
|
#actor.init(args)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def __setup(self,meta):
|
|
|
|
@ -234,7 +235,7 @@ class Manager() :
|
|
|
|
|
#
|
|
|
|
|
index = self.agents.index(agent)
|
|
|
|
|
|
|
|
|
|
if len(self.actors) > index and self.actors[index].getIdentifier() == agent.getName() :
|
|
|
|
|
if len(self.actors) > index and self.actors[index].getName() == agent.getName() :
|
|
|
|
|
actor = self.actors[index]
|
|
|
|
|
print actor.analyze(row)
|
|
|
|
|
|
|
|
|
|