code: private int canBeAccommodated(int sourceTypeIndex, int targetTypeIndex) {
  
  		if (sourceTypeIndex >= this.availableInstanceTypes.length
  			|| targetTypeIndex >= this.availableInstanceTypes.length) {
  			LOG.error("Cannot determine number of instance accomodations: invalid index");
  			return 0;
  		}
  
  		return this.instanceAccommodationMatrix[targetTypeIndex][sourceTypeIndex];
  	}
docs: Returns how many times the instance type stored at index <code>sourceTypeIndex</code> can be accommodated inside
  the instance type stored at index <code>targetTypeIndex</code> in the list of available instance types.
  
  @param sourceTypeIndex
  the index of the source instance type in the list of available instance types
  @param targetTypeIndex
  the index of the target instance type in the list of available instance types
  @return the number of times the source type instance can be accommodated inside the target instance