示例#1
0
 def _default_logic(self):
     return Reset(self) << (
             Integrator(self) << (
                 Fluctuation(self),
                 Adjusting(self) << (
                     LeaderFollowerWithHerding(self),
                     Orientation(self),),
                 AgentAgentInteractions(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)))
 def _default_logic(self):
     return Reset(self) << (Integrator(self) << (
         Fluctuation(self),
         Adjusting(self) << Orientation(self),
         AgentAgentInteractions(self),
     ))
 def _default_logic(self):
     return Reset(self) << Integrator(self) << Adjusting(
         self) << Orientation(self)