SBH trust model 1.0.0
This is a computational model to articulate the theory and test some assumption and axioms for the trust model and its relationship to SBH.
The algorithm for the model has two cycles, the first powers the simulation for the desired set of runs, in the simulations is set as 3000. The second cycle gives each focal agent a turn within a run for either foraging or social token. If a foraging token is got, this ego will eat once, else if a social token is got, this ego will select an alter ego for interaction based on its alter ego selection strategy. In this simulation we set the population as 300, half with stage alter ego selection strategy and the other half with strong ties preferred alter ego selection strategy. This can be changed be changing the parameters in the file of class of Society: population as the total population, and g1[0], g2[0], g3[0], g4[0] as population for stage, strong tie preferred, weak tie preferred, medium tie preferred respectively.
Run the main class MainClass.java to get the results and resulting log files.