def from_string()

in sim_agent.py [0:0]


        def from_string(cls, string):
            if string=="none": return cls.NONE
            if string=="spd": return cls.SPD
            if string=="pd": return cls.PD
            if string=="cpd": return cls.CPD
            if string=="cp": return cls.CP
            if string=="v": return cls.V
            if string=='tq': return cls.TQ
            raise NotImplementedError