Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/r/o/RoboMachine-0.6/robomachine/allpairsstrategy.py   RoboMachine(Download)
    def __init__(self, machine, max_actions, to_state=None):
        if machine.rules:
            raise AssertionError('ERROR! AllPairs does not work correctly with rules')
        RandomStrategy.__init__(self, machine, max_actions, to_state)
 

src/r/o/RoboMachine-HEAD/robomachine/allpairsstrategy.py   RoboMachine(Download)
    def __init__(self, machine, max_actions, to_state=None):
        if machine.rules:
            raise AssertionError('ERROR! AllPairs does not work correctly with rules')
        RandomStrategy.__init__(self, machine, max_actions, to_state)