NetworkGraph(LSATable table)
	{
		graph = new Hashtable<IP, HashSet<IP>>();
		for (LSAMessage message : table.messages()) {
			for (IP neighbor : message.neighbors())
				if (table.isConnectedTo(neighbor, message.source()))
					addEdge(message.source(), neighbor);
		}
	}