Relative Content

Tag Archive for listnetlogosimilarity

NetLogo: How to create a list of comparisons with an agentset

The agents (called farms) in my model have peers (an agentset of farms they have links to). Each farm has an attribute called rotation, which is a list of values between 0 and 1 (same length for all farms). I want to create an attribute for each farm that consists of a list of similarity scores (based on Euclidean distance) between the given farms and all its peers, based on their rotations.

NetLogo: How to create a list of comparisons with an agentset

The agents (called farms) in my model have peers (an agentset of farms they have links to). Each farm has an attribute called rotation, which is a list of values between 0 and 1 (same length for all farms). I want to create an attribute for each farm that consists of a list of similarity scores (based on Euclidean distance) between the given farms and all its peers, based on their rotations.