Ńň
'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+   | i  |  _  t i | i | i  |  _ d  S(   N(   t   heurest   randomt   randintt   cash_min_TAt   cash_max_TAt   cash(   t   selft
   parametres(    (    s.   /home/kaufmanl/SIMU/Systeme_initial/agentta.pyt   __init__   s    (   t   __name__t
   __module__R
   (    (    (    s.   /home/kaufmanl/SIMU/Systeme_initial/agentta.pyR      s   c         C   sC   g  } x6 t  t |  i   D] } t |   } | i |  q W| S(   N(   t   ranget   intt   nb_agents_TAR   t   append(   R	   t   liste_agents_TAt   at   agent_TA(    (    s.   /home/kaufmanl/SIMU/Systeme_initial/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/Systeme_initial/agentta.pyt   obtenir_liste_cash_agents_TA   s
     (    (   R	   R    R   R   R   R   (    (    (    s.   /home/kaufmanl/SIMU/Systeme_initial/agentta.pyt   <module>   s   	