Skip to content

Commit

Permalink
add algorithm parameter, add participation axiom
Browse files Browse the repository at this point in the history
  • Loading branch information
epacuit committed Apr 28, 2024
1 parent a723698 commit d0ab60c
Show file tree
Hide file tree
Showing 8 changed files with 2,134 additions and 460 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
author = 'Wes Holliday and Eric Pacuit'

# The full version, including alpha/beta/rc tags
release = '1.0.0'
release = '1.1.0'


# -- General configuration ---------------------------------------------------
Expand Down
46 changes: 13 additions & 33 deletions docs/source/margin_based_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@ A voting method $F$ is **margin-based** if it satisfies the following invariance
```

### Beat Path Floyd-Warshall


```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.beat_path_Floyd_Warshall
```

### Beat Path Defeat

Expand All @@ -55,14 +47,6 @@ A voting method $F$ is **margin-based** if it satisfies the following invariance
```

### Split Cycle Floyd-Warshall

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.split_cycle_Floyd_Warshall
```

### Split Cycle Defeat

Expand Down Expand Up @@ -98,20 +82,14 @@ A voting method $F$ is **margin-based** if it satisfies the following invariance
```

### Ranked Pairs from Stacks
### Stacks

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.is_stack
```

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.ranked_pairs_from_stacks
```


### Ranked Pairs with Tiebreaking

Expand Down Expand Up @@ -169,35 +147,37 @@ A voting method $F$ is **margin-based** if it satisfies the following invariance
.. autofunction:: pref_voting.margin_based_methods.stable_voting
```

### Stable Voting Faster

## Simple Stable Voting

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.stable_voting_faster
.. autofunction:: pref_voting.margin_based_methods.simple_stable_voting
```

### Simple Stable Voting

## Loss-Trimmer

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.simple_stable_voting
.. autofunction:: pref_voting.margin_based_methods.loss_trimmer
```


### Simple Stable Voting Faster
## Essential Set

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.simple_stable_voting_faster
.. autofunction:: pref_voting.margin_based_methods.essential
```

## Loss-Trimmer
## Weighted Covering

```{eval-rst}
.. autofunction:: pref_voting.margin_based_methods.loss_trimmer
.. autofunction:: pref_voting.margin_based_methods.weighted_covering
```

2 changes: 1 addition & 1 deletion pref_voting/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.0'
__version__ = '1.1.0'
Loading

0 comments on commit d0ab60c

Please sign in to comment.