A description of random walks with collision anisotropy and with a nonconstant mean free path