Finite Classical and Quantum Effect Algebras