<filename>Algorithms/Group/pairwise.py
from random import choice

def select_agents(graph, opts):
	node = choice(list(graph.nodes()))
	return ([node], [choice(list(graph[node]))])
<filename>Algorithms/Group/pairwise.py
from random import choice

def select_agents(graph, opts):
	node = choice(list(graph.nodes()))
	return ([node], [choice(list(graph[node]))])