@Override
	public void run() 
	{
		while(true)
		{
			try
			{
				Thread.sleep((random.nextInt(agent.getNumAgentsConnected()) + 1) * 250);
				
				if (!Agent.getConflictExists())
				{
					Agent.Leader(agentId, agentType);
					Thread.sleep((random.nextInt(agent.getNumAgentsConnected()) + 1) * 400);
					
					Agent.LeaderRemoveRandomValues(agentId, agentType);
					Thread.sleep((random.nextInt(agent.getNumAgentsConnected()) + 1) * 400);
				}
				else Thread.sleep(10000);
				
			} catch (InterruptedException e) {
				System.out.println("Error Produit al Run del Thread del Agent: " + agentId);
				e.printStackTrace();
			}
		}
	}