public void setCorrelation(ListingAddressCorrelation correlation) throws MemoryAccessException {
		this.correlation = correlation;
		if (correlation == null) {
			init();
			return;
		}
		getDiffs();
	}
Sets the address correlation that is used to determine matching addresses between the two 
listings. Differences can then be determined where a matching address is found.
<br>Important: This class is not intended to be used for an entire program. Instead it is 
for comparing smaller portions such as functions. If the correlation handed to this class 
associates two large address sets, then the address sets, such as byte differences, that are 
created by this class could potentially consume large amounts of memory.
@param correlation the address correlation. Otherwise, null to clear the correlation.
@throws MemoryAccessException if memory can't be read.
Ghidra/Features/Base/src/main/java/ghidra/program/util/ListingDiff.java