Entries in generator matrix are derived as follows.
x->x+1 is rate of moving from x to x+1, ie rate of one more cat getting infected.
This is rate of two cats meeting, mu times probability that one of the cats is infected and the other is not, x(10-x)/45 (otherwise nothing changes) times the probability that the fleas jump and infection occurs, 0.5.
IE, mu/45*x*(10-x)*.5 or mu/90 {(x)(10-x}
The entries inside the matrix are the x(10-x).
The x,x entries are simply the negative of the x,x+1 as the row must sum to zero (see below)
All the others are zero as you can only go to x+1 if you are in x, ie one more gets infected if "good meeting" occurs, stay the same if not.
u (mu?) is the instantaneous rate of cats meeting, ie parameter in Poisson process, waiting time are exponentially distributed with parameter u, etc.