Are anhedonia attacks inherited from parents? Can it be passed on to the next generation?

There is usually no family history of the disease and the chances of passing it on to the next generation are unlikely.