Agent based simulation of information sharing in networks based on trust