Coleman class documentation

Authors

Generated by pauljohn

Software documentation for the Coleman class

Coleman : SelectiveCitizen

Declared in:
Coleman.h

Coleman subclasses from SelectiveCitizen. Its main purpose is to explore an adaptation of selection method suggested by James Coleman. One might suspect that the homogenization observed in the Axelrod model is due to the low probability that dissimilar agents will interact. Suppose instead that agents might interact with others who are quite unlike them. This class provides a new selectADiscussantInPosition: method which causes more interaction among dissimilar types.


Instance Variables

Method summary

selectADiscussantInPosition: 

- (Citizen*) selectADiscussantInPosition: (Position*)position;

Choose a random person from own cell with probability equal to parochialism, or choose a neighbor. If agents agree on a randomly chosen feature, then interact. If not, with probability "colemanQ", interact anyway. Then, if no interaction takes place, begin the random search over again, and keep looking for a discussant until 10 efforts have been completed.


setColemanQ: 

- (id) setColemanQ: (double)q;

Set the double-valued parameter colemanQ, which we are using to indicate the strength of the agent's tendency to open up a discussion with someone even if the normal "dissimilarity" test has failed.




Instance Variables for Coleman Class

colemanQ

@protected double colemanQ;

Description forthcoming.