Commit d3719a77 authored by Philipp Meyer's avatar Philipp Meyer

Use stronger constraints for initial configuration

parent 612a3cfb
......@@ -46,7 +46,8 @@ terminalConstraints pp m =
initialConfiguration :: PopulationProtocol -> SIMap State -> SBool
initialConfiguration pp m0 =
sum (mval m0 (states pp \\ initialStates pp)) .== 0
(sum (mval m0 (initialStates pp)) .>= 2) &&&
(sum (mval m0 (states pp \\ initialStates pp)) .== 0)
differentConsensusConstraints :: PopulationProtocol -> SIMap State -> SIMap State -> SBool
differentConsensusConstraints pp m1 m2 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment