<commit_before>package hotelmania.group4.utils;

import com.google.common.base.Function;
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;
import jade.domain.DFService;
import jade.domain.FIPAAgentManagement.DFAgentDescription;
import jade.domain.FIPAException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author <NAME> <<EMAIL>>
 * @since 08/05/14
 */
public class SearchForAgent extends OneShotBehaviour {

    private final Logger logger = LoggerFactory.getLogger(SearchForAgent.class);

    public static final int TIMEOUT = 5000;

    private final Function<DFAgentDescription[], Object> onFound;
<commit_msg>Reduce timeout to 200 milliseconds<commit_after>package hotelmania.group4.utils;

import com.google.common.base.Function;
import jade.core.Agent;
import jade.core.behaviours.OneShotBehaviour;
import jade.domain.DFService;
import jade.domain.FIPAAgentManagement.DFAgentDescription;
import jade.domain.FIPAException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author <NAME> <<EMAIL>>
 * @since 08/05/14
 */
public class SearchForAgent extends OneShotBehaviour {

    private final Logger logger = LoggerFactory.getLogger(SearchForAgent.class);

    public static final int TIMEOUT = 200;

    private final Function<DFAgentDescription[], Object> onFound;

{'fraction_non_alphanumeric': 0.0990990990990991, 'fraction_numerical': 0.021021021021021023, 'mean_word_length': 5.566502463054187, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5831148', 'n_tokens_mistral': 445, 'n_tokens_neox': 417, 'n_words': 92}