Skip to content

Instantly share code, notes, and snippets.

@Ram-N
Created Mar 1, 2013
Embed
What would you like to do?
store_iteration_stats<- function(kNumSettlers, found.home, max.look.around) {
#how many settlers found homes
print(c(found.home," settled out of ", kNumSettlers, (found.home/kNumSettlers)*100, "%" ) )
#avg # of steps per new settler
print(c("num of look arounds max'ed:", max.look.around))
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment