Skip to content

Commit

Permalink
Update rules.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tjhv10 authored Jun 26, 2024
1 parent 7caf4d4 commit 2075fac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/_sources/usage/rules.rst
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,8 @@ The `cstv` function implements the Cost-Sensitive Approval Voting algorithm for
instance = Instance(projects)
donors = Profile([CumulativeBallot({"Project A": 5, "Project B": 10), CumulativeBallot({"Project A": 5, "Project B": 10), CumulativeBallot({"Project A": 0, "Project B": 15), CumulativeBallot({"Project A": 8, "Project B": 7}), CumulativeBallot({"Project A": 10, "Project B": 5)])
outcome1 = cstv_allocation(instance, profile1)
alg_str = "ewt" # Look in the paper that is the insperation for this code in section 5.6
outcome1 = cstv_budgeting_combination(instance, donors, alg_str)
Details for the Budget Allocation Rule
--------------------------------------
Expand Down

0 comments on commit 2075fac

Please sign in to comment.