pref_voting 1.17.4__py3-none-any.whl → 1.17.5__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
pref_voting/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '1.17.4'
1
+ __version__ = '1.17.5'
pref_voting/profiles.py CHANGED
@@ -577,7 +577,8 @@ class Profile(object):
577
577
  return the randomly truncated profile.
578
578
 
579
579
  If truncation_prob_list is None, then the truncation probability distribution is uniform."""
580
-
580
+ from pref_voting.profiles_with_ties import ProfileWithTies
581
+
581
582
  if truncation_prob_list is None:
582
583
  truncation_prob_list = [1/self.num_cands]*self.num_cands
583
584
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pref_voting
3
- Version: 1.17.4
3
+ Version: 1.17.5
4
4
  Summary: pref_voting is a Python package that contains tools to reason about elections and margin graphs, and implementations of voting methods.
5
5
  License: MIT
6
6
  License-File: LICENSE.txt
@@ -1,4 +1,4 @@
1
- pref_voting/__init__.py,sha256=XgO41owLcnTb3OqCJa6A4mkFn86SBwVNf8AByqYm96I,23
1
+ pref_voting/__init__.py,sha256=8vMbirMydf-VRPh5FCNXxgiTGnYIJsPlTS1WLNlD4LY,23
2
2
  pref_voting/analysis.py,sha256=2YEWqTR6phI3sMIWh-tsm0QOmOgTszBwwUFrXvszrbg,21025
3
3
  pref_voting/axiom.py,sha256=aTON7iEnJywuMHwlNXsF-1KYVccMnylrzfnk52kJX6g,1270
4
4
  pref_voting/axiom_helpers.py,sha256=3APt16me9ZhA8K-GI0PYf9x_Cwe4N4Is1fyG8_jDA1o,3904
@@ -66,7 +66,7 @@ pref_voting/other_methods.py,sha256=8_dGVThgNZK7Gdq8Mgq3SMRStbNUYn02BIIfvHW4XnE,
66
66
  pref_voting/pairwise_profiles.py,sha256=laBXePxveviFzYemu1XdFPk9Zu7XwOY0P7_xBxofEbw,22104
67
67
  pref_voting/prob_voting_method.py,sha256=PYgaRYhJqX-8QySYnOCYv_6ra5OVYvGc8FYUV2dkH-E,3721
68
68
  pref_voting/probabilistic_methods.py,sha256=HslHc61w9mPuP2ToNih9pl7zLNQw8EicSGqVnMu8vkg,11865
69
- pref_voting/profiles.py,sha256=kuhWD-7mwBpHLVlh1H6rx3brfyD5fk1eEbkdFVP5aTo,36307
69
+ pref_voting/profiles.py,sha256=vHSRk1ByU3XNX52CSMybAFua7YqUbcBWB7zdUQ8SKfY,36382
70
70
  pref_voting/profiles_with_ties.py,sha256=tSjhsocPEidCbZKQfHk3HUmeWQ0O-wNAYTQvFYSLgzs,41023
71
71
  pref_voting/proportional_methods.py,sha256=sslOHN7D_DYtOgVdMEgp9iF7CJ67313a1CYIXU3ngyg,66985
72
72
  pref_voting/rankings.py,sha256=FAKPfBvwuNs0yVXgu3kyZ2gjUUDzVaFqOL7Xy2W9xm8,16418
@@ -87,7 +87,7 @@ pref_voting/voting_method_properties.py,sha256=xwYaiIXTS5JdqFP9LNqcpB7ANfA58vdxY
87
87
  pref_voting/voting_methods.py,sha256=6dSuOoz8gMFlN6oN20p-C-iEnpQD_bZevVUGVZ1qntU,299
88
88
  pref_voting/voting_methods_registry.py,sha256=AoLxRDajlaJdnXKjpYlpnlEKWxCL4FBOyh40p_x-RBQ,5028
89
89
  pref_voting/weighted_majority_graphs.py,sha256=J_OoHcMSjvV97i-3VQ88oBUHgLWJa59mT8feh_gseHk,59095
90
- pref_voting-1.17.4.dist-info/METADATA,sha256=kKuViLggL3Se8cia78zi5KMpq-L9BvkS8X89k_ZiO3k,8145
91
- pref_voting-1.17.4.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
92
- pref_voting-1.17.4.dist-info/licenses/LICENSE.txt,sha256=HrDgoFIL8aUJAoU2P4CmPR7XKaGq2Mq3arCYa2Jbjiw,1085
93
- pref_voting-1.17.4.dist-info/RECORD,,
90
+ pref_voting-1.17.5.dist-info/METADATA,sha256=eQMFrpPgB4CBCJoRbUYh5VtdUUp85jkiVrRaeTuP7pg,8145
91
+ pref_voting-1.17.5.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
92
+ pref_voting-1.17.5.dist-info/licenses/LICENSE.txt,sha256=HrDgoFIL8aUJAoU2P4CmPR7XKaGq2Mq3arCYa2Jbjiw,1085
93
+ pref_voting-1.17.5.dist-info/RECORD,,