anchor.diff:      Hash = erlang:phash2(node()),
       random:seed(Hash,B,C).
   
  --spec get_config_dir() -> file:filename_all().
  -get_config_dir() ->
  -    AppDir = filename:dirname(filename:dirname(code:which(?MODULE))),
  -    filename:join(AppDir, "etc").
   
   %% ====================================================================
   %% Internal functions
  
positive.code: -module(mas_misc_util).
  -export([group_by/1, shuffle/1, clear_inbox/0, result/1, find/2, average_number/2, map_index/4, shortest_zip/2,
      count_funstats/2, seed_random/0, log_now/2, meeting_proxy/4, create_new_counter/1, add_interactions_to_counter/2,
      add_miliseconds/2, generate_population/2, overwrite_options/2, determine_behaviours/1, behaviour_proxy/3, get_config_dir/0]).
  
  -include ("mas.hrl").
  
  
negative.code:                 end,Counter, Groups).
  
  
  -spec count_funstats([agent()], [funstat()]) -> [funstat()].
  count_funstats(_,[]) ->
      [];
  