Пример #1
0
 def _default_logic(self):
     return Reset(self) << (
         Integrator(self) << (
             Fluctuation(self),
             Adjusting(self) << (
                 LeaderFollowerWithHerding(self),
                 Orientation(self),),
             AgentAgentInteractions(self),
             AgentObstacleInteractions(self)))
Пример #2
0
 def _default_logic(self):
     return Reset(self) << \
            TargetReached(self) << (
                Integrator(self) << (
                    #Fluctuation(self),
                    Adjusting(self) << (
                        Navigation(self) << LeaderFollower(self),
                        Orientation(self)),
                    AgentAgentInteractions(self),
                    AgentObstacleInteractions(self)))
Пример #3
0
 def _default_logic(self):
     return Reset(self) << \
         InsideDomain(self) << (
             Integrator(self) << (
                 Fluctuation(self),
                 Adjusting(self) << (
                     Navigation(self) << ExitDetection(self) << LeaderFollower(self),
                     Orientation(self)),
                 AgentAgentInteractions(self),
                 AgentObstacleInteractions(self)))
Пример #4
0
 def _default_logic(self):
     return Reset(self) << \
         InsideDomain(self) << (
             Integrator(self) << (
                 Fluctuation(self),
                 Adjusting(self) << (
                     Navigation(self) << ExitDetection(
                         self, detection_range=(1 - self.ratio_obs) * self.width) << LeaderFollowerWithHerding(self),
                     Orientation(self)),
                 AgentAgentInteractions(self),
                 AgentObstacleInteractions(self)))