Cache DiscreteFactor.getDomainList() value