Beispiel #1
0
def florentine():
	"""
	Loads and returns the undirected Florentine marriage network.
	
	.. note::
		Source: Padgett, John F. 1994. *Marriage and Elite Structure in Renaissance Florence*, 1282-1500. Paper delivered to the Social Science History Association.
	"""
	fname = os.path.join(os.path.dirname(__file__),'florentine.scn')
	return scn.read(fname,directed=False)
Beispiel #2
0
def florentine():
    """
	Loads and returns the undirected Florentine marriage network.
	
	.. note::
		Source: Padgett, John F. 1994. *Marriage and Elite Structure in Renaissance Florence*, 1282-1500. Paper delivered to the Social Science History Association.
	"""
    fname = os.path.join(os.path.dirname(__file__), 'florentine.scn')
    return scn.read(fname, directed=False)
Beispiel #3
0
def karate_club():
	"""
	Loads and returns an undirected social network of friendships among 34 members of a karate club in the 1970s.
	
	.. note::
		Source: W. W. Zachary, *An information flow model for conflict and fission in small groups*, Journal of Anthropological Research 33, 452-473 (1977).
	"""
	fname = os.path.join(os.path.dirname(__file__),'karate.scn')
	return scn.read(fname,directed=False)
Beispiel #4
0
def karate_club():
    """
	Loads and returns an undirected social network of friendships among 34 members of a karate club in the 1970s.
	
	.. note::
		Source: W. W. Zachary, *An information flow model for conflict and fission in small groups*, Journal of Anthropological Research 33, 452-473 (1977).
	"""
    fname = os.path.join(os.path.dirname(__file__), 'karate.scn')
    return scn.read(fname, directed=False)