Ńň
Ě ĆWc           @   sE   d  d k  l Z d  d k Z d d d     YZ d   Z d   Z d S(   i˙˙˙˙(   t
   ParametresNt   Agent_TAc           B   s   e  Z d    Z RS(   c         C   s   | |  _  | |  _ d  S(   N(   t   heurest   cash(   t   selfR   R   (    (    s(   /home/kaufmanl/SIMU/Migrants1/agentta.pyt   __init__   s    	(   t   __name__t
   __module__R   (    (    (    s(   /home/kaufmanl/SIMU/Migrants1/agentta.pyR      s   c         C   sF   g  } x9 t  t t i   D]" } t |  |  } | i |  q W| S(   N(   t   ranget   intt
   parametrest   nb_agents_TAR   t   append(   R   R   t   liste_agents_TAt   at   agent_TA(    (    s(   /home/kaufmanl/SIMU/Migrants1/agentta.pyt   obtenir_liste_agents_TA   s     c         C   s+   g  } x |  D] } | i  | i  q W| S(   N(   R   R   (   R   t   liste_cash_agents_TAt   i(    (    s(   /home/kaufmanl/SIMU/Migrants1/agentta.pyt   obtenir_liste_cash_agents_TA   s
     (    (   R
   R    t   randomR   R   R   (    (    (    s(   /home/kaufmanl/SIMU/Migrants1/agentta.pyt   <module>   s   	