edemo / PDEngine

voting engine using ADA authentication and condorcet method
Other
2 stars 12 forks source link

BeatTable.beatInformation() #239

Open magwas opened 5 years ago

magwas commented 5 years ago

Behaviour: Supporting functionality/BeatTable;the beat information related to a and b can be obtained for forward and backward

@tested_feature("Supporting functionality")

@tested_operation("BeatTable")

@tested_behaviour("the beat information related to a and b can be obtained for forward and backward")

by beatInformation(Choice a,Choice b, Direction direction) where direction is either DIRECTION_FORWARD or DIRECTION_BACKWARD

Deviation in model

valentinbujdoso commented 5 years ago

@magwas I suspect there is a bug in the documentation.

"m[a][b][0] is related to the number of beats candidate a beats candidate b, or the beat path weight related to the same m[a][b][1] is the same but for b beating a"

in the last m[a][b][1] should be m[b][a][1] right?

valentinbujdoso commented 5 years ago

and what this DIRECTION mean?

valentinbujdoso commented 5 years ago

The getPair(Choice a, Choice b) gives back the m[a][b], m[b][a] integers? If yes in a structure? In a list?

valentinbujdoso commented 5 years ago

done