diff --git a/docs/.nojekyll b/docs/.nojekyll
new file mode 100644
index 00000000..e69de29b
diff --git a/docs/_modules/index.html b/docs/_modules/index.html
index c94288bc..e01cfea4 100644
--- a/docs/_modules/index.html
+++ b/docs/_modules/index.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/category.html b/docs/_modules/pabutools/analysis/category.html
index a3fcc8d6..aac3e7c1 100644
--- a/docs/_modules/pabutools/analysis/category.html
+++ b/docs/_modules/pabutools/analysis/category.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/instanceproperties.html b/docs/_modules/pabutools/analysis/instanceproperties.html
index cf7245e3..99cc296c 100644
--- a/docs/_modules/pabutools/analysis/instanceproperties.html
+++ b/docs/_modules/pabutools/analysis/instanceproperties.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/justifiedrepresentation.html b/docs/_modules/pabutools/analysis/justifiedrepresentation.html
index e78916b7..d45b62ed 100644
--- a/docs/_modules/pabutools/analysis/justifiedrepresentation.html
+++ b/docs/_modules/pabutools/analysis/justifiedrepresentation.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/mesanalytics.html b/docs/_modules/pabutools/analysis/mesanalytics.html
index 276eb528..91145408 100644
--- a/docs/_modules/pabutools/analysis/mesanalytics.html
+++ b/docs/_modules/pabutools/analysis/mesanalytics.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/profileproperties.html b/docs/_modules/pabutools/analysis/profileproperties.html
index 21cf2829..6f03a9bf 100644
--- a/docs/_modules/pabutools/analysis/profileproperties.html
+++ b/docs/_modules/pabutools/analysis/profileproperties.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/analysis/votersatisfaction.html b/docs/_modules/pabutools/analysis/votersatisfaction.html
index fae5bebf..2744d2be 100644
--- a/docs/_modules/pabutools/analysis/votersatisfaction.html
+++ b/docs/_modules/pabutools/analysis/votersatisfaction.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/ballot/approvalballot.html b/docs/_modules/pabutools/election/ballot/approvalballot.html
index d45dd655..aa653f21 100644
--- a/docs/_modules/pabutools/election/ballot/approvalballot.html
+++ b/docs/_modules/pabutools/election/ballot/approvalballot.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/ballot/ballot.html b/docs/_modules/pabutools/election/ballot/ballot.html
index e1dbec06..225dc8a6 100644
--- a/docs/_modules/pabutools/election/ballot/ballot.html
+++ b/docs/_modules/pabutools/election/ballot/ballot.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/ballot/cardinalballot.html b/docs/_modules/pabutools/election/ballot/cardinalballot.html
index 3d2c51c5..fae19acf 100644
--- a/docs/_modules/pabutools/election/ballot/cardinalballot.html
+++ b/docs/_modules/pabutools/election/ballot/cardinalballot.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/ballot/cumulativeballot.html b/docs/_modules/pabutools/election/ballot/cumulativeballot.html
index 314bb1c6..63c46ca1 100644
--- a/docs/_modules/pabutools/election/ballot/cumulativeballot.html
+++ b/docs/_modules/pabutools/election/ballot/cumulativeballot.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/ballot/ordinalballot.html b/docs/_modules/pabutools/election/ballot/ordinalballot.html
index 489e45db..2aa34f69 100644
--- a/docs/_modules/pabutools/election/ballot/ordinalballot.html
+++ b/docs/_modules/pabutools/election/ballot/ordinalballot.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/instance.html b/docs/_modules/pabutools/election/instance.html
index 14e7c70e..2e5960da 100644
--- a/docs/_modules/pabutools/election/instance.html
+++ b/docs/_modules/pabutools/election/instance.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/pabulib.html b/docs/_modules/pabutools/election/pabulib.html
index c2cf59c1..4684f5c3 100644
--- a/docs/_modules/pabutools/election/pabulib.html
+++ b/docs/_modules/pabutools/election/pabulib.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/preflib.html b/docs/_modules/pabutools/election/preflib.html
index 2512a46c..84f20361 100644
--- a/docs/_modules/pabutools/election/preflib.html
+++ b/docs/_modules/pabutools/election/preflib.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/profile/approvalprofile.html b/docs/_modules/pabutools/election/profile/approvalprofile.html
index 7285f8e0..203b3b00 100644
--- a/docs/_modules/pabutools/election/profile/approvalprofile.html
+++ b/docs/_modules/pabutools/election/profile/approvalprofile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/profile/cardinalprofile.html b/docs/_modules/pabutools/election/profile/cardinalprofile.html
index 890c7d88..88071d09 100644
--- a/docs/_modules/pabutools/election/profile/cardinalprofile.html
+++ b/docs/_modules/pabutools/election/profile/cardinalprofile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/profile/cumulativeprofile.html b/docs/_modules/pabutools/election/profile/cumulativeprofile.html
index 6d361377..861a1341 100644
--- a/docs/_modules/pabutools/election/profile/cumulativeprofile.html
+++ b/docs/_modules/pabutools/election/profile/cumulativeprofile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/profile/ordinalprofile.html b/docs/_modules/pabutools/election/profile/ordinalprofile.html
index 536281d2..a9574720 100644
--- a/docs/_modules/pabutools/election/profile/ordinalprofile.html
+++ b/docs/_modules/pabutools/election/profile/ordinalprofile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/profile/profile.html b/docs/_modules/pabutools/election/profile/profile.html
index 7eb4c48a..4485237f 100644
--- a/docs/_modules/pabutools/election/profile/profile.html
+++ b/docs/_modules/pabutools/election/profile/profile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/satisfaction/additivesatisfaction.html b/docs/_modules/pabutools/election/satisfaction/additivesatisfaction.html
index 19d03140..f229d402 100644
--- a/docs/_modules/pabutools/election/satisfaction/additivesatisfaction.html
+++ b/docs/_modules/pabutools/election/satisfaction/additivesatisfaction.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/satisfaction/functionalsatisfaction.html b/docs/_modules/pabutools/election/satisfaction/functionalsatisfaction.html
index ebd1927a..336d34e7 100644
--- a/docs/_modules/pabutools/election/satisfaction/functionalsatisfaction.html
+++ b/docs/_modules/pabutools/election/satisfaction/functionalsatisfaction.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/satisfaction/positionalsatisfaction.html b/docs/_modules/pabutools/election/satisfaction/positionalsatisfaction.html
index 14edb07b..6326e332 100644
--- a/docs/_modules/pabutools/election/satisfaction/positionalsatisfaction.html
+++ b/docs/_modules/pabutools/election/satisfaction/positionalsatisfaction.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/satisfaction/satisfactionmeasure.html b/docs/_modules/pabutools/election/satisfaction/satisfactionmeasure.html
index 17e51dc6..a517bbc6 100644
--- a/docs/_modules/pabutools/election/satisfaction/satisfactionmeasure.html
+++ b/docs/_modules/pabutools/election/satisfaction/satisfactionmeasure.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/election/satisfaction/satisfactionprofile.html b/docs/_modules/pabutools/election/satisfaction/satisfactionprofile.html
index 60e04635..2918368e 100644
--- a/docs/_modules/pabutools/election/satisfaction/satisfactionprofile.html
+++ b/docs/_modules/pabutools/election/satisfaction/satisfactionprofile.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/fractions.html b/docs/_modules/pabutools/fractions.html
index 1dd6593a..1f150cd9 100644
--- a/docs/_modules/pabutools/fractions.html
+++ b/docs/_modules/pabutools/fractions.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/budgetallocation.html b/docs/_modules/pabutools/rules/budgetallocation.html
index 7150a980..8c8d76ed 100644
--- a/docs/_modules/pabutools/rules/budgetallocation.html
+++ b/docs/_modules/pabutools/rules/budgetallocation.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/composition.html b/docs/_modules/pabutools/rules/composition.html
index 345cddeb..8ca85e10 100644
--- a/docs/_modules/pabutools/rules/composition.html
+++ b/docs/_modules/pabutools/rules/composition.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/cstv.html b/docs/_modules/pabutools/rules/cstv.html
index f4a8bfb4..12ba8030 100644
--- a/docs/_modules/pabutools/rules/cstv.html
+++ b/docs/_modules/pabutools/rules/cstv.html
@@ -35,7 +35,7 @@
-
+
@@ -448,8 +448,6 @@
"Not all donors donate the same amount. Change the donations and try again."
)
- if tie_breaking is None :
- tie_breaking = lexico_tie_breaking
if initial_budget_allocation is None :
initial_budget_allocation = BudgetAllocation ()
else :
diff --git a/docs/_modules/pabutools/rules/exhaustion.html b/docs/_modules/pabutools/rules/exhaustion.html
index 1bfa16f5..b3621906 100644
--- a/docs/_modules/pabutools/rules/exhaustion.html
+++ b/docs/_modules/pabutools/rules/exhaustion.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_details.html b/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_details.html
index 755f0e04..d17f825c 100644
--- a/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_details.html
+++ b/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_details.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_rule.html b/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_rule.html
index b999baae..f55abbf2 100644
--- a/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_rule.html
+++ b/docs/_modules/pabutools/rules/greedywelfare/greedywelfare_rule.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/maxwelfare.html b/docs/_modules/pabutools/rules/maxwelfare.html
index 6593ea69..b4b0a590 100644
--- a/docs/_modules/pabutools/rules/maxwelfare.html
+++ b/docs/_modules/pabutools/rules/maxwelfare.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/mes/mes_details.html b/docs/_modules/pabutools/rules/mes/mes_details.html
index 98fbbfdd..20b50435 100644
--- a/docs/_modules/pabutools/rules/mes/mes_details.html
+++ b/docs/_modules/pabutools/rules/mes/mes_details.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/mes/mes_rule.html b/docs/_modules/pabutools/rules/mes/mes_rule.html
index 45ead405..c7c4d447 100644
--- a/docs/_modules/pabutools/rules/mes/mes_rule.html
+++ b/docs/_modules/pabutools/rules/mes/mes_rule.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/rules/phragmen.html b/docs/_modules/pabutools/rules/phragmen.html
index 376bd0da..a7e21d47 100644
--- a/docs/_modules/pabutools/rules/phragmen.html
+++ b/docs/_modules/pabutools/rules/phragmen.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/tiebreaking.html b/docs/_modules/pabutools/tiebreaking.html
index ece596cd..0b84b3e5 100644
--- a/docs/_modules/pabutools/tiebreaking.html
+++ b/docs/_modules/pabutools/tiebreaking.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/utils.html b/docs/_modules/pabutools/utils.html
index c8496198..d85888b2 100644
--- a/docs/_modules/pabutools/utils.html
+++ b/docs/_modules/pabutools/utils.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_modules/pabutools/visualisation/visualisation.html b/docs/_modules/pabutools/visualisation/visualisation.html
index a69d2168..0888f0a0 100644
--- a/docs/_modules/pabutools/visualisation/visualisation.html
+++ b/docs/_modules/pabutools/visualisation/visualisation.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/_static/basic.css b/docs/_static/basic.css
index 2af6139e..e760386b 100644
--- a/docs/_static/basic.css
+++ b/docs/_static/basic.css
@@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
- * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
diff --git a/docs/_static/doctools.js b/docs/_static/doctools.js
index 4d67807d..d06a71d7 100644
--- a/docs/_static/doctools.js
+++ b/docs/_static/doctools.js
@@ -4,7 +4,7 @@
*
* Base JavaScript utilities for all Sphinx HTML documentation.
*
- * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
diff --git a/docs/_static/language_data.js b/docs/_static/language_data.js
index 367b8ed8..250f5665 100644
--- a/docs/_static/language_data.js
+++ b/docs/_static/language_data.js
@@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
- * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -13,7 +13,7 @@
var stopwords = ["a", "and", "are", "as", "at", "be", "but", "by", "for", "if", "in", "into", "is", "it", "near", "no", "not", "of", "on", "or", "such", "that", "the", "their", "then", "there", "these", "they", "this", "to", "was", "will", "with"];
-/* Non-minified version is copied as a separate JS file, if available */
+/* Non-minified version is copied as a separate JS file, is available */
/**
* Porter Stemmer
diff --git a/docs/_static/searchtools.js b/docs/_static/searchtools.js
index 92da3f8b..7918c3fa 100644
--- a/docs/_static/searchtools.js
+++ b/docs/_static/searchtools.js
@@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for the full-text search.
*
- * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
+ * :copyright: Copyright 2007-2023 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
@@ -99,7 +99,7 @@ const _displayItem = (item, searchTerms, highlightTerms) => {
.then((data) => {
if (data)
listItem.appendChild(
- Search.makeSearchSummary(data, searchTerms, anchor)
+ Search.makeSearchSummary(data, searchTerms)
);
// highlight search terms in the summary
if (SPHINX_HIGHLIGHT_ENABLED) // set in sphinx_highlight.js
@@ -116,8 +116,8 @@ const _finishSearch = (resultCount) => {
);
else
Search.status.innerText = _(
- "Search finished, found ${resultCount} page(s) matching the search query."
- ).replace('${resultCount}', resultCount);
+ `Search finished, found ${resultCount} page(s) matching the search query.`
+ );
};
const _displayNextItem = (
results,
@@ -137,22 +137,6 @@ const _displayNextItem = (
// search finished, update title and status message
else _finishSearch(resultCount);
};
-// Helper function used by query() to order search results.
-// Each input is an array of [docname, title, anchor, descr, score, filename].
-// Order the results by score (in opposite order of appearance, since the
-// `_displayNextItem` function uses pop() to retrieve items) and then alphabetically.
-const _orderResultsByScoreThenName = (a, b) => {
- const leftScore = a[4];
- const rightScore = b[4];
- if (leftScore === rightScore) {
- // same score: sort alphabetically
- const leftTitle = a[1].toLowerCase();
- const rightTitle = b[1].toLowerCase();
- if (leftTitle === rightTitle) return 0;
- return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
- }
- return leftScore > rightScore ? 1 : -1;
-};
/**
* Default splitQuery function. Can be overridden in ``sphinx.search`` with a
@@ -176,26 +160,13 @@ const Search = {
_queued_query: null,
_pulse_status: -1,
- htmlToText: (htmlString, anchor) => {
+ htmlToText: (htmlString) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
- for (const removalQuery of [".headerlinks", "script", "style"]) {
- htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
- }
- if (anchor) {
- const anchorContent = htmlElement.querySelector(`[role="main"] ${anchor}`);
- if (anchorContent) return anchorContent.textContent;
-
- console.warn(
- `Anchored content block not found. Sphinx search tries to obtain it via DOM query '[role=main] ${anchor}'. Check your theme or template.`
- );
- }
-
- // if anchor not specified or not found, fall back to main content
+ htmlElement.querySelectorAll(".headerlink").forEach((el) => { el.remove() });
const docContent = htmlElement.querySelector('[role="main"]');
- if (docContent) return docContent.textContent;
-
+ if (docContent !== undefined) return docContent.textContent;
console.warn(
- "Content block not found. Sphinx search tries to obtain it via DOM query '[role=main]'. Check your theme or template."
+ "Content block not found. Sphinx search tries to obtain it via '[role=main]'. Could you check your theme or template."
);
return "";
},
@@ -268,7 +239,16 @@ const Search = {
else Search.deferQuery(query);
},
- _parseQuery: (query) => {
+ /**
+ * execute search (requires search index to be loaded)
+ */
+ query: (query) => {
+ const filenames = Search._index.filenames;
+ const docNames = Search._index.docnames;
+ const titles = Search._index.titles;
+ const allTitles = Search._index.alltitles;
+ const indexEntries = Search._index.indexentries;
+
// stem the search terms and add them to the correct list
const stemmer = new Stemmer();
const searchTerms = new Set();
@@ -304,32 +284,16 @@ const Search = {
// console.info("required: ", [...searchTerms]);
// console.info("excluded: ", [...excludedTerms]);
- return [query, searchTerms, excludedTerms, highlightTerms, objectTerms];
- },
-
- /**
- * execute search (requires search index to be loaded)
- */
- _performSearch: (query, searchTerms, excludedTerms, highlightTerms, objectTerms) => {
- const filenames = Search._index.filenames;
- const docNames = Search._index.docnames;
- const titles = Search._index.titles;
- const allTitles = Search._index.alltitles;
- const indexEntries = Search._index.indexentries;
-
- // Collect multiple result groups to be sorted separately and then ordered.
- // Each is an array of [docname, title, anchor, descr, score, filename].
- const normalResults = [];
- const nonMainIndexResults = [];
-
+ // array of [docname, title, anchor, descr, score, filename]
+ let results = [];
_removeChildren(document.getElementById("search-progress"));
- const queryLower = query.toLowerCase().trim();
+ const queryLower = query.toLowerCase();
for (const [title, foundTitles] of Object.entries(allTitles)) {
- if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
+ if (title.toLowerCase().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
- normalResults.push([
+ results.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
@@ -344,47 +308,46 @@ const Search = {
// search for explicit entries in index directives
for (const [entry, foundEntries] of Object.entries(indexEntries)) {
if (entry.includes(queryLower) && (queryLower.length >= entry.length/2)) {
- for (const [file, id, isMain] of foundEntries) {
- const score = Math.round(100 * queryLower.length / entry.length);
- const result = [
+ for (const [file, id] of foundEntries) {
+ let score = Math.round(100 * queryLower.length / entry.length)
+ results.push([
docNames[file],
titles[file],
id ? "#" + id : "",
null,
score,
filenames[file],
- ];
- if (isMain) {
- normalResults.push(result);
- } else {
- nonMainIndexResults.push(result);
- }
+ ]);
}
}
}
// lookup as object
objectTerms.forEach((term) =>
- normalResults.push(...Search.performObjectSearch(term, objectTerms))
+ results.push(...Search.performObjectSearch(term, objectTerms))
);
// lookup as search terms in fulltext
- normalResults.push(...Search.performTermsSearch(searchTerms, excludedTerms));
+ results.push(...Search.performTermsSearch(searchTerms, excludedTerms));
// let the scorer override scores with a custom scoring function
- if (Scorer.score) {
- normalResults.forEach((item) => (item[4] = Scorer.score(item)));
- nonMainIndexResults.forEach((item) => (item[4] = Scorer.score(item)));
- }
-
- // Sort each group of results by score and then alphabetically by name.
- normalResults.sort(_orderResultsByScoreThenName);
- nonMainIndexResults.sort(_orderResultsByScoreThenName);
-
- // Combine the result groups in (reverse) order.
- // Non-main index entries are typically arbitrary cross-references,
- // so display them after other results.
- let results = [...nonMainIndexResults, ...normalResults];
+ if (Scorer.score) results.forEach((item) => (item[4] = Scorer.score(item)));
+
+ // now sort the results by score (in opposite order of appearance, since the
+ // display function below uses pop() to retrieve items) and then
+ // alphabetically
+ results.sort((a, b) => {
+ const leftScore = a[4];
+ const rightScore = b[4];
+ if (leftScore === rightScore) {
+ // same score: sort alphabetically
+ const leftTitle = a[1].toLowerCase();
+ const rightTitle = b[1].toLowerCase();
+ if (leftTitle === rightTitle) return 0;
+ return leftTitle > rightTitle ? -1 : 1; // inverted is intentional
+ }
+ return leftScore > rightScore ? 1 : -1;
+ });
// remove duplicate search results
// note the reversing of results, so that in the case of duplicates, the highest-scoring entry is kept
@@ -398,12 +361,7 @@ const Search = {
return acc;
}, []);
- return results.reverse();
- },
-
- query: (query) => {
- const [searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms] = Search._parseQuery(query);
- const results = Search._performSearch(searchQuery, searchTerms, excludedTerms, highlightTerms, objectTerms);
+ results = results.reverse();
// for debugging
//Search.lastresults = results.slice(); // a copy
@@ -508,18 +466,14 @@ const Search = {
// add support for partial matches
if (word.length > 2) {
const escapedWord = _escapeRegExp(word);
- if (!terms.hasOwnProperty(word)) {
- Object.keys(terms).forEach((term) => {
- if (term.match(escapedWord))
- arr.push({ files: terms[term], score: Scorer.partialTerm });
- });
- }
- if (!titleTerms.hasOwnProperty(word)) {
- Object.keys(titleTerms).forEach((term) => {
- if (term.match(escapedWord))
- arr.push({ files: titleTerms[term], score: Scorer.partialTitle });
- });
- }
+ Object.keys(terms).forEach((term) => {
+ if (term.match(escapedWord) && !terms[word])
+ arr.push({ files: terms[term], score: Scorer.partialTerm });
+ });
+ Object.keys(titleTerms).forEach((term) => {
+ if (term.match(escapedWord) && !titleTerms[word])
+ arr.push({ files: titleTerms[word], score: Scorer.partialTitle });
+ });
}
// no match but word was a required one
@@ -542,8 +496,9 @@ const Search = {
// create the mapping
files.forEach((file) => {
- if (!fileMap.has(file)) fileMap.set(file, [word]);
- else if (fileMap.get(file).indexOf(word) === -1) fileMap.get(file).push(word);
+ if (fileMap.has(file) && fileMap.get(file).indexOf(word) === -1)
+ fileMap.get(file).push(word);
+ else fileMap.set(file, [word]);
});
});
@@ -594,8 +549,8 @@ const Search = {
* search summary for a given text. keywords is a list
* of stemmed words.
*/
- makeSearchSummary: (htmlText, keywords, anchor) => {
- const text = Search.htmlToText(htmlText, anchor);
+ makeSearchSummary: (htmlText, keywords) => {
+ const text = Search.htmlToText(htmlText);
if (text === "") return null;
const textLower = text.toLowerCase();
diff --git a/docs/genindex.html b/docs/genindex.html
index 7de5a8af..1c2f2295 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/index.html b/docs/index.html
index e075e893..232f71d1 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,7 +6,7 @@
-
+
Pabutools: PB as easy as ABC — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/installation.html b/docs/installation.html
index 764fc0cc..0cc8c234 100644
--- a/docs/installation.html
+++ b/docs/installation.html
@@ -6,7 +6,7 @@
-
+
Installation — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/py-modindex.html b/docs/py-modindex.html
index a0d733c0..3f0dfdce 100644
--- a/docs/py-modindex.html
+++ b/docs/py-modindex.html
@@ -35,7 +35,7 @@
-
+
diff --git a/docs/quickstart.html b/docs/quickstart.html
index f932cd0c..b53995d1 100644
--- a/docs/quickstart.html
+++ b/docs/quickstart.html
@@ -6,7 +6,7 @@
-
+
Quick Start — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/analysis/index.html b/docs/reference/analysis/index.html
index 03f19d7c..40854014 100644
--- a/docs/reference/analysis/index.html
+++ b/docs/reference/analysis/index.html
@@ -6,7 +6,7 @@
-
+
Analysis module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/election/ballot.html b/docs/reference/election/ballot.html
index c6df5f8c..3f4fbef1 100644
--- a/docs/reference/election/ballot.html
+++ b/docs/reference/election/ballot.html
@@ -6,7 +6,7 @@
-
+
Ballot module — Pabutools
@@ -36,7 +36,7 @@
-
+
@@ -772,14 +772,14 @@ Contents
class AbstractCardinalBallot ( name : str = '' , meta : dict | None = None ) [source]
-Bases: AbstractBallot
, ABC
, Mapping
[Project
, int
| float
| mpq
]
+Bases: AbstractBallot
, ABC
, Mapping
[Project
, Union
[int
, float
, mpq
]]
Abstract class for cardinal ballots. Essentially used for typing purposes.
class CardinalBallot ( init : dict [ Project , int | float | mpq ] | None = None , name : str | None = None , meta : dict | None = None ) [source]
-Bases: dict
[Project
, int
| float
| mpq
], Ballot
, AbstractCardinalBallot
+Bases: dict
[Project
, Union
[int
, float
, mpq
]], Ballot
, AbstractCardinalBallot
A cardinal ballot, that is, a ballot in which the voter assigned scores to projects. This class inherits from the
Python class dict and can be used as one.
@@ -859,7 +859,7 @@ Contents
class FrozenCardinalBallot ( init : dict [ Project , int | float | mpq ] = () , name : str | None = None , meta : dict | None = None ) [source]
-Bases: dict
[Project
, int
| float
| mpq
], FrozenBallot
, AbstractCardinalBallot
+Bases: dict
[Project
, Union
[int
, float
, mpq
]], FrozenBallot
, AbstractCardinalBallot
Frozen cardinal ballot, that is, a ballot in which the voter assigned scores to projects.
Since there is no frozen dictionary implemented in Python, this class simply inherits from the Python class dict ,
overriding the set_item method to ensure that it is non-mutable (raising an exception if the method is used).
@@ -980,7 +980,7 @@ Contents
class FrozenCumulativeBallot ( init : dict [ Project , int | float | mpq ] | None = None , name : str | None = None , meta : dict | None = None ) [source]
-Bases: dict
[Project
, int
| float
| mpq
], FrozenBallot
, AbstractCumulativeBallot
+Bases: dict
[Project
, Union
[int
, float
, mpq
]], FrozenBallot
, AbstractCumulativeBallot
Frozen cumulative ballot, that is, a ballot in which the voter distributes a given amount of points to the projects.
This is a special type of cardinal ballot
(see CardinalBallot
).
diff --git a/docs/reference/election/index.html b/docs/reference/election/index.html
index b9566cd2..1a547999 100644
--- a/docs/reference/election/index.html
+++ b/docs/reference/election/index.html
@@ -6,7 +6,7 @@
-
+
Election module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/election/instance.html b/docs/reference/election/instance.html
index c47b8ebb..357a4e0f 100644
--- a/docs/reference/election/instance.html
+++ b/docs/reference/election/instance.html
@@ -6,7 +6,7 @@
-
+
Instance module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/election/libraries.html b/docs/reference/election/libraries.html
index 42b250ae..a9ebf257 100644
--- a/docs/reference/election/libraries.html
+++ b/docs/reference/election/libraries.html
@@ -6,7 +6,7 @@
-
+
Preference Libraries — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/election/profile.html b/docs/reference/election/profile.html
index bfbb0381..2b0cd574 100644
--- a/docs/reference/election/profile.html
+++ b/docs/reference/election/profile.html
@@ -6,7 +6,7 @@
-
+
Profile module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/election/satisfaction.html b/docs/reference/election/satisfaction.html
index 9c296add..3a628ad2 100644
--- a/docs/reference/election/satisfaction.html
+++ b/docs/reference/election/satisfaction.html
@@ -6,7 +6,7 @@
-
+
Satisfaction module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/fractions.html b/docs/reference/fractions.html
index 47ca38ef..6dd780e2 100644
--- a/docs/reference/fractions.html
+++ b/docs/reference/fractions.html
@@ -6,7 +6,7 @@
-
+
Fractions — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/index.html b/docs/reference/index.html
index c04bbba3..4ee29094 100644
--- a/docs/reference/index.html
+++ b/docs/reference/index.html
@@ -6,7 +6,7 @@
-
+
Reference — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/rules/index.html b/docs/reference/rules/index.html
index 6f105914..a3d02c39 100644
--- a/docs/reference/rules/index.html
+++ b/docs/reference/rules/index.html
@@ -6,7 +6,7 @@
-
+
Rules module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/tiebreaking.html b/docs/reference/tiebreaking.html
index 7aa7d0cc..8397d666 100644
--- a/docs/reference/tiebreaking.html
+++ b/docs/reference/tiebreaking.html
@@ -6,7 +6,7 @@
-
+
Tie-Breaking — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/reference/utils.html b/docs/reference/utils.html
index 34b56f34..eb3cc0dd 100644
--- a/docs/reference/utils.html
+++ b/docs/reference/utils.html
@@ -6,7 +6,7 @@
-
+
Utils — Pabutools
@@ -36,7 +36,7 @@
-
+
@@ -420,7 +420,7 @@ Contents
Numeric
Type for numeric values. Is the union of int, float and mpq fractions (from the gumpy2 package).
-alias of int
| float
| mpq
+alias of Union
[int
, float
, mpq
]
diff --git a/docs/reference/visualisation/index.html b/docs/reference/visualisation/index.html
index 37001ce1..6a42aadb 100644
--- a/docs/reference/visualisation/index.html
+++ b/docs/reference/visualisation/index.html
@@ -6,7 +6,7 @@
-
+
Visualisation Module — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/search.html b/docs/search.html
index c5aa90d2..6e9f692b 100644
--- a/docs/search.html
+++ b/docs/search.html
@@ -34,7 +34,7 @@
-
+
diff --git a/docs/searchindex.js b/docs/searchindex.js
index 851e31b2..217dcc4f 100644
--- a/docs/searchindex.js
+++ b/docs/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"alltitles": {"Additive Satisfaction Functions": [[24, "additive-satisfaction-functions"]], "Additive Utilitarian Welfare Maximiser": [[12, "additive-utilitarian-welfare-maximiser"], [23, "additive-utilitarian-welfare-maximiser"]], "Analysis": [[16, "analysis"]], "Analysis module": [[3, "module-pabutools.analysis"]], "Approval Profiles": [[22, "approval-profiles"]], "Ballot module": [[4, "module-pabutools.election.ballot"]], "Ballots and Profiles": [[2, "ballots-and-profiles"]], "Basic Properties": [[3, "module-pabutools.analysis.instanceproperties"]], "Budget Allocation": [[12, "budget-allocation"], [23, "budget-allocation"]], "Cardinal Profiles": [[22, "cardinal-profiles"]], "Complete Guide": [[18, "complete-guide"]], "Computing the Outcome of an Election": [[2, "computing-the-outcome-of-an-election"]], "Cumulative Profiles": [[22, "cumulative-profiles"]], "Cumulative Support Transfer Voting Rule": [[12, "cumulative-support-transfer-voting-rule"], [23, "cumulative-support-transfer-voting-rule"]], "Default Satisfaction Functions": [[24, "default-satisfaction-functions"]], "Describing an Election": [[2, "describing-an-election"]], "Details for the Budget Allocation Rule": [[23, "details-for-the-budget-allocation-rule"]], "Election module": [[5, "election-module"]], "Exhaustion Methods": [[12, "exhaustion-methods"], [23, "exhaustion-methods"]], "Fractions": [[10, "module-pabutools.fractions"], [17, "fractions"]], "Functional Satisfaction Functions": [[24, "functional-satisfaction-functions"]], "Greedy Approximation of the Welfare Maximiser": [[23, "greedy-approximation-of-the-welfare-maximiser"]], "Greedy Utilitarian Rule": [[12, "greedy-utilitarian-rule"]], "Greedy Utilitarian Welfare": [[21, "greedy-utilitarian-welfare"]], "Installation": [[1, "installation"]], "Instance module": [[6, "module-pabutools.election.instance"]], "Instances": [[19, "instances"]], "Justified Representation": [[16, "justified-representation"]], "Justified Representation Axioms": [[3, "module-pabutools.analysis.justifiedrepresentation"]], "Method of Equal Shares": [[21, "method-of-equal-shares"]], "Method of Equal Shares (MES)": [[12, "method-of-equal-shares-mes"], [23, "method-of-equal-shares-mes"]], "Multiprofile": [[22, "multiprofile"]], "Ordinal Profiles": [[22, "ordinal-profiles"]], "Outcome Visualisation": [[21, "outcome-visualisation"]], "PaBuLib": [[20, "pabulib"]], "Pabutools: PB as easy as ABC": [[0, "pabutools-pb-as-easy-as-abc"]], "Positional Satisfaction Functions": [[24, "positional-satisfaction-functions"]], "PrefLib": [[20, "preflib"]], "Preference Libraries": [[7, "preference-libraries"], [20, "preference-libraries"]], "Priceability": [[16, "priceability"]], "Profile module": [[8, "module-pabutools.election.profile"]], "Profiles": [[22, "profiles"]], "Projects and Instances": [[2, "projects-and-instances"]], "Projects\u2019 Categories Properties": [[3, "module-pabutools.analysis.category"]], "Properties Specific to the Method of Equal Shares": [[3, "module-pabutools.analysis.mesanalytics"]], "Quick Start": [[2, "quick-start"]], "Reference": [[11, "reference"]], "Rule Composition": [[12, "rule-composition"], [23, "rule-composition"]], "Rules": [[23, "rules"]], "Rules module": [[12, "module-pabutools.rules"]], "Satisfaction Measures": [[24, "satisfaction-measures"]], "Satisfaction module": [[9, "module-pabutools.election.satisfaction"]], "Sequential Phragm\u00e9n\u2019s Rule": [[12, "sequential-phragmen-s-rule"], [23, "sequential-phragmen-s-rule"]], "Tie-Breaking": [[13, "module-pabutools.tiebreaking"], [25, "tie-breaking"]], "Utils": [[14, "module-pabutools.utils"]], "Visualisation Module": [[15, "module-pabutools.visualisation"]], "Voters\u2019 Satisfaction Properties": [[3, "module-pabutools.analysis.votersatisfaction"]]}, "docnames": ["index", "installation", "quickstart", "reference/analysis/index", "reference/election/ballot", "reference/election/index", "reference/election/instance", "reference/election/libraries", "reference/election/profile", "reference/election/satisfaction", "reference/fractions", "reference/index", "reference/rules/index", "reference/tiebreaking", "reference/utils", "reference/visualisation/index", "usage/analysis", "usage/fractions", "usage/index", "usage/instances", "usage/libraries", "usage/outcomevisualisation", "usage/profiles", "usage/rules", "usage/satisfaction", "usage/tiebreaking"], "envversion": {"sphinx": 61, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1}, "filenames": ["index.rst", "installation.rst", "quickstart.rst", "reference/analysis/index.rst", "reference/election/ballot.rst", "reference/election/index.rst", "reference/election/instance.rst", "reference/election/libraries.rst", "reference/election/profile.rst", "reference/election/satisfaction.rst", "reference/fractions.rst", "reference/index.rst", "reference/rules/index.rst", "reference/tiebreaking.rst", "reference/utils.rst", "reference/visualisation/index.rst", "usage/analysis.rst", "usage/fractions.rst", "usage/index.rst", "usage/instances.rst", "usage/libraries.rst", "usage/outcomevisualisation.rst", "usage/profiles.rst", "usage/rules.rst", "usage/satisfaction.rst", "usage/tiebreaking.rst"], "indexentries": {"allocationdetails (class in pabutools.rules.budgetallocation)": [[12, "pabutools.rules.budgetallocation.AllocationDetails", false]], "budgetallocation (class in pabutools.rules.budgetallocation)": [[12, "pabutools.rules.budgetallocation.BudgetAllocation", false]], "completion_by_rule_combination() (in module pabutools.rules.exhaustion)": [[12, "pabutools.rules.exhaustion.completion_by_rule_combination", false]], "cstv() (in module pabutools.rules.cstv)": [[12, "pabutools.rules.cstv.cstv", false]], "cstv_combination (class in pabutools.rules.cstv)": [[12, "pabutools.rules.cstv.CSTV_Combination", false]], "details (budgetallocation attribute)": [[12, "pabutools.rules.budgetallocation.BudgetAllocation.details", false]], "ewt (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.EWT", false]], "ewtc (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.EWTC", false]], "exhaustion_by_budget_increase() (in module pabutools.rules.exhaustion)": [[12, "pabutools.rules.exhaustion.exhaustion_by_budget_increase", false]], "greedy_utilitarian_welfare() (in module pabutools.rules.greedywelfare)": [[12, "pabutools.rules.greedywelfare.greedy_utilitarian_welfare", false]], "greedywelfareallocationdetails (class in pabutools.rules.greedywelfare)": [[12, "pabutools.rules.greedywelfare.GreedyWelfareAllocationDetails", false]], "ilp_solver (maxaddutilwelfarealgo attribute)": [[12, "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo.ILP_SOLVER", false]], "iterations (mesallocationdetails attribute)": [[12, "pabutools.rules.mes.MESAllocationDetails.iterations", false]], "max_additive_utilitarian_welfare() (in module pabutools.rules.maxwelfare)": [[12, "pabutools.rules.maxwelfare.max_additive_utilitarian_welfare", false]], "mesallocationdetails (class in pabutools.rules.mes)": [[12, "pabutools.rules.mes.MESAllocationDetails", false]], "mesiteration (class in pabutools.rules.mes)": [[12, "pabutools.rules.mes.MESIteration", false]], "method_of_equal_shares() (in module pabutools.rules.mes)": [[12, "pabutools.rules.mes.method_of_equal_shares", false]], "module": [[12, "module-pabutools.rules", false]], "mt (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.MT", false]], "mtc (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.MTC", false]], "pabutools.rules": [[12, "module-pabutools.rules", false]], "popularity_comparison() (in module pabutools.rules.composition)": [[12, "pabutools.rules.composition.popularity_comparison", false]], "primal_dual (maxaddutilwelfarealgo attribute)": [[12, "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo.PRIMAL_DUAL", false]], "selected_project (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.selected_project", false]], "sequential_phragmen() (in module pabutools.rules.phragmen)": [[12, "pabutools.rules.phragmen.sequential_phragmen", false]], "social_welfare_comparison() (in module pabutools.rules.composition)": [[12, "pabutools.rules.composition.social_welfare_comparison", false]], "voters_budget (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.voters_budget", false]], "voters_budget_after_selection (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.voters_budget_after_selection", false]]}, "objects": {"pabutools": [[3, 0, 0, "-", "analysis"], [5, 0, 0, "-", "election"], [10, 0, 0, "-", "fractions"], [12, 0, 0, "-", "rules"], [13, 0, 0, "-", "tiebreaking"], [14, 0, 0, "-", "utils"], [15, 0, 0, "-", "visualisation"]], "pabutools.analysis": [[3, 0, 0, "-", "category"], [3, 0, 0, "-", "instanceproperties"], [3, 0, 0, "-", "justifiedrepresentation"], [3, 0, 0, "-", "mesanalytics"], [3, 0, 0, "-", "profileproperties"], [3, 0, 0, "-", "votersatisfaction"]], "pabutools.analysis.category": [[3, 1, 1, "", "category_proportionality"]], "pabutools.analysis.instanceproperties": [[3, 1, 1, "", "avg_project_cost"], [3, 1, 1, "", "funding_scarcity"], [3, 1, 1, "", "median_project_cost"], [3, 1, 1, "", "std_dev_project_cost"], [3, 1, 1, "", "sum_project_cost"]], "pabutools.analysis.justifiedrepresentation": [[3, 1, 1, "", "is_EJR_any_approval"], [3, 1, 1, "", "is_EJR_any_cardinal"], [3, 1, 1, "", "is_EJR_approval"], [3, 1, 1, "", "is_EJR_cardinal"], [3, 1, 1, "", "is_EJR_one_approval"], [3, 1, 1, "", "is_EJR_one_cardinal"], [3, 1, 1, "", "is_PJR_any_approval"], [3, 1, 1, "", "is_PJR_any_cardinal"], [3, 1, 1, "", "is_PJR_approval"], [3, 1, 1, "", "is_PJR_cardinal"], [3, 1, 1, "", "is_PJR_one_approval"], [3, 1, 1, "", "is_PJR_one_cardinal"], [3, 1, 1, "", "is_in_core"], [3, 1, 1, "", "is_strong_EJR_approval"], [3, 1, 1, "", "is_strong_EJR_cardinal"]], "pabutools.analysis.mesanalytics": [[3, 2, 1, "", "ProjectLoss"], [3, 1, 1, "", "calculate_effective_support"], [3, 1, 1, "", "calculate_effective_supports"], [3, 1, 1, "", "calculate_project_loss"]], "pabutools.analysis.mesanalytics.ProjectLoss": [[3, 3, 1, "", "budget_lost"], [3, 3, 1, "", "supporters_budget"], [3, 4, 1, "", "total_budget_lost"]], "pabutools.analysis.profileproperties": [[3, 1, 1, "", "avg_approval_score"], [3, 1, 1, "", "avg_ballot_cost"], [3, 1, 1, "", "avg_ballot_length"], [3, 1, 1, "", "avg_total_score"], [3, 1, 1, "", "median_approval_score"], [3, 1, 1, "", "median_ballot_cost"], [3, 1, 1, "", "median_ballot_length"], [3, 1, 1, "", "median_total_score"], [3, 1, 1, "", "voter_flow_matrix"], [3, 1, 1, "", "votes_count_by_project"]], "pabutools.analysis.votersatisfaction": [[3, 1, 1, "", "avg_satisfaction"], [3, 1, 1, "", "gini_coefficient_of_satisfaction"], [3, 1, 1, "", "percent_non_empty_handed"], [3, 1, 1, "", "percent_positive_satisfaction"], [3, 1, 1, "", "satisfaction_histogram"]], "pabutools.election": [[4, 0, 0, "-", "ballot"], [6, 0, 0, "-", "instance"], [8, 0, 0, "-", "profile"], [9, 0, 0, "-", "satisfaction"]], "pabutools.election.ballot.approvalballot": [[4, 2, 1, "", "AbstractApprovalBallot"], [4, 2, 1, "", "ApprovalBallot"], [4, 2, 1, "", "FrozenApprovalBallot"], [4, 1, 1, "", "get_random_approval_ballot"]], "pabutools.election.ballot.approvalballot.ApprovalBallot": [[4, 4, 1, "", "copy"], [4, 4, 1, "", "difference"], [4, 4, 1, "", "difference_update"], [4, 4, 1, "", "frozen"], [4, 4, 1, "", "intersection"], [4, 4, 1, "", "intersection_update"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "symmetric_difference"], [4, 4, 1, "", "symmetric_difference_update"], [4, 4, 1, "", "union"]], "pabutools.election.ballot.approvalballot.FrozenApprovalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot": [[4, 2, 1, "", "AbstractBallot"], [4, 2, 1, "", "Ballot"], [4, 2, 1, "", "FrozenBallot"]], "pabutools.election.ballot.ballot.AbstractBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot.Ballot": [[4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot.FrozenBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cardinalballot": [[4, 2, 1, "", "AbstractCardinalBallot"], [4, 2, 1, "", "CardinalBallot"], [4, 2, 1, "", "FrozenCardinalBallot"]], "pabutools.election.ballot.cardinalballot.CardinalBallot": [[4, 4, 1, "", "complete"], [4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cardinalballot.FrozenCardinalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cumulativeballot": [[4, 2, 1, "", "AbstractCumulativeBallot"], [4, 2, 1, "", "CumulativeBallot"], [4, 2, 1, "", "FrozenCumulativeBallot"]], "pabutools.election.ballot.cumulativeballot.CumulativeBallot": [[4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cumulativeballot.FrozenCumulativeBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ordinalballot": [[4, 2, 1, "", "AbstractOrdinalBallot"], [4, 2, 1, "", "FrozenOrdinalBallot"], [4, 2, 1, "", "OrdinalBallot"]], "pabutools.election.ballot.ordinalballot.AbstractOrdinalBallot": [[4, 4, 1, "", "position"]], "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "position"]], "pabutools.election.ballot.ordinalballot.OrdinalBallot": [[4, 4, 1, "", "append"], [4, 4, 1, "", "at_index"], [4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 4, 1, "", "index"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "position"]], "pabutools.election.instance": [[6, 2, 1, "", "Instance"], [6, 2, 1, "", "Project"], [6, 1, 1, "", "get_random_instance"], [6, 1, 1, "", "max_budget_allocation_cardinality"], [6, 1, 1, "", "max_budget_allocation_cost"], [6, 1, 1, "", "total_cost"]], "pabutools.election.instance.Instance": [[6, 4, 1, "", "budget_allocations"], [6, 3, 1, "", "budget_limit"], [6, 3, 1, "", "categories"], [6, 4, 1, "", "copy"], [6, 4, 1, "", "difference"], [6, 4, 1, "", "difference_update"], [6, 3, 1, "", "file_name"], [6, 3, 1, "", "file_path"], [6, 4, 1, "", "get_project"], [6, 4, 1, "", "intersection"], [6, 4, 1, "", "intersection_update"], [6, 4, 1, "", "is_exhaustive"], [6, 4, 1, "", "is_feasible"], [6, 4, 1, "", "is_trivial"], [6, 3, 1, "", "meta"], [6, 3, 1, "", "parsing_errors"], [6, 3, 1, "", "project_meta"], [6, 4, 1, "", "symmetric_difference"], [6, 4, 1, "", "symmetric_difference_update"], [6, 3, 1, "", "targets"], [6, 4, 1, "", "union"]], "pabutools.election.instance.Project": [[6, 3, 1, "", "categories"], [6, 3, 1, "", "cost"], [6, 3, 1, "", "name"], [6, 3, 1, "", "targets"]], "pabutools.election.pabulib": [[7, 1, 1, "", "election_as_pabulib_string"], [7, 1, 1, "", "parse_pabulib"], [7, 1, 1, "", "write_pabulib"]], "pabutools.election.preflib": [[7, 1, 1, "", "approval_to_preflib"], [7, 1, 1, "", "cardinal_to_preflib"], [7, 1, 1, "", "init_preflib_instance"], [7, 1, 1, "", "ordinal_to_preflib"]], "pabutools.election.profile.approvalprofile": [[8, 2, 1, "", "AbstractApprovalProfile"], [8, 2, 1, "", "ApprovalMultiProfile"], [8, 2, 1, "", "ApprovalProfile"], [8, 1, 1, "", "get_all_approval_profiles"], [8, 1, 1, "", "get_random_approval_profile"]], "pabutools.election.profile.approvalprofile.AbstractApprovalProfile": [[8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"]], "pabutools.election.profile.approvalprofile.ApprovalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.approvalprofile.ApprovalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.cardinalprofile": [[8, 2, 1, "", "AbstractCardinalProfile"], [8, 2, 1, "", "CardinalMultiProfile"], [8, 2, 1, "", "CardinalProfile"]], "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "total_score"]], "pabutools.election.profile.cardinalprofile.CardinalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "score"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.cardinalprofile.CardinalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "complete"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.cumulativeprofile": [[8, 2, 1, "", "AbstractCumulativeProfile"], [8, 2, 1, "", "CumulativeMultiProfile"], [8, 2, 1, "", "CumulativeProfile"]], "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"]], "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "score"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.cumulativeprofile.CumulativeProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "complete"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.ordinalprofile": [[8, 2, 1, "", "AbstractOrdinalProfile"], [8, 2, 1, "", "OrdinalMultiProfile"], [8, 2, 1, "", "OrdinalProfile"]], "pabutools.election.profile.ordinalprofile.AbstractOrdinalProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"]], "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.ordinalprofile.OrdinalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.profile": [[8, 2, 1, "", "AbstractProfile"], [8, 2, 1, "", "MultiProfile"], [8, 2, 1, "", "Profile"]], "pabutools.election.profile.profile.AbstractProfile": [[8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.profile.MultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "extend"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "total"]], "pabutools.election.profile.profile.Profile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"]], "pabutools.election.satisfaction.additivesatisfaction": [[9, 2, 1, "", "AdditiveSatisfaction"], [9, 2, 1, "", "Additive_Cardinal_Relative_Sat"], [9, 2, 1, "", "Additive_Cardinal_Sat"], [9, 2, 1, "", "Additive_Cost_Log_Sat"], [9, 2, 1, "", "Additive_Cost_Sqrt_Sat"], [9, 2, 1, "", "Cardinality_Sat"], [9, 2, 1, "", "Cost_Sat"], [9, 2, 1, "", "Effort_Sat"], [9, 2, 1, "", "Relative_Cardinality_Sat"], [9, 2, 1, "", "Relative_Cost_Approx_Normaliser_Sat"], [9, 2, 1, "", "Relative_Cost_Sat"]], "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "func"], [9, 4, 1, "", "get_project_sat"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "precomputed_values"], [9, 4, 1, "", "preprocessing"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction": [[9, 2, 1, "", "CC_Sat"], [9, 2, 1, "", "Cost_Log_Sat"], [9, 2, 1, "", "Cost_Sqrt_Sat"], [9, 2, 1, "", "FunctionalSatisfaction"]], "pabutools.election.satisfaction.functionalsatisfaction.CC_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.Cost_Log_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.Cost_Sqrt_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "func"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.positionalsatisfaction": [[9, 2, 1, "", "Additive_Borda_Sat"], [9, 2, 1, "", "PositionalSatisfaction"]], "pabutools.election.satisfaction.positionalsatisfaction.Additive_Borda_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction": [[9, 3, 1, "", "aggregation_func"], [9, 3, 1, "", "ballot"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "positional_func"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.satisfactionmeasure": [[9, 2, 1, "", "GroupSatisfactionMeasure"], [9, 2, 1, "", "SatisfactionMeasure"]], "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure": [[9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "remove_satisfied"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"]], "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.satisfactionprofile": [[9, 2, 1, "", "SatisfactionMultiProfile"], [9, 2, 1, "", "SatisfactionProfile"]], "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile": [[9, 4, 1, "", "append"], [9, 4, 1, "", "clear"], [9, 4, 1, "", "copy"], [9, 4, 1, "", "elements"], [9, 4, 1, "", "extend_from_multiprofile"], [9, 4, 1, "", "extend_from_profile"], [9, 4, 1, "", "fromkeys"], [9, 4, 1, "", "get"], [9, 3, 1, "", "instance"], [9, 4, 1, "", "items"], [9, 4, 1, "", "keys"], [9, 4, 1, "", "most_common"], [9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "pop"], [9, 4, 1, "", "popitem"], [9, 4, 1, "", "remove_satisfied"], [9, 3, 1, "", "sat_class"], [9, 4, 1, "", "setdefault"], [9, 4, 1, "", "subtract"], [9, 4, 1, "", "total"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"], [9, 4, 1, "", "update"], [9, 4, 1, "", "values"]], "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile": [[9, 4, 1, "", "append"], [9, 4, 1, "", "clear"], [9, 4, 1, "", "copy"], [9, 4, 1, "", "count"], [9, 4, 1, "", "extend"], [9, 4, 1, "", "extend_from_profile"], [9, 4, 1, "", "index"], [9, 4, 1, "", "insert"], [9, 3, 1, "", "instance"], [9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "pop"], [9, 4, 1, "", "remove"], [9, 4, 1, "", "remove_satisfied"], [9, 4, 1, "", "reverse"], [9, 3, 1, "", "sat_class"], [9, 4, 1, "", "sort"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"]], "pabutools.fractions": [[10, 5, 1, "", "FLOAT_FRAC"], [10, 5, 1, "", "FRACTION"], [10, 5, 1, "", "GMPY_FRAC"], [10, 1, 1, "", "frac"], [10, 1, 1, "", "str_as_frac"]], "pabutools.rules.budgetallocation": [[12, 2, 1, "", "AllocationDetails"], [12, 2, 1, "", "BudgetAllocation"]], "pabutools.rules.budgetallocation.BudgetAllocation": [[12, 3, 1, "", "details"]], "pabutools.rules.composition": [[12, 1, 1, "", "popularity_comparison"], [12, 1, 1, "", "social_welfare_comparison"]], "pabutools.rules.cstv": [[12, 2, 1, "", "CSTV_Combination"], [12, 1, 1, "", "cstv"]], "pabutools.rules.cstv.CSTV_Combination": [[12, 3, 1, "", "EWT"], [12, 3, 1, "", "EWTC"], [12, 3, 1, "", "MT"], [12, 3, 1, "", "MTC"]], "pabutools.rules.exhaustion": [[12, 1, 1, "", "completion_by_rule_combination"], [12, 1, 1, "", "exhaustion_by_budget_increase"]], "pabutools.rules.greedywelfare": [[12, 2, 1, "", "GreedyWelfareAllocationDetails"], [12, 1, 1, "", "greedy_utilitarian_welfare"]], "pabutools.rules.maxwelfare": [[12, 6, 1, "", "MaxAddUtilWelfareAlgo"], [12, 1, 1, "", "max_additive_utilitarian_welfare"]], "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo": [[12, 3, 1, "", "ILP_SOLVER"], [12, 3, 1, "", "PRIMAL_DUAL"]], "pabutools.rules.mes": [[12, 2, 1, "", "MESAllocationDetails"], [12, 2, 1, "", "MESIteration"], [12, 1, 1, "", "method_of_equal_shares"]], "pabutools.rules.mes.MESAllocationDetails": [[12, 3, 1, "", "iterations"]], "pabutools.rules.mes.MESIteration": [[12, 3, 1, "", "selected_project"], [12, 3, 1, "", "voters_budget"], [12, 3, 1, "", "voters_budget_after_selection"]], "pabutools.rules.phragmen": [[12, 1, 1, "", "sequential_phragmen"]], "pabutools.tiebreaking": [[13, 7, 1, "", "TieBreakingException"], [13, 2, 1, "", "TieBreakingRule"], [13, 5, 1, "", "app_score_tie_breaking"], [13, 5, 1, "", "lexico_tie_breaking"], [13, 5, 1, "", "max_cost_tie_breaking"], [13, 5, 1, "", "min_cost_tie_breaking"], [13, 5, 1, "", "refuse_tie_breaking"]], "pabutools.tiebreaking.TieBreakingRule": [[13, 3, 1, "", "func"], [13, 4, 1, "", "order"], [13, 4, 1, "", "untie"]], "pabutools.utils": [[14, 6, 1, "", "DocEnum"], [14, 5, 1, "", "Numeric"], [14, 1, 1, "", "gini_coefficient"], [14, 1, 1, "", "mean_generator"], [14, 1, 1, "", "powerset"], [14, 1, 1, "", "round_cmp"]], "pabutools.visualisation": [[15, 2, 1, "", "GreedyWelfareVisualiser"], [15, 2, 1, "", "MESVisualiser"], [15, 2, 1, "", "Visualiser"]], "pabutools.visualisation.GreedyWelfareVisualiser": [[15, 4, 1, "", "render"]], "pabutools.visualisation.MESVisualiser": [[15, 4, 1, "", "render"]]}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "method", "Python method"], "5": ["py", "data", "Python data"], "6": ["py", "enum", "Python enum"], "7": ["py", "exception", "Python exception"]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute", "4": "py:method", "5": "py:data", "6": "py:enum", "7": "py:exception"}, "terms": {"": [0, 2, 8, 9, 10, 11, 19, 24], "0": [4, 6, 8, 9, 12, 14, 22, 23, 24, 25], "02690": 12, "1": [2, 3, 8, 9, 12, 17, 19, 22, 23, 24, 25], "10": [22, 23], "100": [23, 24], "11035": 7, "15": 23, "17": [8, 9], "1836": [8, 9], "2": [3, 8, 9, 12, 17, 22, 23, 25], "20": [3, 23], "2009": 12, "21": 3, "2305": 7, "27": 23, "2d": 3, "3": [2, 8, 9, 12, 17, 19, 22], "30": 23, "4": [8, 9, 12, 17, 22, 23], "40": 23, "5": [4, 8, 9, 12, 22, 23], "6": [14, 17], "60": 6, "7": 22, "8": [22, 23], "80": 0, "9223372036854775807": [8, 9], "A": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 19, 22, 23, 24], "As": [9, 12, 22, 23, 24], "By": [12, 17, 22, 23], "For": [0, 2, 3, 4, 8, 17, 18, 20, 21, 22, 23, 24, 25], "IN": [8, 9], "If": [4, 6, 8, 9, 10, 12, 14, 20, 23, 24], "In": [0, 4, 6, 8, 9, 12, 17, 20, 22, 24], "It": [0, 2, 3, 4, 6, 9, 10, 12, 19, 20, 22, 23], "Its": 24, "Not": 17, "On": 2, "One": 10, "Or": 23, "Such": 24, "That": 9, "The": [0, 2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24], "Then": [8, 23], "There": [2, 23], "These": [4, 6, 8, 12, 21, 25], "To": [9, 17, 22, 23, 24], "__init__": 24, "_round_analysi": 21, "_summari": 21, "abc": [3, 4, 8, 9], "abcabc": [8, 9], "about": [2, 6, 12, 21, 23, 24], "abov": [3, 6, 9, 22, 24, 25], "abracadabra": [8, 9], "abstract": [4, 8, 9, 22], "abstractapprovalballot": [4, 5, 8, 9], "abstractapprovalprofil": [3, 5, 7, 8, 12], "abstractballot": [4, 5, 8, 9], "abstractcardinalballot": [4, 5, 8, 9], "abstractcardinalprofil": [3, 5, 7, 8], "abstractcumulativeballot": [4, 5], "abstractcumulativeprofil": [5, 8, 12], "abstractordinalballot": [4, 5, 9], "abstractordinalprofil": [5, 7, 8], "abstractprofil": [3, 5, 7, 8, 9, 12, 13, 15], "accept": [12, 19, 23], "access": 12, "accord": [4, 7, 8, 9, 12, 13], "achiev": [9, 23], "across": 8, "act": 22, "activ": [3, 8, 12, 22, 23], "actual": [9, 22], "ad": [2, 6, 8, 12, 19, 23], "add": [2, 8, 9, 19, 22], "addit": [2, 3, 4, 6, 8, 9, 11, 19, 20, 21, 22], "addition": 24, "additive_borda_sat": [5, 9, 24], "additive_cardinal_relative_sat": [5, 9], "additive_cardinal_sat": [3, 5, 9, 24], "additive_cost_log_sat": [5, 9], "additive_cost_sqrt_sat": [5, 9], "additivesatisfact": [3, 5, 9, 24], "after": [9, 12, 14, 21], "against": 8, "agent": [8, 12], "aggreg": [9, 24], "aggregation_func": 9, "aim": 23, "algorithm": [12, 17, 23], "alia": 14, "all": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24, 25], "alloc": [0, 3, 6, 9, 11, 16, 19, 20, 21, 22], "allocation_detail": 3, "allocationdetail": [3, 12, 15], "allow": [3, 4, 8, 9, 12, 22], "along": [2, 19, 22], "alreadi": [4, 9, 23, 24], "also": [1, 3, 4, 6, 8, 9, 12, 16, 19, 20, 22, 23, 24], "altern": [7, 23], "alternative_nam": 7, "alwai": 9, "among": [13, 22], "amount": [0, 3, 4, 6], "an": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24], "analys": [3, 12], "analysi": [11, 15, 18, 22], "analyt": [0, 3, 12, 21, 23], "anayls": 16, "ani": [2, 3, 9, 12, 19, 22, 23, 24], "anoth": [2, 4, 6, 8, 9, 19, 23, 24], "app_ballot": 22, "app_profil": 20, "app_score_tie_break": [11, 13, 23, 25], "appear": [2, 3, 8, 9], "append": [2, 4, 8, 9, 22, 24], "appli": [8, 9, 12, 13, 23], "approach": [12, 23], "appropri": 20, "approv": [2, 3, 4, 7, 8, 9, 12, 13, 20, 23, 24], "approval_scor": [8, 22], "approval_to_preflib": [5, 7, 20], "approvalballot": [2, 4, 5, 8, 22, 23, 25], "approvalmultiprofil": [5, 8, 22], "approvalprofil": [2, 5, 7, 8, 20, 22, 23, 25], "approved_project": 8, "approx": 9, "approxim": [2, 9, 12, 14], "ar": [0, 1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 16, 19, 20, 21, 22, 23, 24, 25], "arg": [4, 6, 8, 9, 10], "argument": [3, 4, 6, 8, 9, 12, 14, 21, 23, 24, 25], "around": 2, "art": 12, "arxiv": [7, 12], "as_multiprofil": [8, 22, 23], "as_sat_profil": [8, 23], "asa": 12, "ascend": [8, 9], "ask": 22, "assess": 2, "assign": [3, 4, 6, 8, 9, 20, 22], "associ": 22, "assum": [2, 12, 14], "at_index": 4, "attribut": [4, 6, 8, 9, 22], "augment": 19, "automat": [12, 23], "avail": [12, 21], "available_project": 6, "averag": [3, 22], "avg_approval_scor": 3, "avg_ballot_cost": 3, "avg_ballot_length": 3, "avg_project_cost": 3, "avg_satisfact": 3, "avg_total_scor": 3, "avoid": 9, "awesom": 0, "axiom": 11, "b": [3, 8, 9, 14, 19, 22, 23], "b1": [2, 22], "b2": [2, 22], "b3": [2, 22], "ballot": [3, 5, 6, 7, 8, 9, 11, 12, 20, 22, 23, 24], "ballot_typ": [8, 22], "ballot_valid": [8, 22], "base": [0, 2, 4, 6, 8, 9, 12, 13, 19, 20, 21, 22, 23], "basic": [6, 11], "becaus": 23, "becom": 22, "been": [0, 2, 4, 6, 8, 9, 12, 22, 23], "befor": [8, 9, 22], "beforehand": 8, "begin": 2, "behav": [2, 4, 19, 23], "behavior": 17, "being": [3, 8, 12], "below": [8, 9, 24], "between": [2, 3, 6, 13, 19, 21, 23, 25], "bin": 3, "binari": 12, "binary_sat": 12, "bool": [3, 6, 8, 12, 15], "boolean": [6, 8, 12, 22, 23], "borda": [9, 24], "borda_sat_func": 24, "both": [4, 6, 8, 9, 22], "bought": 12, "bound": [9, 12], "boundari": 12, "brazil": 0, "break": [11, 12, 18, 23], "broken": [13, 23], "budget": [0, 2, 3, 6, 7, 8, 9, 11, 16, 19, 20, 21, 22, 24], "budget_alloc": [3, 6, 19], "budget_allocation_mes_complet": 23, "budget_allocation_mes_iter": 23, "budget_bound": 12, "budget_limit": [2, 6, 19, 23, 25], "budget_lost": 3, "budget_step": [12, 23], "budgetalloc": [2, 3, 12, 23], "bui": 12, "c": [8, 9, 23], "calcul": [3, 12], "calculate_effective_support": 3, "calculate_project_loss": 3, "call": [3, 4, 8, 12, 15, 21], "callabl": [3, 9, 12, 13], "can": [1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 19, 20, 21, 22, 23, 24], "cannot": 12, "captur": 21, "card_profil": 20, "cardin": [3, 4, 7, 8, 9, 20, 23, 24], "cardinal_to_preflib": [5, 7, 20], "cardinalballot": [4, 5, 8, 22], "cardinality_sat": [5, 9, 23, 24], "cardinality_sat_func": 24, "cardinalmultiprofil": [5, 8, 22], "cardinalprofil": [3, 5, 7, 8, 20, 22], "care": 9, "case": [4, 6, 8, 9, 22], "categor": 20, "categori": [4, 6, 8, 11], "categoricalinst": 7, "category_proportion": 3, "cc_sat": [5, 9, 24], "cc_sat_func": 24, "celebr": 23, "central": 19, "chamberlin": [9, 24], "chang": [4, 17], "chart": 21, "check": [2, 8], "choic": 12, "chosen": [6, 21], "citi": 2, "citizen": 6, "class": [2, 3, 4, 6, 7, 8, 9, 12, 13, 15, 19, 20, 21, 22, 23, 24, 25], "classmethod": [8, 9], "clear": [8, 9], "closest": 6, "coeffici": [3, 14], "collect": [0, 2, 3, 4, 6, 8, 9, 12, 13, 14, 16, 22, 24], "combin": [12, 23], "come": 0, "common": [8, 9], "commonli": 2, "compar": [9, 14], "comparison": [2, 3, 12, 14, 19, 23], "complet": [0, 4, 8, 12, 23], "completion_by_rule_combin": [12, 23], "complex": 4, "compon": [2, 22], "compos": 23, "composit": 11, "comprehens": 18, "comput": [3, 8, 9, 10, 12, 14, 22, 23, 24], "concept": 24, "concern": [2, 4], "condit": 12, "conform": 20, "consid": [3, 4, 6, 8, 9, 12], "consider": [3, 9], "considerd": 3, "consist": [12, 15, 21, 22, 23], "consit": 15, "consol": 15, "constant": [10, 12, 17], "constitut": 6, "constraint": [12, 20, 23], "constructor": [2, 8, 19, 22, 24], "contain": [3, 4, 6, 7, 8, 9, 14, 20, 21, 22], "content": 20, "context": 23, "continu": 12, "control": 23, "conveni": 24, "convent": 4, "convert": [7, 8, 9, 10, 12, 20, 23, 24], "copi": [4, 6, 8, 9], "core": 3, "correct": 7, "correctli": 21, "correspond": [3, 4, 6, 7, 8, 9, 12, 20, 22, 24], "corrospond": 12, "cost": [2, 3, 6, 8, 9, 12, 13, 19, 20, 23, 24], "cost_log_sat": [5, 9, 24], "cost_sat": [2, 5, 9, 21, 23, 24], "cost_sqrt_sat": [5, 9, 24], "could": [4, 6, 12], "count": [8, 9, 21], "counter": [8, 9, 22], "counterpart": 22, "courant": [9, 24], "cover": 12, "creat": [7, 8, 9, 22, 24], "crucial": 12, "cstv": [12, 23], "cstv_combin": [12, 23], "cumul": [4, 8, 11], "cumulativeballot": [4, 5, 8, 22, 23], "cumulativemultiprofil": [5, 8, 22], "cumulativeprofil": [5, 8, 20, 22, 23], "currenc": 12, "current": 21, "custom": 24, "customiz": 17, "d": [4, 8, 9, 23], "data": [0, 3, 20, 22], "date": 7, "de": [3, 12], "deactiv": 22, "decid": 23, "decim": 14, "dedic": 3, "deduc": 24, "deduct": 12, "deepcopi": 9, "def": [23, 24], "default": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 21, 22, 23], "default_scor": [4, 8], "defin": [2, 3, 4, 6, 7, 8, 9, 10, 12, 17, 19, 22, 23, 24, 25], "democrat": 0, "demonstr": 24, "denomin": 9, "depend": [7, 12, 24], "depth": 21, "deriv": [2, 4, 8], "descend": [8, 9], "describ": [3, 4, 7, 8, 10, 20], "descript": 7, "detail": [0, 3, 7, 8, 9, 12, 21], "determin": [0, 12, 20], "develop": 21, "deviat": 3, "dict": [3, 4, 6, 7, 8, 9, 12, 19, 20, 22], "dictionari": [3, 4, 6, 8, 9, 12, 22], "differ": [0, 3, 4, 6, 8, 9, 12, 21, 23], "difference_upd": [4, 6], "directli": [1, 12, 14, 22, 23, 24], "directori": 21, "disabl": 12, "discuss": [2, 24], "disjoint": 8, "displai": [3, 12], "disregard": 12, "distribut": [4, 22], "district": 6, "divid": [3, 9, 12, 24], "do": [3, 9, 12, 17, 22], "docenum": [11, 14], "document": [7, 14], "doe": [4, 6, 8, 9, 12, 23], "donat": 23, "done": 24, "donor": [12, 23], "down": 23, "download": 1, "dual": [12, 23], "due": 3, "dure": 12, "e": [2, 4, 6, 8, 9, 13, 17, 22, 23, 24], "each": [3, 4, 8, 9, 12, 21, 22, 24], "easi": 1, "easier": 1, "easili": 22, "effect": [3, 12, 21], "effort": 9, "effort_sat": [5, 9, 24], "either": [4, 6, 8, 9, 10, 12, 23], "ejr": 3, "elect": [0, 3, 4, 6, 7, 8, 11, 12, 15, 19, 20, 21, 22, 23, 24, 25], "election_as_pabulib_str": [5, 7, 20], "element": [2, 4, 6, 8, 9, 14, 19], "elig": 12, "eligible_projects_func": [12, 23], "elimin": 12, "elimination_with_transf": 23, "els": [8, 9, 24], "emploi": 12, "empti": [3, 8, 9, 12, 21], "encapsul": 19, "encod": 2, "encount": 6, "end": [8, 9, 12], "enforc": 6, "enjoi": 3, "enough": 12, "ensur": [4, 8, 9, 12, 21, 22], "entiti": [2, 4, 6], "enum": [12, 14], "enumer": 14, "equal": [2, 8, 9, 11, 14, 19, 24], "equalshar": [12, 23], "error": [3, 6, 10, 13, 17], "essenc": 21, "essenti": [2, 4], "etc": [4, 19, 22], "evalu": 12, "even": [8, 9], "ewt": [12, 23], "ewtc": [12, 23], "exact": 9, "exactli": [4, 6, 9], "exampl": [2, 8, 9, 19, 20, 21, 24], "exce": [6, 8], "exceed": [6, 9, 12], "except": [2, 4, 6, 8, 13], "excess": 12, "exclud": [9, 23], "exhaust": [3, 6, 11], "exhaustion_by_budget_increas": [12, 23], "exhaustive_stop": 12, "exhaustiveness_postprocess_func": [12, 23], "exist": [3, 12], "expens": [9, 24], "explain": [15, 21], "explan": [2, 12, 18, 23], "exponenti": 3, "express": 4, "extend": [3, 8, 9], "extend_from_multiprofil": 9, "extend_from_profil": 9, "extens": 20, "extract": 9, "facilit": 24, "factor": [8, 9], "fals": [3, 6, 8, 9, 12, 15, 19, 23], "faster": [22, 23], "favour": [13, 23], "feasibl": [6, 9, 12, 19, 23, 24], "file": [6, 7, 15, 20, 21], "file_nam": [6, 7], "file_path": [6, 7], "filenam": 21, "final": 3, "final_budget": 3, "find": [4, 6, 23], "first": [4, 8, 9, 12, 13, 14, 22, 23], "fix": [23, 24], "flag": [8, 9, 21], "flexibl": 24, "float": [3, 4, 6, 8, 9, 10, 12, 13, 14, 17], "float_frac": [10, 11], "flow": 3, "folder": 15, "follow": [2, 4, 8, 9, 12, 17, 20, 22, 23], "forc": 23, "force_freez": 8, "form": [4, 6, 8], "format": [4, 7, 8, 9, 20, 22], "former": 12, "forzenordinalballot": 8, "found": [4, 6, 8, 9, 12, 21], "four": [8, 9], "frac": [10, 11, 17, 23], "fraction": [8, 9, 11, 14, 18, 23], "fraction_from_int": 17, "fraction_from_str": 17, "freez": 22, "from": [0, 1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24, 25], "fromkei": [8, 9], "frozen": [4, 8, 22], "frozen_ballot": 22, "frozenapprovalballot": [4, 5, 8, 22], "frozenballot": [4, 5, 8, 22], "frozencardinalballot": [4, 5, 8, 22], "frozencumulativeballot": [4, 5, 8, 22], "frozenordinalballot": [4, 5, 8, 22], "full": [0, 20, 23], "func": [9, 13], "function": [3, 8, 9, 10, 12, 13, 14, 17, 20, 21, 23, 25], "functionalsatisfact": [5, 9, 24], "fund": [3, 12], "fundament": [2, 22], "funding_scarc": 3, "further": 23, "g": 2, "gain": [12, 22], "gather": [2, 24], "gender": 4, "gener": [4, 6, 8, 9, 12, 14, 15, 17, 21, 22, 23], "get": [8, 9, 22, 23], "get_all_approval_profil": [5, 8], "get_project": 6, "get_project_sat": 9, "get_random_approval_ballot": [4, 5], "get_random_approval_profil": [5, 8], "get_random_inst": [5, 6], "gini": [3, 14], "gini_coeffici": [11, 14], "gini_coefficient_of_satisfact": 3, "github": 1, "give": 21, "given": [0, 3, 4, 6, 8, 9, 12, 14, 23, 24], "global": 3, "gmpy2": [10, 17], "gmpy_frac": [10, 11], "googl": 21, "greater": 14, "greedi": [2, 11, 15], "greedy_utilitarian_welfar": [2, 12, 21, 23], "greedywelfar": 21, "greedywelfareallocationdetail": [12, 23], "greedywelfarevisualis": [11, 15, 21], "greeneri": 6, "group": [0, 6, 9, 12], "groupsatisfactionmeasur": [5, 8, 9, 12], "guid": [2, 17], "gumpy2": [10, 14], "h": [8, 9], "ha": [0, 4, 6, 8, 9, 12, 22, 23], "hand": 3, "handl": [0, 2, 6, 10, 12, 17, 22, 23], "hase": 9, "hashabl": [4, 8], "have": [2, 4, 6, 8, 9, 12, 22, 23, 24], "here": [6, 8, 9, 12, 19, 21, 22, 23], "highest": [9, 12, 13], "highli": 23, "hint": 4, "histogram": 3, "hope": 23, "host": [1, 20, 22], "hous": 20, "how": [3, 6, 12, 18, 21, 23, 24], "howev": 21, "html": [15, 21], "http": [7, 12], "i": [0, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24], "idea": 23, "identifi": [4, 6], "ignor": [8, 9], "illustr": 24, "ilp": [12, 23], "ilp_solv": [12, 23], "immut": 22, "impact": 21, "implement": [0, 4, 8, 9, 12, 13, 22, 23, 24], "import": [2, 4, 8, 9, 17, 19, 20, 21, 22, 23, 24, 25], "importantli": [2, 6, 9, 22], "impos": 20, "improv": 23, "includ": [9, 12, 19, 20, 21], "inclus": 12, "increas": [12, 21, 23], "index": [4, 8, 9, 24], "indexerror": [8, 9], "indic": [4, 6, 8, 12, 22], "individu": [0, 9, 24], "infeas": 12, "inform": [2, 3, 4, 6, 12, 19, 21, 23], "inheret": [3, 12], "inherit": [2, 4, 8, 9, 12, 19, 22, 23, 24], "init": [4, 6, 8, 9, 12], "init_preflib_inst": [5, 7], "initi": [2, 3, 6, 8, 9, 12, 23, 24], "initial_budget_alloc": [12, 23], "initial_load": 12, "initialis": [4, 7, 8, 9], "inner": [12, 23], "inner_algo": [12, 23], "inner_sat_class": 9, "input": [8, 9, 13, 23, 24], "inquir": 8, "insert": [8, 9], "insight": 22, "instal": 2, "instanc": [0, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 18, 20, 21, 22, 23, 24, 25], "instanti": [2, 10, 22, 25], "instead": [8, 9, 22], "int": [3, 4, 6, 8, 9, 12, 13, 14, 24], "integ": [6, 12, 17, 23], "interchang": [8, 22], "interest": 12, "intern": 9, "interpret": 23, "intersect": [4, 6], "intersection_upd": [4, 6], "introduc": [4, 8, 9, 10, 12, 24], "invalid": 4, "invent": 0, "invert": 3, "invok": 19, "involv": 24, "irresolut": [12, 23], "irresolute_outcom": 23, "is_ejr_any_approv": 3, "is_ejr_any_cardin": 3, "is_ejr_approv": 3, "is_ejr_cardin": 3, "is_ejr_one_approv": 3, "is_ejr_one_cardin": 3, "is_eligible_g": 23, "is_exhaust": [6, 19], "is_feas": [6, 19], "is_in_cor": 3, "is_party_list": [8, 22], "is_pjr_any_approv": 3, "is_pjr_any_cardin": 3, "is_pjr_approv": 3, "is_pjr_cardin": 3, "is_pjr_one_approv": 3, "is_pjr_one_cardin": 3, "is_sat_addit": [12, 23], "is_strong_ejr_approv": 3, "is_strong_ejr_cardin": 3, "is_trivi": [6, 8], "item": [8, 9], "iter": [3, 4, 6, 8, 9, 12, 13, 14, 19, 23], "its": [4, 8, 9, 14, 22, 24], "itself": [3, 4, 6, 8, 9], "just": 4, "justifi": 11, "justifiedrepresent": 16, "k": [8, 9], "keep": 2, "kei": [4, 6, 8, 9, 13, 22], "keyerror": [6, 8, 9], "keyword": [3, 4, 6, 8, 12], "kind": [0, 3, 6], "knapsack": [12, 23], "known": [12, 20, 23], "knuth": [8, 9], "kwd": [8, 9], "lambda": 13, "larg": 9, "largest": [9, 12, 23, 24], "last": [7, 8, 9], "late": 0, "latter": 12, "lead": [12, 17], "least": [2, 3, 4, 8, 9, 24], "leav": 12, "legal_max_cost": [8, 20], "legal_max_length": [8, 20], "legal_max_scor": [8, 20], "legal_max_total_scor": [8, 20], "legal_min_cost": [8, 20], "legal_min_length": [8, 20], "legal_min_scor": [8, 20], "legal_min_total_scor": [8, 20], "len": 24, "length": [3, 8, 9, 20], "less": [6, 14], "let": 2, "lexico_tie_break": [11, 12, 13, 23, 25], "lexicograph": [12, 13], "librari": [0, 5, 11, 18, 21, 23], "lifo": [8, 9], "like": [8, 9], "limit": [2, 3, 6, 8, 12, 19, 23], "linear": [12, 23], "link": [9, 21], "list": [2, 3, 8, 9, 12, 13, 22, 23, 24, 25], "literatur": 23, "load": 12, "locat": 4, "log": [9, 22, 24], "long": [9, 22], "longer": 12, "loop": 4, "lost": 3, "lot": 23, "lowest": 13, "mai": [12, 17], "mainli": 25, "maintain": [8, 9], "make": [3, 12, 17], "manag": 24, "mani": [2, 4, 8, 9], "map": [4, 7, 9, 20, 24], "math": [8, 9], "matrix": 3, "max": 22, "max_additive_utilitarian_welfar": [12, 23], "max_budget_allocation_cardin": [5, 6], "max_budget_allocation_cost": [5, 6], "max_cost": 6, "max_cost_tie_break": [11, 13, 25], "max_satisfact": 3, "maxaddutilwelfarealgo": [12, 23], "maxim": [12, 23], "maximis": 11, "maximum": [6, 8, 9, 12, 20], "me": [3, 11, 15, 21], "mean": [6, 8, 14], "mean_gener": [11, 14], "meant": [8, 9], "measur": [2, 3, 8, 9, 12, 18, 22, 23], "median": 3, "median_approval_scor": 3, "median_ballot_cost": 3, "median_ballot_length": 3, "median_project_cost": 3, "median_total_scor": 3, "member": [6, 14, 20, 23], "membership": 22, "mes_ful": 23, "mes_inner_algo": 12, "mes_param": 3, "mesallocationdetail": [12, 23], "mesiter": 12, "mesproject": 12, "mesvisualis": [11, 15, 21], "met": 9, "meta": [4, 6, 19, 20], "metadata": [7, 8, 19, 20], "method": [2, 4, 8, 9, 11, 19, 22, 24], "method_of_equal_shar": [2, 12, 21, 23], "methodologi": 12, "metric": 3, "min_cost": 6, "min_cost_tie_break": [11, 13, 25], "mind": 2, "minim": [3, 12], "minimum": [6, 8, 20], "minu": [3, 8, 9], "mip": 23, "modif": 7, "modifi": [8, 9], "modification_d": 7, "modification_typ": 7, "modul": [2, 10, 11, 16, 17, 19, 21, 22, 23, 25], "monei": [0, 3, 6, 12], "more": [0, 2, 3, 4, 6, 8, 9, 10, 12, 19, 22, 23, 24], "most": [4, 8, 9, 12, 23, 24], "most_common": [8, 9], "mostli": [3, 16], "mpq": [3, 4, 6, 8, 9, 12, 13, 14], "mt": 12, "mtc": [12, 23], "much": [3, 12, 23], "multipl": [8, 9, 14, 22], "multipli": 12, "multiprofil": [4, 5, 8, 9, 24], "multiprofile_runtim": 22, "multiset": [8, 22, 24], "must": [3, 20, 21], "mutabl": [4, 8], "mysatisfact": 24, "n": [8, 9], "name": [2, 4, 6, 7, 9, 12, 13, 15, 19, 21], "necessari": [3, 7, 8, 12], "need": [2, 8, 9, 12, 13, 20, 23], "neg": [8, 9, 14], "net": [12, 23], "new": [4, 6, 8, 9], "next": [2, 24], "no_eligible_project_func": [12, 23], "non": [3, 4, 8, 12, 23], "none": [3, 4, 6, 7, 8, 9, 12, 13, 15, 23], "normal": 24, "normalis": [3, 9], "notabl": [12, 19], "note": [6, 8, 9, 12, 21, 22, 23], "noth": 9, "now": [0, 2], "num_ag": 8, "num_ballot": 8, "num_bin": 3, "num_project": 6, "number": [3, 6, 8, 9, 10, 12, 13, 14, 20, 22, 23, 24], "numer": [3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "object": [2, 3, 4, 6, 8, 9, 12, 13, 23], "obtain": [12, 23], "occur": 13, "occurr": [8, 9], "offer": [18, 23, 24], "old": 6, "onc": [8, 9, 22, 24], "one": [2, 3, 4, 6, 7, 8, 9, 12, 21, 23, 24], "ones": [12, 24], "onli": [6, 8, 9, 12, 13, 20, 21, 23], "oper": [3, 9], "option": [2, 3, 4, 6, 8, 9, 12, 13, 14, 15, 19, 21], "ord_profil": 20, "order": [4, 8, 9, 13, 25], "ordin": [4, 7, 8, 9, 20, 24], "ordinal_to_preflib": [5, 7, 20], "ordinalballot": [4, 5, 8, 22], "ordinalinst": 7, "ordinalmultiprofil": [5, 8, 22], "ordinalprofil": [5, 7, 8, 20, 22], "org": [7, 12], "origin": [7, 23], "other": [2, 3, 4, 6, 8, 21, 22], "otherwis": [6, 8, 9, 12, 24], "our": [1, 20, 22, 24], "out": [2, 8, 9], "outcom": [0, 3, 12, 15, 16, 18, 22, 23, 24], "outcome1": 2, "outcome2": 2, "output": [7, 8, 9, 15, 23], "output_folder_path": 15, "over": [0, 3, 4, 6, 8, 9, 12, 24], "overflow": 14, "overrid": [4, 12], "p": [2, 19, 22, 23, 24, 25], "p0": [22, 25], "p1": [2, 19, 22, 23, 24, 25], "p2": [2, 19, 22, 23, 25], "p3": [2, 19, 22, 23], "p4": 22, "pabulib": [0, 7, 22], "pabutool": [1, 2, 3, 7, 8, 12, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25], "packag": [2, 14, 20, 23, 24], "page": [0, 2, 15, 18, 21, 23], "pair": [3, 8, 9], "paper": 12, "param": 8, "paramet": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 19, 22, 23, 24], "parent": 12, "pars": [6, 7, 20], "parse_pabulib": [5, 7, 20, 21, 24], "parsing_error": 6, "part": [3, 6, 9], "parti": [8, 22], "participatori": [0, 2, 3, 6, 7, 12, 19, 20, 22, 23, 24], "particular": [0, 24], "pass": [3, 4, 6, 8, 9, 12, 22, 23, 24], "path": [6, 7, 15, 20, 21], "path_to_election_fil": 21, "path_to_output_fil": 21, "path_to_the_fil": [20, 24], "pb": [20, 21], "pdf": [7, 12], "per": [3, 8, 9, 12, 24], "percent_non_empty_hand": 3, "percent_positive_satisfact": 3, "percentag": 3, "perform": [12, 23], "phragm\u00e9n": [2, 11], "pick": [3, 12], "pip3": 1, "pjr": 3, "place": [8, 9, 14], "pleas": [19, 22], "plot": [3, 22], "plu": [9, 12], "point": [4, 20, 22, 23], "pop": [8, 9], "popitem": [8, 9], "popul": [2, 12, 20, 23, 24], "popular": 23, "popularity_comparison": [12, 23], "posit": [3, 4, 9, 14], "positional_func": 9, "positionalsatisfact": [5, 9, 24], "possibl": [8, 12, 20], "post": 12, "potenti": [9, 19], "power": 3, "powerset": [11, 14], "pre": [12, 23, 24], "precis": 14, "precomput": 9, "precomputed_valu": [9, 24], "prefer": [0, 4, 5, 11, 12, 18, 22, 23], "prefix": 15, "preflib": 7, "preflib_inst": [7, 20], "preflibinst": 7, "preflibtool": 7, "preprocess": 9, "present": [4, 8, 9, 23, 24], "previou": [9, 23, 24], "previous": 23, "primal": [12, 23], "primal_du": 12, "primari": 23, "primarili": 22, "prime": [8, 9], "prime_factor": [8, 9], "print": [15, 19], "prior": 3, "probabl": [4, 8], "problem": [12, 23], "procedur": 12, "process": [12, 24], "prod": [8, 9], "profil": [3, 5, 6, 7, 9, 11, 12, 13, 15, 18, 20, 21, 23, 24, 25], "profile_runtim": 22, "program": [12, 23], "progress": 12, "proj": 9, "project": [0, 4, 5, 6, 7, 8, 9, 11, 12, 13, 19, 20, 21, 22, 23, 24, 25], "project_meta": [6, 19, 20], "project_nam": 6, "projectloss": 3, "properti": 11, "proportion": 3, "propos": 23, "provid": [0, 2, 8, 9, 10, 12, 13, 16, 17, 20, 21, 22, 23, 24, 25], "proxi": 24, "public": [6, 7], "publication_d": 7, "pun": 0, "purpos": [2, 4, 8, 12, 22, 23], "py": [7, 8], "pypi": 1, "python": [2, 4, 6, 8, 9, 17, 19, 22, 24], "qualiti": 2, "qualnam": 12, "quick": 18, "r": [8, 9], "rais": [3, 4, 6, 8, 9, 10, 13, 22], "random": [4, 6, 8], "randomappballot": 4, "randomli": [4, 6, 8], "rang": [8, 9, 20, 22, 23, 24], "rank": 22, "rare": 9, "rather": 24, "ratio": 3, "re": 9, "reach": 12, "read": 12, "readi": [2, 24], "reason": 4, "receiv": [3, 8, 12], "recommend": 23, "reconstruct": 12, "reduc": [8, 9], "refer": [0, 17, 18, 19, 20, 21, 22, 23, 25], "refuse_tie_break": [11, 13], "regard": [2, 23], "regardless": [8, 9], "regular": 4, "reject": 21, "rel": 9, "relat": [7, 8, 20], "related_fil": 7, "relates_to": 7, "relative_cardinality_sat": [5, 9, 24], "relative_cost_approx_normaliser_sat": [5, 9, 24], "relative_cost_sat": [5, 9, 24], "relev": 6, "reli": 23, "remain": 21, "rememb": 23, "remov": [4, 6, 8, 9, 19], "remove_satisfi": 9, "render": [15, 21, 23], "repeat": [8, 9, 23], "replac": [3, 8, 9], "repositori": 1, "repres": [3, 4, 6, 7, 8, 9, 10, 12, 22, 24], "represent": [11, 22], "requir": [3, 4, 19, 22], "resembl": 24, "resid": 6, "resolut": [12, 23], "respect": [6, 8, 21, 25], "result": [2, 3, 15, 19, 21], "retriev": 12, "return": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 19, 22, 23, 24, 25], "revers": [8, 9, 12], "reverse_elimin": 23, "root": [9, 24], "round": [6, 12, 14, 15, 21], "round_analysi": 15, "round_cmp": [11, 14], "rule": [0, 2, 3, 8, 11, 13, 15, 18, 21, 22, 24, 25], "rule_param": [12, 23], "rule_sequ": 12, "run": [12, 23], "runtim": [12, 21, 22, 23], "sai": 23, "said": 6, "same": 21, "sampl": 6, "sat": [9, 24], "sat_bound": 9, "sat_class": [2, 3, 8, 9, 12, 21, 23, 24], "sat_profil": [12, 23, 24], "sat_project": 9, "satisf": 12, "satisfact": [2, 5, 8, 11, 12, 18, 23], "satisfactin": 12, "satisfaction_histogram": 3, "satisfactionmeasur": [3, 5, 8, 9, 12, 24], "satisfactionmultiprofil": [5, 9, 24], "satisfactionprofil": [5, 9, 24], "satisfi": [3, 9], "save": [8, 9, 12, 15, 21], "scale": 22, "scarciti": 3, "scenario": 12, "scheme": 12, "scientif": 23, "score": [3, 4, 8, 9, 13, 20, 22, 24], "second": [4, 8, 14, 21, 22, 23], "section": 12, "see": [0, 2, 4, 6, 8, 9, 12, 16, 17, 20, 21, 22, 23, 24, 25], "seem": 1, "seen": 25, "select": [2, 3, 4, 6, 9, 12, 13, 21, 23, 24], "select_project_g": 23, "select_project_to_fund_func": [12, 23], "selected_project": 12, "self": 24, "sens": 3, "sensit": 23, "separ": 12, "sequenc": [12, 14, 23], "sequenti": [2, 11], "sequential_phragmen": [2, 12, 23], "serv": 22, "set": [0, 2, 3, 4, 6, 8, 9, 12, 13, 19, 21, 22, 23, 24, 25], "set_item": 4, "setdefault": [8, 9], "sever": [12, 19, 20, 22, 24, 25], "shallow": [4, 6, 8, 9], "share": [2, 11, 24], "shortcut": 12, "should": [1, 3, 4, 6, 8, 9, 12, 14, 17, 22, 23], "shouldn": 12, "show": 22, "significantli": 23, "similar": [8, 23], "similarli": [2, 22, 23], "simpl": [2, 4], "simpler": 18, "simpli": [4, 8, 9, 12, 13, 17], "simplifi": [23, 24], "simul": 3, "sinc": [1, 2, 4, 9, 19, 22, 23], "singl": [2, 9, 12, 13, 19, 25], "size": 24, "skip": 12, "skipped_project": 12, "so": [4, 8, 9, 17, 19, 23], "social": [3, 12, 23], "social_welfare_comparison": [12, 23], "sole": [9, 12], "solut": 23, "solv": 23, "solver": [12, 23], "some": [0, 4, 8, 12, 22, 23], "someth": 23, "soon": [12, 23], "sort": [8, 9, 13], "sourc": [1, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15], "special": [4, 8, 13], "specif": [8, 9, 11, 12, 21, 22, 23, 24], "specifi": [3, 7, 8, 9, 14, 21, 23], "speed": [9, 22, 23], "spent": 3, "squar": [9, 24], "stabl": [8, 9], "stack": 14, "standalon": 21, "standard": [2, 3, 4, 7, 20, 23], "start": [8, 9, 12, 18], "state": 12, "statist": 21, "std_dev_project_cost": 3, "step": 12, "stop": [8, 9, 12], "storag": 23, "store": [2, 4, 6, 8, 9, 12, 19, 20, 21, 22, 23], "str": [3, 4, 6, 7, 9, 10, 15, 19, 23], "str_as_frac": [10, 11, 17], "str_represent": 20, "string": [4, 6, 7, 10, 17, 20, 21], "strong": 3, "structur": 8, "subclass": [4, 6, 8], "subject": 20, "submit": [2, 4, 6, 20, 22, 24], "subset": [6, 8, 9, 14, 24], "subtract": [8, 9], "suitabl": 23, "sum": [6, 8, 9, 12, 24], "sum_project_cost": 3, "summari": [15, 21], "super": 24, "support": [0, 3, 8, 9, 11, 13, 20], "supporters_budget": 3, "symmetr": [4, 6], "symmetric_differ": [4, 6], "symmetric_difference_upd": [4, 6], "t": 12, "take": [2, 4, 9, 13, 21, 23, 24], "taken": [0, 8, 14, 24], "target": 6, "technic": 4, "test": [3, 6, 8, 19, 22], "than": [6, 10, 14, 22, 24], "thei": [2, 3, 4, 8, 9, 12, 14, 16, 22, 23], "them": [2, 8, 9, 13, 14, 24], "thi": [0, 2, 3, 4, 6, 8, 9, 12, 17, 18, 19, 20, 21, 22, 23, 24, 25], "thing": 9, "those": 8, "though": [3, 6], "three": 9, "through": [2, 4, 9, 19, 22, 23], "throw": 8, "thu": [3, 4, 8, 9, 12, 22], "ti": [12, 13, 23, 25], "tie": [11, 12, 18, 23], "tie_break": [12, 23], "tiebreak": [13, 23, 25], "tiebreakingexcept": [11, 13], "tiebreakingrul": [11, 12, 13, 25], "time": [8, 9, 12], "titl": 7, "togeth": [0, 3, 6, 8, 9], "tool": [0, 3, 16, 24], "total": [2, 3, 6, 8, 9, 12, 20, 24], "total_budget_lost": 3, "total_cost": [5, 6], "total_satisfact": 9, "total_satisfaction_project": 9, "total_scor": 8, "transfer": 11, "transport": 6, "trivial": [6, 8], "true": [3, 6, 8, 12, 19, 21, 22, 23], "tupl": [4, 7, 8, 9, 14], "turn": 22, "tutori": 18, "two": [2, 3, 4, 6, 8, 9, 10, 14, 15, 19, 21, 23, 24, 25], "type": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 22], "typeerror": [8, 22], "typic": [4, 6, 8, 12, 23, 24], "u": 4, "under": [9, 12, 23], "undesir": 17, "unic": 22, "uniform": 6, "uniformli": 6, "union": [4, 6, 14], "uniqu": [6, 8, 9], "unit": 12, "unti": [13, 25], "until": [4, 12, 23], "up": [3, 6, 8, 9, 12, 19, 22, 23], "up_to_func": 3, "updat": [2, 4, 6, 8, 9, 21], "upon": [2, 6], "upper": 12, "urban": 6, "us": [0, 2, 3, 4, 6, 7, 8, 9, 10, 12, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25], "usual": [8, 23], "util": [11, 21, 24], "utilitarian": [2, 11], "v": [8, 9], "valid": [8, 12, 22], "validate_ballot": [8, 22], "valu": [3, 4, 6, 8, 9, 10, 12, 13, 14, 17, 23, 24], "valueerror": [4, 8, 9], "variant": 12, "variou": [12, 24], "vector": 14, "verbos": [3, 12, 15, 23], "veri": 8, "version": [9, 12, 23], "via": [9, 12, 23], "view": [8, 9], "violat": [6, 12], "virtual": 12, "visualis": [2, 11, 18, 23], "vote": [0, 2, 3, 6, 11, 19, 21], "voter": [2, 4, 6, 8, 9, 11, 12, 20, 22, 23, 24], "voter_budget_incr": [12, 23], "voter_flow": 3, "voter_flow_matrix": 3, "voter_multipl": 12, "voters_budget": 12, "voters_budget_after_select": 12, "votes_count_by_project": 3, "w": [8, 9], "wa": [3, 12, 23], "wai": [2, 9, 17, 21, 23, 24, 25], "want": 2, "was_pick": 3, "watch": [8, 9], "we": [0, 2, 3, 4, 8, 9, 12, 16, 17, 20, 21, 22, 23, 24, 25], "websit": [12, 20, 23], "welfar": [2, 3, 11, 15], "well": [9, 22], "were": [6, 12, 20, 21], "what": [2, 22], "when": [0, 3, 6, 10, 12, 13, 20, 22, 23], "wher": 13, "where": [3, 12, 13, 15, 21, 22, 24], "whether": [3, 8, 15], "which": [2, 3, 4, 8, 9, 10, 12, 13, 14, 19, 21, 22, 23, 24], "while": 12, "who": [3, 8, 9], "whole": [12, 21], "whose": [3, 8], "wide": [0, 24], "wieliczka": 23, "wikipedia": 0, "win": [2, 3], "winner": 3, "witch": [8, 9], "without": [6, 21], "work": [0, 12, 21], "workflow": 24, "world": 2, "would": [12, 22, 23], "write": [7, 20], "write_pabulib": [5, 7, 20], "x": 13, "year": 6, "yet": [2, 4, 23], "yield": [12, 20], "you": [1, 2, 12, 20, 22, 23], "zero": [3, 8, 9], "zingchart": 21, "\u015bwiec": 23}, "titles": ["Pabutools: PB as easy as ABC", "Installation", "Quick Start", "Analysis module", "Ballot module", "Election module", "Instance module", "Preference Libraries", "Profile module", "Satisfaction module", "Fractions", "Reference", "Rules module", "Tie-Breaking", "Utils", "Visualisation Module", "Analysis", "Fractions", "Complete Guide", "Instances", "Preference Libraries", "Outcome Visualisation", "Profiles", "Rules", "Satisfaction Measures", "Tie-Breaking"], "titleterms": {"": [12, 23], "abc": 0, "addit": [12, 23, 24], "alloc": [12, 23], "an": 2, "analysi": [3, 16], "approv": 22, "approxim": 23, "axiom": 3, "ballot": [2, 4], "basic": 3, "break": [13, 25], "budget": [12, 23], "cardin": 22, "categori": 3, "complet": 18, "composit": [12, 23], "comput": 2, "cumul": [12, 22, 23], "default": 24, "describ": 2, "detail": 23, "easi": 0, "elect": [2, 5], "equal": [3, 12, 21, 23], "exhaust": [12, 23], "fraction": [10, 17], "function": 24, "greedi": [12, 21, 23], "guid": 18, "instal": 1, "instanc": [2, 6, 19], "justifi": [3, 16], "librari": [7, 20], "maximis": [12, 23], "me": [12, 23], "measur": 24, "method": [3, 12, 21, 23], "modul": [3, 4, 5, 6, 8, 9, 12, 15], "multiprofil": 22, "ordin": 22, "outcom": [2, 21], "pabulib": 20, "pabutool": 0, "pb": 0, "phragm\u00e9n": [12, 23], "posit": 24, "prefer": [7, 20], "preflib": 20, "priceabl": 16, "profil": [2, 8, 22], "project": [2, 3], "properti": 3, "quick": 2, "refer": 11, "represent": [3, 16], "rule": [12, 23], "satisfact": [3, 9, 24], "sequenti": [12, 23], "share": [3, 12, 21, 23], "specif": 3, "start": 2, "support": [12, 23], "tie": [13, 25], "transfer": [12, 23], "util": 14, "utilitarian": [12, 21, 23], "visualis": [15, 21], "vote": [12, 23], "voter": 3, "welfar": [12, 21, 23]}})
\ No newline at end of file
+Search.setIndex({"docnames": ["index", "installation", "quickstart", "reference/analysis/index", "reference/election/ballot", "reference/election/index", "reference/election/instance", "reference/election/libraries", "reference/election/profile", "reference/election/satisfaction", "reference/fractions", "reference/index", "reference/rules/index", "reference/tiebreaking", "reference/utils", "reference/visualisation/index", "usage/analysis", "usage/fractions", "usage/index", "usage/instances", "usage/libraries", "usage/outcomevisualisation", "usage/profiles", "usage/rules", "usage/satisfaction", "usage/tiebreaking"], "filenames": ["index.rst", "installation.rst", "quickstart.rst", "reference/analysis/index.rst", "reference/election/ballot.rst", "reference/election/index.rst", "reference/election/instance.rst", "reference/election/libraries.rst", "reference/election/profile.rst", "reference/election/satisfaction.rst", "reference/fractions.rst", "reference/index.rst", "reference/rules/index.rst", "reference/tiebreaking.rst", "reference/utils.rst", "reference/visualisation/index.rst", "usage/analysis.rst", "usage/fractions.rst", "usage/index.rst", "usage/instances.rst", "usage/libraries.rst", "usage/outcomevisualisation.rst", "usage/profiles.rst", "usage/rules.rst", "usage/satisfaction.rst", "usage/tiebreaking.rst"], "titles": ["Pabutools: PB as easy as ABC", "Installation", "Quick Start", "Analysis module", "Ballot module", "Election module", "Instance module", "Preference Libraries", "Profile module", "Satisfaction module", "Fractions", "Reference", "Rules module", "Tie-Breaking", "Utils", "Visualisation Module", "Analysis", "Fractions", "Complete Guide", "Instances", "Preference Libraries", "Outcome Visualisation", "Profiles", "Rules", "Satisfaction Measures", "Tie-Breaking"], "terms": {"For": [0, 2, 3, 4, 8, 17, 18, 20, 21, 22, 23, 24, 25], "pun": 0, "see": [0, 2, 4, 6, 8, 9, 12, 16, 17, 20, 21, 22, 23, 24, 25], "awesom": 0, "The": [0, 2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24], "ar": [0, 1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 16, 19, 20, 21, 22, 23, 24, 25], "complet": [0, 4, 8, 12, 23], "set": [0, 2, 3, 4, 6, 8, 9, 12, 13, 19, 21, 22, 23, 24, 25], "tool": [0, 3, 16, 24], "work": [0, 12, 21], "participatori": [0, 2, 3, 6, 7, 12, 19, 20, 22, 23, 24], "budget": [0, 2, 3, 6, 7, 8, 9, 11, 16, 19, 20, 21, 22, 24], "instanc": [0, 3, 4, 5, 7, 8, 9, 11, 12, 13, 15, 18, 20, 21, 22, 23, 24, 25], "i": [0, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 15, 17, 19, 20, 21, 22, 23, 24], "democrat": 0, "us": [0, 2, 3, 4, 6, 7, 8, 9, 10, 12, 15, 17, 18, 19, 20, 21, 22, 23, 24, 25], "alloc": [0, 3, 6, 9, 11, 16, 19, 20, 21, 22], "given": [0, 3, 4, 6, 8, 9, 12, 14, 23, 24], "amount": [0, 3, 4, 6], "monei": [0, 3, 6, 12], "collect": [0, 2, 3, 4, 6, 8, 9, 12, 13, 14, 16, 22, 24], "project": [0, 4, 5, 6, 7, 8, 9, 11, 12, 13, 19, 20, 21, 22, 23, 24, 25], "base": [0, 2, 4, 6, 8, 9, 12, 13, 19, 20, 21, 22, 23], "group": [0, 6, 9, 12], "individu": [0, 9, 24], "prefer": [0, 4, 5, 11, 12, 18, 22, 23], "over": [0, 3, 4, 6, 8, 9, 12, 24], "It": [0, 2, 3, 4, 6, 9, 10, 12, 19, 20, 22, 23], "ha": [0, 4, 6, 8, 9, 12, 22, 23], "been": [0, 2, 4, 6, 8, 9, 12, 22, 23], "invent": 0, "brazil": 0, "late": 0, "80": 0, "": [0, 2, 8, 9, 10, 11, 19, 24], "now": [0, 2], "wide": [0, 24], "implement": [0, 4, 8, 9, 12, 13, 22, 23, 24], "wikipedia": 0, "page": [0, 2, 15, 18, 21, 23], "more": [0, 2, 3, 4, 6, 8, 9, 10, 12, 19, 22, 23, 24], "detail": [0, 3, 7, 8, 9, 12, 21], "In": [0, 4, 6, 8, 9, 12, 17, 20, 22, 24], "thi": [0, 2, 3, 4, 6, 8, 9, 12, 17, 18, 19, 20, 21, 22, 23, 24, 25], "librari": [0, 5, 11, 18, 21, 23], "we": [0, 2, 3, 4, 8, 9, 12, 16, 17, 20, 21, 22, 23, 24, 25], "provid": [0, 2, 8, 9, 10, 12, 13, 16, 17, 20, 21, 22, 23, 24, 25], "handl": [0, 2, 6, 10, 12, 17, 22, 23], "differ": [0, 3, 4, 6, 8, 9, 12, 21, 23], "kind": [0, 3, 6], "togeth": [0, 3, 6, 8, 9], "vote": [0, 2, 3, 6, 11, 19, 21], "rule": [0, 2, 3, 8, 11, 13, 15, 18, 21, 22, 24, 25], "determin": [0, 12, 20], "outcom": [0, 3, 12, 15, 16, 18, 22, 23, 24], "elect": [0, 3, 4, 6, 7, 8, 11, 12, 15, 19, 20, 21, 22, 23, 24, 25], "some": [0, 4, 8, 12, 22, 23], "analyt": [0, 3, 12, 21, 23], "particular": [0, 24], "full": [0, 20, 23], "support": [0, 3, 8, 9, 11, 13, 20], "taken": [0, 8, 14, 24], "from": [0, 1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24, 25], "pabulib": [0, 7, 22], "refer": [0, 17, 18, 19, 20, 21, 22, 23, 25], "when": [0, 3, 6, 10, 12, 13, 20, 22, 23], "come": 0, "data": [0, 3, 20, 22], "sinc": [1, 2, 4, 9, 19, 22, 23], "pabutool": [1, 2, 3, 7, 8, 12, 13, 17, 18, 19, 20, 21, 22, 23, 24, 25], "host": [1, 20, 22], "pypi": 1, "should": [1, 3, 4, 6, 8, 9, 12, 14, 17, 22, 23], "easi": 1, "pip3": 1, "you": [1, 2, 12, 20, 22, 23], "can": [1, 2, 3, 4, 6, 8, 9, 10, 12, 13, 19, 20, 21, 22, 23, 24], "also": [1, 3, 4, 6, 8, 9, 12, 16, 19, 20, 22, 23, 24], "directli": [1, 12, 14, 22, 23, 24], "download": 1, "sourc": [1, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15], "our": [1, 20, 22, 24], "github": 1, "repositori": 1, "seem": 1, "easier": 1, "have": [2, 4, 6, 8, 9, 12, 22, 23, 24], "instal": 2, "packag": [2, 14, 20, 23, 24], "On": 2, "guid": [2, 17], "through": [2, 4, 9, 19, 22, 23], "simpl": [2, 4], "exampl": [2, 8, 9, 19, 20, 21, 24], "let": 2, "begin": 2, "need": [2, 8, 9, 12, 13, 20, 23], "encod": 2, "least": [2, 3, 4, 8, 9, 24], "limit": [2, 3, 6, 8, 12, 19, 23], "voter": [2, 4, 6, 8, 9, 11, 12, 20, 22, 23, 24], "fundament": [2, 22], "element": [2, 4, 6, 8, 9, 14, 19], "e": [2, 4, 6, 8, 9, 13, 17, 22, 23, 24], "entiti": [2, 4, 6], "upon": [2, 6], "defin": [2, 3, 4, 6, 7, 8, 9, 10, 12, 17, 19, 22, 23, 24, 25], "them": [2, 8, 9, 13, 14, 24], "class": [2, 3, 4, 6, 7, 8, 9, 12, 13, 15, 19, 20, 21, 22, 23, 24, 25], "import": [2, 4, 8, 9, 17, 19, 20, 21, 22, 23, 24, 25], "p1": [2, 19, 22, 23, 24, 25], "1": [2, 3, 8, 9, 12, 17, 19, 22, 23, 24, 25], "constructor": [2, 8, 19, 22, 24], "take": [2, 4, 9, 13, 21, 23, 24], "name": [2, 4, 6, 7, 9, 12, 13, 15, 19, 21], "cost": [2, 3, 6, 8, 9, 12, 13, 19, 20, 23, 24], "p2": [2, 19, 22, 23, 25], "p3": [2, 19, 22, 23], "3": [2, 8, 9, 12, 17, 19, 22], "next": [2, 24], "which": [2, 3, 4, 8, 9, 10, 12, 13, 14, 19, 21, 22, 23, 24], "along": [2, 19, 22], "addit": [2, 3, 4, 6, 8, 9, 11, 19, 20, 21, 22], "inform": [2, 3, 4, 6, 12, 19, 21, 23], "about": [2, 6, 12, 21, 23, 24], "store": [2, 4, 6, 8, 9, 12, 19, 20, 21, 22, 23], "all": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24, 25], "regard": [2, 23], "except": [2, 4, 6, 8, 13], "what": [2, 22], "concern": [2, 4], "instanti": [2, 10, 22, 25], "deriv": [2, 4, 8], "python": [2, 4, 6, 8, 9, 17, 19, 22, 24], "one": [2, 3, 4, 6, 7, 8, 9, 12, 21, 23, 24], "There": [2, 23], "mani": [2, 4, 8, 9], "option": [2, 3, 4, 6, 8, 9, 12, 13, 14, 15, 19, 21], "paramet": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 19, 22, 23, 24], "add": [2, 8, 9, 19, 22], "method": [2, 4, 8, 9, 11, 19, 22, 24], "popul": [2, 12, 20, 23, 24], "updat": [2, 4, 6, 8, 9, 21], "budget_limit": [2, 6, 19, 23, 25], "importantli": [2, 6, 9, 22], "ani": [2, 3, 9, 12, 19, 22, 23, 24], "comparison": [2, 3, 12, 14, 19, 23], "between": [2, 3, 6, 13, 19, 21, 23, 25], "two": [2, 3, 4, 6, 8, 9, 10, 14, 15, 19, 21, 23, 24, 25], "g": 2, "equal": [2, 8, 9, 11, 14, 19, 24], "ad": [2, 6, 8, 12, 19, 23], "p": [2, 19, 22, 23, 24, 25], "anoth": [2, 4, 6, 8, 9, 19, 23, 24], "result": [2, 3, 15, 19, 21], "singl": [2, 9, 12, 13, 19, 25], "essenti": [2, 4], "compon": [2, 22], "A": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 19, 22, 23, 24], "gather": [2, 24], "assum": [2, 12, 14], "submit": [2, 4, 6, 20, 22, 24], "approv": [2, 3, 4, 7, 8, 9, 12, 13, 20, 23, 24], "thei": [2, 3, 4, 8, 9, 12, 14, 16, 22, 23], "approvalballot": [2, 4, 5, 8, 22, 23, 25], "follow": [2, 4, 8, 9, 12, 17, 20, 22, 23], "b1": [2, 22], "initi": [2, 3, 6, 8, 9, 12, 23, 24], "b2": [2, 22], "b3": [2, 22], "inherit": [2, 4, 8, 9, 12, 19, 22, 23, 24], "approvalprofil": [2, 5, 7, 8, 20, 22, 23, 25], "append": [2, 4, 8, 9, 22, 24], "list": [2, 3, 8, 9, 12, 13, 22, 23, 24, 25], "readi": [2, 24], "win": [2, 3], "purpos": [2, 4, 8, 12, 22, 23], "modul": [2, 10, 11, 16, 17, 19, 21, 22, 23, 25], "want": 2, "standard": [2, 3, 4, 7, 20, 23], "greedi": [2, 11, 15], "commonli": 2, "citi": 2, "around": 2, "world": 2, "cost_sat": [2, 5, 9, 21, 23, 24], "greedy_utilitarian_welfar": [2, 12, 21, 23], "sat_class": [2, 3, 8, 9, 12, 21, 23, 24], "approxim": [2, 9, 12, 14], "utilitarian": [2, 11], "welfar": [2, 3, 11, 15], "satisfact": [2, 5, 8, 11, 12, 18, 23], "measur": [2, 3, 8, 9, 12, 18, 22, 23], "discuss": [2, 24], "yet": [2, 4, 23], "keep": 2, "mind": 2, "wai": [2, 9, 17, 21, 23, 24, 25], "assess": 2, "qualiti": 2, "total": [2, 3, 6, 8, 9, 12, 20, 24], "select": [2, 3, 4, 6, 9, 12, 13, 21, 23, 24], "appear": [2, 3, 8, 9], "check": [2, 8], "out": [2, 8, 9], "other": [2, 3, 4, 6, 8, 21, 22], "phragm\u00e9n": [2, 11], "sequenti": [2, 11], "share": [2, 11, 24], "sequential_phragmen": [2, 12, 23], "method_of_equal_shar": [2, 12, 21, 23], "outcome1": 2, "outcome2": 2, "return": [2, 3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 19, 22, 23, 24, 25], "budgetalloc": [2, 3, 12, 23], "object": [2, 3, 4, 6, 8, 9, 12, 13, 23], "behav": [2, 4, 19, 23], "similarli": [2, 22, 23], "visualis": [2, 11, 18, 23], "explan": [2, 12, 18, 23], "contain": [3, 4, 6, 7, 8, 9, 14, 20, 21, 22], "analys": [3, 12], "avg_project_cost": 3, "int": [3, 4, 6, 8, 9, 12, 13, 14, 24], "float": [3, 4, 6, 8, 9, 10, 12, 13, 14, 17], "mpq": [3, 4, 6, 8, 9, 12, 13, 14], "averag": [3, 22], "type": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 22], "numer": [3, 4, 6, 8, 9, 10, 11, 12, 13, 14], "funding_scarc": 3, "ratio": 3, "divid": [3, 9, 12, 24], "call": [3, 4, 8, 12, 15, 21], "fund": [3, 12], "scarciti": 3, "median_project_cost": 3, "median": 3, "std_dev_project_cost": 3, "deviat": 3, "sum_project_cost": 3, "avg_approval_scor": 3, "profil": [3, 5, 6, 7, 9, 11, 12, 13, 15, 18, 20, 21, 23, 24, 25], "abstractapprovalprofil": [3, 5, 7, 8, 12], "score": [3, 4, 8, 9, 13, 20, 22, 24], "avg_ballot_cost": 3, "abstractprofil": [3, 5, 7, 8, 9, 12, 13, 15], "ballot": [3, 5, 6, 7, 8, 9, 11, 12, 20, 22, 23, 24], "avg_ballot_length": 3, "length": [3, 8, 9, 20], "avg_total_scor": 3, "abstractcardinalprofil": [3, 5, 7, 8], "assign": [3, 4, 6, 8, 9, 20, 22], "median_approval_scor": 3, "median_ballot_cost": 3, "median_ballot_length": 3, "median_total_scor": 3, "voter_flow_matrix": 3, "dict": [3, 4, 6, 7, 8, 9, 12, 19, 20, 22], "str": [3, 4, 6, 7, 9, 10, 15, 19, 23], "flow": 3, "matrix": 3, "2d": 3, "dictionari": [3, 4, 6, 8, 9, 12, 22], "where": [3, 12, 13, 15, 21, 22, 24], "voter_flow": 3, "b": [3, 8, 9, 14, 19, 22, 23], "number": [3, 6, 8, 9, 10, 12, 13, 14, 20, 22, 23, 24], "who": [3, 8, 9], "votes_count_by_project": 3, "each": [3, 4, 8, 9, 12, 21, 22, 24], "avg_satisfact": 3, "budget_alloc": [3, 6, 19], "satisfactionmeasur": [3, 5, 8, 9, 12, 24], "comput": [3, 8, 9, 10, 12, 14, 22, 23, 24], "iter": [3, 4, 6, 8, 9, 12, 13, 14, 19, 23], "do": [3, 9, 12, 17, 22], "gini_coefficient_of_satisfact": 3, "invert": 3, "bool": [3, 6, 8, 12, 15], "fals": [3, 6, 8, 9, 12, 15, 19, 23], "gini": [3, 14], "coeffici": [3, 14], "true": [3, 6, 8, 12, 19, 21, 22, 23], "minu": [3, 8, 9], "default": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 15, 17, 21, 22, 23], "percent_non_empty_hand": 3, "percentag": 3, "mostli": [3, 16], "make": [3, 12, 17], "sens": 3, "though": [3, 6], "oper": [3, 9], "non": [3, 4, 8, 12, 23], "empti": [3, 8, 9, 12, 21], "hand": 3, "percent_positive_satisfact": 3, "enjoi": 3, "posit": [3, 4, 9, 14], "thu": [3, 4, 8, 9, 12, 22], "zero": [3, 8, 9], "function": [3, 8, 9, 10, 12, 13, 14, 17, 20, 21, 23, 25], "social": [3, 12, 23], "inheret": [3, 12], "satisfaction_histogram": 3, "max_satisfact": 3, "num_bin": 3, "21": 3, "necessari": [3, 7, 8, 12], "plot": [3, 22], "histogram": 3, "bin": 3, "whose": [3, 8], "correspond": [3, 4, 6, 7, 8, 9, 12, 20, 22, 24], "normalis": [3, 9], "20": [3, 23], "valu": [3, 4, 6, 8, 9, 10, 12, 13, 14, 17, 23, 24], "per": [3, 8, 9, 12, 24], "category_proportion": 3, "exist": [3, 12], "an": [3, 4, 6, 7, 8, 9, 10, 12, 13, 14, 17, 19, 20, 21, 22, 23, 24], "error": [3, 6, 10, 13, 17], "rais": [3, 4, 6, 8, 9, 10, 13, 22], "specifi": [3, 7, 8, 9, 14, 21, 23], "dedic": 3, "power": 3, "2": [3, 8, 9, 12, 17, 22, 23, 25], "global": 3, "consid": [3, 4, 6, 8, 9, 12], "exponenti": 3, "proportion": 3, "is_ejr_any_approv": 3, "test": [3, 6, 8, 19, 22], "satisfi": [3, 9], "ejr": 3, "up": [3, 6, 8, 9, 12, 19, 22, 23], "is_ejr_any_cardin": 3, "cardin": [3, 4, 7, 8, 9, 20, 23, 24], "is_ejr_approv": 3, "up_to_func": 3, "callabl": [3, 9, 12, 13], "none": [3, 4, 6, 7, 8, 9, 12, 13, 15, 23], "is_ejr_cardin": 3, "cardinalprofil": [3, 5, 7, 8, 20, 22], "abc": [3, 4, 8, 9], "additivesatisfact": [3, 5, 9, 24], "additive_cardinal_sat": [3, 5, 9, 24], "is_ejr_one_approv": 3, "is_ejr_one_cardin": 3, "is_pjr_any_approv": 3, "pjr": 3, "is_pjr_any_cardin": 3, "is_pjr_approv": 3, "is_pjr_cardin": 3, "is_pjr_one_approv": 3, "is_pjr_one_cardin": 3, "is_in_cor": 3, "core": 3, "is_strong_ejr_approv": 3, "strong": 3, "is_strong_ejr_cardin": 3, "projectloss": 3, "supporters_budget": 3, "budget_lost": 3, "repres": [3, 4, 6, 7, 8, 9, 10, 12, 22, 24], "how": [3, 6, 12, 18, 21, 23, 24], "much": [3, 12, 23], "lost": 3, "due": 3, "being": [3, 8, 12], "pick": [3, 12], "extend": [3, 8, 9], "itself": [3, 4, 6, 8, 9], "calcul": [3, 12], "wa": [3, 12, 23], "describ": [3, 4, 7, 8, 10, 20], "spent": 3, "prior": 3, "consider": [3, 9], "total_budget_lost": 3, "calculate_effective_support": 3, "was_pick": 3, "mes_param": 3, "effect": [3, 12, 21], "me": [3, 11, 15, 21], "metric": 3, "allow": [3, 4, 8, 9, 12, 22], "receiv": [3, 8, 12], "minim": [3, 12], "requir": [3, 4, 19, 22], "must": [3, 20, 21], "part": [3, 6, 9], "whether": [3, 8, 15], "considerd": 3, "winner": 3, "pass": [3, 4, 6, 8, 9, 12, 22, 23, 24], "keyword": [3, 4, 6, 8, 12], "argument": [3, 4, 6, 8, 9, 12, 14, 21, 23, 24, 25], "final_budget": 3, "abov": [3, 6, 9, 22, 24, 25], "final": 3, "replac": [3, 8, 9], "simul": 3, "exhaust": [3, 6, 11], "pair": [3, 8, 9], "calculate_project_loss": 3, "allocation_detail": 3, "allocationdetail": [3, 12, 15], "verbos": [3, 12, 15, 23], "de": [3, 12], "activ": [3, 8, 12, 22, 23], "displai": [3, 12], "format": [4, 7, 8, 9, 20, 22], "form": [4, 6, 8], "just": 4, "indic": [4, 6, 8, 12, 22], "complex": 4, "introduc": [4, 8, 9, 10, 12, 24], "abstract": [4, 8, 9, 22], "abstractballot": [4, 5, 8, 9], "gener": [4, 6, 8, 9, 12, 14, 15, 17, 21, 22, 23], "categori": [4, 6, 8, 11], "first": [4, 8, 9, 12, 13, 14, 22, 23], "These": [4, 6, 8, 12, 21, 25], "cardinalballot": [4, 5, 8, 22], "cumulativeballot": [4, 5, 8, 22, 23], "ordinalballot": [4, 5, 8, 22], "second": [4, 8, 14, 21, 22, 23], "so": [4, 8, 9, 17, 19, 23], "frozen": [4, 8, 22], "exactli": [4, 6, 9], "regular": 4, "mutabl": [4, 8], "hashabl": [4, 8], "u": 4, "kei": [4, 6, 8, 9, 13, 22], "multiprofil": [4, 5, 8, 9, 24], "frozenapprovalballot": [4, 5, 8, 22], "frozencardinalballot": [4, 5, 8, 22], "frozencumulativeballot": [4, 5, 8, 22], "frozenordinalballot": [4, 5, 8, 22], "abstractapprovalballot": [4, 5, 8, 9], "abstractcardinalballot": [4, 5, 8, 9], "abstractcumulativeballot": [4, 5], "abstractordinalballot": [4, 5, 9], "meta": [4, 6, 19, 20], "hint": 4, "identifi": [4, 6], "typic": [4, 6, 8, 12, 23, 24], "string": [4, 6, 7, 10, 17, 20, 21], "could": [4, 6, 12], "gender": 4, "locat": 4, "etc": [4, 19, 22], "frozenballot": [4, 5, 8, 22], "its": [4, 8, 9, 14, 22, 24], "init": [4, 6, 8, 9, 12], "subclass": [4, 6, 8], "initialis": [4, 7, 8, 9], "case": [4, 6, 8, 9, 22], "attribut": [4, 6, 8, 9, 22], "copi": [4, 6, 8, 9], "arg": [4, 6, 8, 9, 10], "shallow": [4, 6, 8, 9], "new": [4, 6, 8, 9], "difference_upd": [4, 6], "remov": [4, 6, 8, 9, 19], "intersect": [4, 6], "both": [4, 6, 8, 9, 22], "intersection_upd": [4, 6], "symmetric_differ": [4, 6], "symmetr": [4, 6], "symmetric_difference_upd": [4, 6], "union": [4, 6, 14], "either": [4, 6, 8, 9, 10, 12, 23], "get_random_approval_ballot": [4, 5], "randomappballot": 4, "random": [4, 6, 8], "probabl": [4, 8], "0": [4, 6, 8, 9, 12, 14, 22, 23, 24, 25], "5": [4, 8, 9, 12, 22, 23], "randomli": [4, 6, 8], "tupl": [4, 7, 8, 9, 14], "express": 4, "simpli": [4, 8, 9, 12, 13, 17], "map": [4, 7, 9, 20, 24], "default_scor": [4, 8], "d": [4, 8, 9, 23], "overrid": [4, 12], "set_item": 4, "ensur": [4, 8, 9, 12, 21, 22], "cumul": [4, 8, 11], "distribut": [4, 22], "point": [4, 20, 22, 23], "special": [4, 8, 13], "ordin": [4, 7, 8, 9, 20, 24], "order": [4, 8, 9, 13, 25], "accord": [4, 7, 8, 9, 12, 13], "technic": 4, "reason": 4, "convent": 4, "present": [4, 8, 9, 23, 24], "most": [4, 8, 9, 12, 23, 24], "If": [4, 6, 8, 9, 10, 12, 14, 20, 23, 24], "alreadi": [4, 9, 23, 24], "doe": [4, 6, 8, 9, 12, 23], "chang": [4, 17], "at_index": 4, "index": [4, 8, 9, 24], "valueerror": [4, 8, 9], "invalid": 4, "loop": 4, "until": [4, 12, 23], "find": [4, 6, 23], "found": [4, 6, 8, 9, 12, 21], "get_random_inst": [5, 6], "max_budget_allocation_cardin": [5, 6], "max_budget_allocation_cost": [5, 6], "total_cost": [5, 6], "approvalmultiprofil": [5, 8, 22], "get_random_approval_profil": [5, 8], "get_all_approval_profil": [5, 8], "cardinalmultiprofil": [5, 8, 22], "abstractcumulativeprofil": [5, 8, 12], "cumulativeprofil": [5, 8, 20, 22, 23], "cumulativemultiprofil": [5, 8, 22], "abstractordinalprofil": [5, 7, 8], "ordinalprofil": [5, 7, 8, 20, 22], "ordinalmultiprofil": [5, 8, 22], "groupsatisfactionmeasur": [5, 8, 9, 12], "satisfactionmultiprofil": [5, 9, 24], "satisfactionprofil": [5, 9, 24], "functionalsatisfact": [5, 9, 24], "cc_sat": [5, 9, 24], "cost_sqrt_sat": [5, 9, 24], "cost_log_sat": [5, 9, 24], "cardinality_sat": [5, 9, 23, 24], "relative_cardinality_sat": [5, 9, 24], "relative_cost_sat": [5, 9, 24], "relative_cost_approx_normaliser_sat": [5, 9, 24], "additive_cost_sqrt_sat": [5, 9], "additive_cost_log_sat": [5, 9], "effort_sat": [5, 9, 24], "additive_cardinal_relative_sat": [5, 9], "positionalsatisfact": [5, 9, 24], "additive_borda_sat": [5, 9, 24], "parse_pabulib": [5, 7, 20, 21, 24], "write_pabulib": [5, 7, 20], "election_as_pabulib_str": [5, 7, 20], "init_preflib_inst": [5, 7], "approval_to_preflib": [5, 7, 20], "cardinal_to_preflib": [5, 7, 20], "ordinal_to_preflib": [5, 7, 20], "basic": [6, 11], "here": [6, 8, 9, 12, 19, 21, 22, 23], "target": 6, "file_path": [6, 7], "file_nam": [6, 7], "parsing_error": 6, "project_meta": [6, 19, 20], "note": [6, 8, 9, 12, 21, 22, 23], "constitut": 6, "maximum": [6, 8, 9, 12, 20], "feasibl": [6, 9, 12, 19, 23, 24], "urban": 6, "greeneri": 6, "public": [6, 7], "transport": 6, "citizen": 6, "60": 6, "year": 6, "old": 6, "resid": 6, "district": 6, "pars": [6, 7, 20], "file": [6, 7, 15, 20, 21], "path": [6, 7, 15, 20, 21], "boolean": [6, 8, 12, 22, 23], "were": [6, 12, 20, 21], "encount": 6, "relev": 6, "get_project": 6, "project_nam": 6, "otherwis": [6, 8, 9, 12, 24], "keyerror": [6, 8, 9], "is_exhaust": [6, 19], "available_project": 6, "said": 6, "without": [6, 21], "violat": [6, 12], "onli": [6, 8, 9, 12, 13, 20, 21, 23], "is_feas": [6, 19], "mean": [6, 8, 14], "exce": [6, 8], "less": [6, 14], "than": [6, 10, 14, 22, 24], "is_trivi": [6, 8], "trivial": [6, 8], "exceed": [6, 9, 12], "uniqu": [6, 8, 9], "enforc": 6, "member": [6, 14, 20, 23], "num_project": 6, "min_cost": 6, "max_cost": 6, "integ": [6, 12, 17, 23], "uniformli": 6, "sampl": 6, "uniform": 6, "minimum": [6, 8, 20], "round": [6, 12, 14, 15, 21], "closest": 6, "chosen": [6, 21], "respect": [6, 8, 21, 25], "subset": [6, 8, 9, 14, 24], "sum": [6, 8, 9, 12, 24], "correct": 7, "depend": [7, 12, 24], "metadata": [7, 8, 19, 20], "write": [7, 20], "http": [7, 12], "arxiv": [7, 12], "org": [7, 12], "pdf": [7, 12], "2305": 7, "11035": 7, "output": [7, 8, 9, 15, 23], "creat": [7, 8, 9, 22, 24], "preflib_inst": [7, 20], "preflibinst": 7, "modification_typ": 7, "relates_to": 7, "related_fil": 7, "titl": 7, "descript": 7, "publication_d": 7, "modification_d": 7, "alternative_nam": 7, "preflib": 7, "preflibtool": 7, "modif": 7, "document": [7, 14], "relat": [7, 8, 20], "date": 7, "last": [7, 8, 9], "altern": [7, 23], "origin": [7, 23], "categoricalinst": 7, "convert": [7, 8, 9, 10, 12, 20, 23, 24], "py": [7, 8], "ordinalinst": 7, "structur": 8, "veri": 8, "similar": [8, 23], "Then": [8, 23], "usual": [8, 23], "those": 8, "multipl": [8, 9, 14, 22], "appli": [8, 9, 12, 13, 23], "ballot_valid": [8, 22], "ballot_typ": [8, 22], "meant": [8, 9], "valid": [8, 12, 22], "befor": [8, 9, 22], "against": 8, "as_sat_profil": [8, 23], "interchang": [8, 22], "inquir": 8, "num_ballot": 8, "validate_ballot": [8, 22], "throw": 8, "typeerror": [8, 22], "item": [8, 9], "end": [8, 9, 12], "as_multiprofil": [8, 22, 23], "insert": [8, 9], "regardless": [8, 9], "input": [8, 9, 13, 23, 24], "even": [8, 9], "save": [8, 9, 12, 15, 21], "counter": [8, 9, 22], "multiset": [8, 22, 24], "force_freez": 8, "beforehand": 8, "count": [8, 9, 21], "legal_min_length": [8, 20], "legal_max_length": [8, 20], "legal_min_cost": [8, 20], "legal_max_cost": [8, 20], "specif": [8, 9, 11, 12, 21, 22, 23, 24], "approval_scor": [8, 22], "approved_project": 8, "is_party_list": [8, 22], "parti": [8, 22], "disjoint": 8, "clear": [8, 9], "occurr": [8, 9], "start": [8, 9, 12, 18], "stop": [8, 9, 12], "9223372036854775807": [8, 9], "pop": [8, 9], "indexerror": [8, 9], "rang": [8, 9, 20, 22, 23, 24], "revers": [8, 9, 12], "IN": [8, 9], "place": [8, 9, 14], "sort": [8, 9, 13], "ascend": [8, 9], "modifi": [8, 9], "stabl": [8, 9], "maintain": [8, 9], "onc": [8, 9, 22, 24], "descend": [8, 9], "flag": [8, 9, 21], "repeat": [8, 9, 23], "time": [8, 9, 12], "c": [8, 9, 23], "abcabc": [8, 9], "knuth": [8, 9], "prime": [8, 9], "factor": [8, 9], "1836": [8, 9], "17": [8, 9], "math": [8, 9], "prime_factor": [8, 9], "prod": [8, 9], "neg": [8, 9, 14], "ignor": [8, 9], "classmethod": [8, 9], "fromkei": [8, 9], "v": [8, 9], "get": [8, 9, 22, 23], "els": [8, 9, 24], "like": [8, 9], "view": [8, 9], "most_common": [8, 9], "n": [8, 9], "common": [8, 9], "abracadabra": [8, 9], "r": [8, 9], "k": [8, 9], "popitem": [8, 9], "lifo": [8, 9], "setdefault": [8, 9], "subtract": [8, 9], "kwd": [8, 9], "instead": [8, 9, 22], "reduc": [8, 9], "below": [8, 9, 24], "witch": [8, 9], "watch": [8, 9], "h": [8, 9], "w": [8, 9], "four": [8, 9], "4": [8, 9, 12, 17, 22, 23], "num_ag": 8, "agent": [8, 12], "possibl": [8, 12, 20], "legal_min_scor": [8, 20], "legal_max_scor": [8, 20], "total_scor": 8, "param": 8, "fraction": [8, 9, 11, 14, 18, 23], "legal_min_total_scor": [8, 20], "legal_max_total_scor": [8, 20], "across": 8, "forzenordinalballot": 8, "larg": 9, "thing": 9, "As": [9, 12, 22, 23, 24], "three": 9, "chamberlin": [9, 24], "courant": [9, 24], "rel": 9, "approx": 9, "squar": [9, 24], "root": [9, 24], "log": [9, 22, 24], "effort": 9, "borda": [9, 24], "alwai": 9, "link": [9, 21], "hase": 9, "compar": [9, 14], "sole": [9, 12], "sat": [9, 24], "intern": 9, "sat_project": 9, "remove_satisfi": 9, "sat_bound": 9, "exclud": [9, 23], "met": 9, "bound": [9, 12], "noth": 9, "care": 9, "total_satisfact": 9, "total_satisfaction_project": 9, "inner_sat_class": 9, "extract": 9, "well": [9, 22], "potenti": [9, 19], "rare": 9, "deepcopi": 9, "extend_from_multiprofil": 9, "extend_from_profil": 9, "func": [9, 13], "via": [9, 12, 23], "actual": [9, 22], "under": [9, 12, 23], "plu": [9, 12], "To": [9, 17, 22, 23, 24], "speed": [9, 22, 23], "precomput": 9, "precomputed_valu": [9, 24], "preprocess": 9, "get_project_sat": 9, "after": [9, 12, 14, 21], "avoid": 9, "re": 9, "proj": 9, "largest": [9, 12, 23, 24], "previou": [9, 23, 24], "denomin": 9, "expens": [9, 24], "exact": 9, "version": [9, 12, 23], "long": [9, 22], "includ": [9, 12, 19, 20, 21], "highest": [9, 12, 13], "achiev": [9, 23], "positional_func": 9, "aggregation_func": 9, "That": 9, "aggreg": [9, 24], "frac": [10, 11, 17, 23], "constant": [10, 12, 17], "One": 10, "str_as_frac": [10, 11, 17], "float_frac": [10, 11], "gmpy2": [10, 17], "gmpy_frac": [10, 11], "gumpy2": [10, 14], "maximis": 11, "transfer": 11, "composit": 11, "analysi": [11, 15, 18, 22], "properti": 11, "justifi": 11, "represent": [11, 22], "axiom": 11, "mesvisualis": [11, 15, 21], "greedywelfarevisualis": [11, 15, 21], "tie": [11, 12, 18, 23], "break": [11, 12, 18, 23], "tiebreakingexcept": [11, 13], "tiebreakingrul": [11, 12, 13, 25], "app_score_tie_break": [11, 13, 23, 25], "lexico_tie_break": [11, 12, 13, 23, 25], "max_cost_tie_break": [11, 13, 25], "min_cost_tie_break": [11, 13, 25], "refuse_tie_break": [11, 13], "util": [11, 21, 24], "docenum": [11, 14], "gini_coeffici": [11, 14], "mean_gener": [11, 14], "powerset": [11, 14], "round_cmp": [11, 14], "known": [12, 20, 23], "max_additive_utilitarian_welfar": [12, 23], "mai": [12, 17], "notabl": [12, 19], "combin": [12, 23], "completion_by_rule_combin": [12, 23], "increas": [12, 21, 23], "exhaustion_by_budget_increas": [12, 23], "sever": [12, 19, 20, 22, 24, 25], "variou": [12, 24], "run": [12, 23], "parent": 12, "sat_profil": [12, 23, 24], "is_sat_addit": [12, 23], "tie_break": [12, 23], "resolut": [12, 23], "initial_budget_alloc": [12, 23], "scheme": 12, "lead": [12, 17], "would": [12, 22, 23], "constraint": [12, 20, 23], "skip": 12, "satisf": 12, "disregard": 12, "former": 12, "latter": 12, "deduct": 12, "lexicograph": [12, 13], "obtain": [12, 23], "irresolut": [12, 23], "ti": [12, 13, 23, 25], "greedywelfareallocationdetail": [12, 23], "enum": [12, 14], "maxaddutilwelfarealgo": [12, 23], "algorithm": [12, 17, 23], "ilp_solv": [12, 23], "linear": [12, 23], "program": [12, 23], "ilp": [12, 23], "solver": [12, 23], "primal_du": 12, "state": 12, "art": 12, "primal": [12, 23], "dual": [12, 23], "knapsack": [12, 23], "problem": [12, 23], "inner_algo": [12, 23], "maxim": [12, 23], "satisfactin": 12, "approach": [12, 23], "cannot": 12, "while": 12, "inner": [12, 23], "avail": [12, 21], "choic": 12, "initial_load": 12, "virtual": 12, "currenc": 12, "continu": 12, "soon": [12, 23], "asa": 12, "enough": 12, "bui": 12, "bought": 12, "load": 12, "By": [12, 17, 22, 23], "voter_budget_incr": [12, 23], "binary_sat": 12, "skipped_project": 12, "websit": [12, 20, 23], "equalshar": [12, 23], "net": [12, 23], "variant": 12, "unit": 12, "longer": 12, "binari": 12, "gain": [12, 22], "runtim": [12, 21, 22, 23], "automat": [12, 23], "mesproject": 12, "shouldn": 12, "t": 12, "access": 12, "perform": [12, 23], "mesallocationdetail": [12, 23], "voter_multipl": 12, "crucial": 12, "reconstruct": 12, "whole": [12, 21], "corrospond": 12, "mes_inner_algo": 12, "progress": 12, "dure": 12, "mesiter": 12, "voters_budget": 12, "voters_budget_after_select": 12, "selected_project": 12, "consist": [12, 15, 21, 22, 23], "cover": 12, "cstv": [12, 23], "cstv_combin": [12, 23], "select_project_to_fund_func": [12, 23], "eligible_projects_func": [12, 23], "no_eligible_project_func": [12, 23], "exhaustiveness_postprocess_func": [12, 23], "donor": [12, 23], "evalu": 12, "methodologi": 12, "emploi": 12, "procedur": 12, "elig": 12, "scenario": 12, "inclus": 12, "read": 12, "section": 12, "paper": 12, "2009": 12, "02690": 12, "shortcut": 12, "pre": [12, 23, 24], "post": 12, "qualnam": 12, "boundari": 12, "ewt": [12, 23], "excess": 12, "elimin": 12, "process": [12, 24], "ewtc": [12, 23], "mt": 12, "accept": [12, 19, 23], "mtc": [12, 23], "rule_sequ": 12, "rule_param": [12, 23], "sequenc": [12, 14, 23], "reach": 12, "separ": 12, "exhaustive_stop": 12, "budget_step": [12, 23], "budget_bound": 12, "retriev": 12, "infeas": 12, "interest": 12, "disabl": 12, "condit": 12, "leav": 12, "step": 12, "upper": 12, "multipli": 12, "popularity_comparison": [12, 23], "ones": [12, 24], "yield": [12, 20], "social_welfare_comparison": [12, 23], "occur": 13, "among": [13, 22], "broken": [13, 23], "lambda": 13, "x": 13, "unti": [13, 25], "tiebreak": [13, 23, 25], "wher": 13, "favour": [13, 23], "lowest": 13, "enumer": 14, "stack": 14, "overflow": 14, "vector": 14, "precis": 14, "6": [14, 17], "decim": 14, "greater": 14, "alia": 14, "explain": [15, 21], "summari": [15, 21], "html": [15, 21], "round_analysi": 15, "print": [15, 19], "consol": 15, "render": [15, 21, 23], "output_folder_path": 15, "folder": 15, "prefix": 15, "consit": 15, "anayls": 16, "justifiedrepresent": 16, "customiz": 17, "Not": 17, "undesir": 17, "behavior": 17, "fraction_from_int": 17, "fraction_from_str": 17, "offer": [18, 23, 24], "comprehens": 18, "simpler": 18, "tutori": 18, "quick": 18, "pleas": [19, 22], "encapsul": 19, "central": 19, "augment": 19, "invok": 19, "conform": 20, "appropri": 20, "path_to_the_fil": [20, 24], "extens": 20, "hous": 20, "subject": 20, "impos": 20, "pb": [20, 21], "content": 20, "str_represent": 20, "categor": 20, "app_profil": 20, "card_profil": 20, "ord_profil": 20, "depth": 21, "reject": 21, "statist": 21, "chart": 21, "zingchart": 21, "googl": 21, "develop": 21, "howev": 21, "remain": 21, "same": 21, "current": 21, "greedywelfar": 21, "path_to_election_fil": 21, "path_to_output_fil": 21, "standalon": 21, "_round_analysi": 21, "give": 21, "impact": 21, "captur": 21, "essenc": 21, "filenam": 21, "_summari": 21, "directori": 21, "correctli": 21, "serv": 22, "primarili": 22, "act": 22, "associ": 22, "deactiv": 22, "10": [22, 23], "8": [22, 23], "membership": 22, "ask": 22, "becom": 22, "p0": [22, 25], "p4": 22, "rank": 22, "unic": 22, "faster": [22, 23], "counterpart": 22, "immut": 22, "easili": 22, "app_ballot": 22, "freez": 22, "frozen_ballot": 22, "turn": 22, "show": 22, "7": 22, "multiprofile_runtim": 22, "profile_runtim": 22, "max": 22, "insight": 22, "scale": 22, "celebr": 23, "aim": 23, "Or": 23, "irresolute_outcom": 23, "forc": 23, "mip": 23, "solv": 23, "previous": 23, "becaus": 23, "control": 23, "solut": 23, "primari": 23, "context": 23, "sai": 23, "highli": 23, "recommend": 23, "decid": 23, "reli": 23, "significantli": 23, "idea": 23, "propos": 23, "scientif": 23, "literatur": 23, "fix": [23, 24], "further": 23, "down": 23, "improv": 23, "lot": 23, "sensit": 23, "interpret": 23, "donat": 23, "27": 23, "30": 23, "40": 23, "15": 23, "select_project_g": 23, "is_eligible_g": 23, "elimination_with_transf": 23, "reverse_elimin": 23, "budget_allocation_mes_complet": 23, "hope": 23, "suitabl": 23, "budget_allocation_mes_iter": 23, "100": [23, 24], "someth": 23, "rememb": 23, "compos": 23, "wieliczka": 23, "\u015bwiec": 23, "simplifi": [23, 24], "def": [23, 24], "mes_ful": 23, "popular": 23, "storag": 23, "concept": 24, "proxi": 24, "deduc": 24, "rather": 24, "flexibl": 24, "custom": 24, "Such": 24, "addition": 24, "facilit": 24, "manag": 24, "workflow": 24, "involv": 24, "mysatisfact": 24, "self": 24, "len": 24, "conveni": 24, "size": 24, "resembl": 24, "normal": 24, "demonstr": 24, "illustr": 24, "cc_sat_func": 24, "__init__": 24, "super": 24, "Its": 24, "done": 24, "cardinality_sat_func": 24, "borda_sat_func": 24, "mainli": 25, "seen": 25}, "objects": {"pabutools": [[3, 0, 0, "-", "analysis"], [5, 0, 0, "-", "election"], [10, 0, 0, "-", "fractions"], [12, 0, 0, "-", "rules"], [13, 0, 0, "-", "tiebreaking"], [14, 0, 0, "-", "utils"], [15, 0, 0, "-", "visualisation"]], "pabutools.analysis": [[3, 0, 0, "-", "category"], [3, 0, 0, "-", "instanceproperties"], [3, 0, 0, "-", "justifiedrepresentation"], [3, 0, 0, "-", "mesanalytics"], [3, 0, 0, "-", "profileproperties"], [3, 0, 0, "-", "votersatisfaction"]], "pabutools.analysis.category": [[3, 1, 1, "", "category_proportionality"]], "pabutools.analysis.instanceproperties": [[3, 1, 1, "", "avg_project_cost"], [3, 1, 1, "", "funding_scarcity"], [3, 1, 1, "", "median_project_cost"], [3, 1, 1, "", "std_dev_project_cost"], [3, 1, 1, "", "sum_project_cost"]], "pabutools.analysis.justifiedrepresentation": [[3, 1, 1, "", "is_EJR_any_approval"], [3, 1, 1, "", "is_EJR_any_cardinal"], [3, 1, 1, "", "is_EJR_approval"], [3, 1, 1, "", "is_EJR_cardinal"], [3, 1, 1, "", "is_EJR_one_approval"], [3, 1, 1, "", "is_EJR_one_cardinal"], [3, 1, 1, "", "is_PJR_any_approval"], [3, 1, 1, "", "is_PJR_any_cardinal"], [3, 1, 1, "", "is_PJR_approval"], [3, 1, 1, "", "is_PJR_cardinal"], [3, 1, 1, "", "is_PJR_one_approval"], [3, 1, 1, "", "is_PJR_one_cardinal"], [3, 1, 1, "", "is_in_core"], [3, 1, 1, "", "is_strong_EJR_approval"], [3, 1, 1, "", "is_strong_EJR_cardinal"]], "pabutools.analysis.mesanalytics": [[3, 2, 1, "", "ProjectLoss"], [3, 1, 1, "", "calculate_effective_support"], [3, 1, 1, "", "calculate_effective_supports"], [3, 1, 1, "", "calculate_project_loss"]], "pabutools.analysis.mesanalytics.ProjectLoss": [[3, 3, 1, "", "budget_lost"], [3, 3, 1, "", "supporters_budget"], [3, 4, 1, "", "total_budget_lost"]], "pabutools.analysis.profileproperties": [[3, 1, 1, "", "avg_approval_score"], [3, 1, 1, "", "avg_ballot_cost"], [3, 1, 1, "", "avg_ballot_length"], [3, 1, 1, "", "avg_total_score"], [3, 1, 1, "", "median_approval_score"], [3, 1, 1, "", "median_ballot_cost"], [3, 1, 1, "", "median_ballot_length"], [3, 1, 1, "", "median_total_score"], [3, 1, 1, "", "voter_flow_matrix"], [3, 1, 1, "", "votes_count_by_project"]], "pabutools.analysis.votersatisfaction": [[3, 1, 1, "", "avg_satisfaction"], [3, 1, 1, "", "gini_coefficient_of_satisfaction"], [3, 1, 1, "", "percent_non_empty_handed"], [3, 1, 1, "", "percent_positive_satisfaction"], [3, 1, 1, "", "satisfaction_histogram"]], "pabutools.election": [[4, 0, 0, "-", "ballot"], [6, 0, 0, "-", "instance"], [8, 0, 0, "-", "profile"], [9, 0, 0, "-", "satisfaction"]], "pabutools.election.ballot.approvalballot": [[4, 2, 1, "", "AbstractApprovalBallot"], [4, 2, 1, "", "ApprovalBallot"], [4, 2, 1, "", "FrozenApprovalBallot"], [4, 1, 1, "", "get_random_approval_ballot"]], "pabutools.election.ballot.approvalballot.ApprovalBallot": [[4, 4, 1, "", "copy"], [4, 4, 1, "", "difference"], [4, 4, 1, "", "difference_update"], [4, 4, 1, "", "frozen"], [4, 4, 1, "", "intersection"], [4, 4, 1, "", "intersection_update"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "symmetric_difference"], [4, 4, 1, "", "symmetric_difference_update"], [4, 4, 1, "", "union"]], "pabutools.election.ballot.approvalballot.FrozenApprovalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot": [[4, 2, 1, "", "AbstractBallot"], [4, 2, 1, "", "Ballot"], [4, 2, 1, "", "FrozenBallot"]], "pabutools.election.ballot.ballot.AbstractBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot.Ballot": [[4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ballot.FrozenBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cardinalballot": [[4, 2, 1, "", "AbstractCardinalBallot"], [4, 2, 1, "", "CardinalBallot"], [4, 2, 1, "", "FrozenCardinalBallot"]], "pabutools.election.ballot.cardinalballot.CardinalBallot": [[4, 4, 1, "", "complete"], [4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cardinalballot.FrozenCardinalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cumulativeballot": [[4, 2, 1, "", "AbstractCumulativeBallot"], [4, 2, 1, "", "CumulativeBallot"], [4, 2, 1, "", "FrozenCumulativeBallot"]], "pabutools.election.ballot.cumulativeballot.CumulativeBallot": [[4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.cumulativeballot.FrozenCumulativeBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"]], "pabutools.election.ballot.ordinalballot": [[4, 2, 1, "", "AbstractOrdinalBallot"], [4, 2, 1, "", "FrozenOrdinalBallot"], [4, 2, 1, "", "OrdinalBallot"]], "pabutools.election.ballot.ordinalballot.AbstractOrdinalBallot": [[4, 4, 1, "", "position"]], "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot": [[4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "position"]], "pabutools.election.ballot.ordinalballot.OrdinalBallot": [[4, 4, 1, "", "append"], [4, 4, 1, "", "at_index"], [4, 4, 1, "", "copy"], [4, 4, 1, "", "frozen"], [4, 4, 1, "", "index"], [4, 3, 1, "", "meta"], [4, 3, 1, "", "name"], [4, 4, 1, "", "position"]], "pabutools.election.instance": [[6, 2, 1, "", "Instance"], [6, 2, 1, "", "Project"], [6, 1, 1, "", "get_random_instance"], [6, 1, 1, "", "max_budget_allocation_cardinality"], [6, 1, 1, "", "max_budget_allocation_cost"], [6, 1, 1, "", "total_cost"]], "pabutools.election.instance.Instance": [[6, 4, 1, "", "budget_allocations"], [6, 3, 1, "", "budget_limit"], [6, 3, 1, "", "categories"], [6, 4, 1, "", "copy"], [6, 4, 1, "", "difference"], [6, 4, 1, "", "difference_update"], [6, 3, 1, "", "file_name"], [6, 3, 1, "", "file_path"], [6, 4, 1, "", "get_project"], [6, 4, 1, "", "intersection"], [6, 4, 1, "", "intersection_update"], [6, 4, 1, "", "is_exhaustive"], [6, 4, 1, "", "is_feasible"], [6, 4, 1, "", "is_trivial"], [6, 3, 1, "", "meta"], [6, 3, 1, "", "parsing_errors"], [6, 3, 1, "", "project_meta"], [6, 4, 1, "", "symmetric_difference"], [6, 4, 1, "", "symmetric_difference_update"], [6, 3, 1, "", "targets"], [6, 4, 1, "", "union"]], "pabutools.election.instance.Project": [[6, 3, 1, "", "categories"], [6, 3, 1, "", "cost"], [6, 3, 1, "", "name"], [6, 3, 1, "", "targets"]], "pabutools.election.pabulib": [[7, 1, 1, "", "election_as_pabulib_string"], [7, 1, 1, "", "parse_pabulib"], [7, 1, 1, "", "write_pabulib"]], "pabutools.election.preflib": [[7, 1, 1, "", "approval_to_preflib"], [7, 1, 1, "", "cardinal_to_preflib"], [7, 1, 1, "", "init_preflib_instance"], [7, 1, 1, "", "ordinal_to_preflib"]], "pabutools.election.profile.approvalprofile": [[8, 2, 1, "", "AbstractApprovalProfile"], [8, 2, 1, "", "ApprovalMultiProfile"], [8, 2, 1, "", "ApprovalProfile"], [8, 1, 1, "", "get_all_approval_profiles"], [8, 1, 1, "", "get_random_approval_profile"]], "pabutools.election.profile.approvalprofile.AbstractApprovalProfile": [[8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"]], "pabutools.election.profile.approvalprofile.ApprovalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.approvalprofile.ApprovalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "approval_score"], [8, 4, 1, "", "approved_projects"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "is_party_list"], [8, 4, 1, "", "is_trivial"], [8, 3, 1, "", "legal_max_cost"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_cost"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.cardinalprofile": [[8, 2, 1, "", "AbstractCardinalProfile"], [8, 2, 1, "", "CardinalMultiProfile"], [8, 2, 1, "", "CardinalProfile"]], "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "total_score"]], "pabutools.election.profile.cardinalprofile.CardinalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "score"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.cardinalprofile.CardinalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "complete"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.cumulativeprofile": [[8, 2, 1, "", "AbstractCumulativeProfile"], [8, 2, 1, "", "CumulativeMultiProfile"], [8, 2, 1, "", "CumulativeProfile"]], "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"]], "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "score"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.cumulativeprofile.CumulativeProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "complete"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_max_score"], [8, 3, 1, "", "legal_max_total_score"], [8, 3, 1, "", "legal_min_length"], [8, 3, 1, "", "legal_min_score"], [8, 3, 1, "", "legal_min_total_score"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "total_score"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.ordinalprofile": [[8, 2, 1, "", "AbstractOrdinalProfile"], [8, 2, 1, "", "OrdinalMultiProfile"], [8, 2, 1, "", "OrdinalProfile"]], "pabutools.election.profile.ordinalprofile.AbstractOrdinalProfile": [[8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"]], "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "elements"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "fromkeys"], [8, 4, 1, "", "get"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "items"], [8, 4, 1, "", "keys"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "most_common"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "popitem"], [8, 4, 1, "", "setdefault"], [8, 4, 1, "", "subtract"], [8, 4, 1, "", "total"], [8, 4, 1, "", "update"], [8, 4, 1, "", "validate_ballot"], [8, 4, 1, "", "values"]], "pabutools.election.profile.ordinalprofile.OrdinalProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "clear"], [8, 4, 1, "", "copy"], [8, 4, 1, "", "count"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "index"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 3, 1, "", "legal_max_length"], [8, 3, 1, "", "legal_min_length"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "pop"], [8, 4, 1, "", "remove"], [8, 4, 1, "", "reverse"], [8, 4, 1, "", "sort"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.profile": [[8, 2, 1, "", "AbstractProfile"], [8, 2, 1, "", "MultiProfile"], [8, 2, 1, "", "Profile"]], "pabutools.election.profile.profile.AbstractProfile": [[8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "validate_ballot"]], "pabutools.election.profile.profile.MultiProfile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "extend"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"], [8, 4, 1, "", "total"]], "pabutools.election.profile.profile.Profile": [[8, 4, 1, "", "append"], [8, 4, 1, "", "as_multiprofile"], [8, 4, 1, "", "as_sat_profile"], [8, 3, 1, "", "ballot_type"], [8, 3, 1, "", "ballot_validation"], [8, 4, 1, "", "extend"], [8, 4, 1, "", "insert"], [8, 3, 1, "", "instance"], [8, 4, 1, "", "multiplicity"], [8, 4, 1, "", "num_ballots"]], "pabutools.election.satisfaction.additivesatisfaction": [[9, 2, 1, "", "AdditiveSatisfaction"], [9, 2, 1, "", "Additive_Cardinal_Relative_Sat"], [9, 2, 1, "", "Additive_Cardinal_Sat"], [9, 2, 1, "", "Additive_Cost_Log_Sat"], [9, 2, 1, "", "Additive_Cost_Sqrt_Sat"], [9, 2, 1, "", "Cardinality_Sat"], [9, 2, 1, "", "Cost_Sat"], [9, 2, 1, "", "Effort_Sat"], [9, 2, 1, "", "Relative_Cardinality_Sat"], [9, 2, 1, "", "Relative_Cost_Approx_Normaliser_Sat"], [9, 2, 1, "", "Relative_Cost_Sat"]], "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "func"], [9, 4, 1, "", "get_project_sat"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "precomputed_values"], [9, 4, 1, "", "preprocessing"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat": [[9, 4, 1, "", "get_project_sat"], [9, 4, 1, "", "preprocessing"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction": [[9, 2, 1, "", "CC_Sat"], [9, 2, 1, "", "Cost_Log_Sat"], [9, 2, 1, "", "Cost_Sqrt_Sat"], [9, 2, 1, "", "FunctionalSatisfaction"]], "pabutools.election.satisfaction.functionalsatisfaction.CC_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.Cost_Log_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.Cost_Sqrt_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "func"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.positionalsatisfaction": [[9, 2, 1, "", "Additive_Borda_Sat"], [9, 2, 1, "", "PositionalSatisfaction"]], "pabutools.election.satisfaction.positionalsatisfaction.Additive_Borda_Sat": [[9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction": [[9, 3, 1, "", "aggregation_func"], [9, 3, 1, "", "ballot"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "positional_func"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.satisfactionmeasure": [[9, 2, 1, "", "GroupSatisfactionMeasure"], [9, 2, 1, "", "SatisfactionMeasure"]], "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure": [[9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "remove_satisfied"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"]], "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure": [[9, 3, 1, "", "ballot"], [9, 3, 1, "", "instance"], [9, 3, 1, "", "profile"], [9, 4, 1, "", "sat"], [9, 4, 1, "", "sat_project"]], "pabutools.election.satisfaction.satisfactionprofile": [[9, 2, 1, "", "SatisfactionMultiProfile"], [9, 2, 1, "", "SatisfactionProfile"]], "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile": [[9, 4, 1, "", "append"], [9, 4, 1, "", "clear"], [9, 4, 1, "", "copy"], [9, 4, 1, "", "elements"], [9, 4, 1, "", "extend_from_multiprofile"], [9, 4, 1, "", "extend_from_profile"], [9, 4, 1, "", "fromkeys"], [9, 4, 1, "", "get"], [9, 3, 1, "", "instance"], [9, 4, 1, "", "items"], [9, 4, 1, "", "keys"], [9, 4, 1, "", "most_common"], [9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "pop"], [9, 4, 1, "", "popitem"], [9, 4, 1, "", "remove_satisfied"], [9, 3, 1, "", "sat_class"], [9, 4, 1, "", "setdefault"], [9, 4, 1, "", "subtract"], [9, 4, 1, "", "total"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"], [9, 4, 1, "", "update"], [9, 4, 1, "", "values"]], "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile": [[9, 4, 1, "", "append"], [9, 4, 1, "", "clear"], [9, 4, 1, "", "copy"], [9, 4, 1, "", "count"], [9, 4, 1, "", "extend"], [9, 4, 1, "", "extend_from_profile"], [9, 4, 1, "", "index"], [9, 4, 1, "", "insert"], [9, 3, 1, "", "instance"], [9, 4, 1, "", "multiplicity"], [9, 4, 1, "", "pop"], [9, 4, 1, "", "remove"], [9, 4, 1, "", "remove_satisfied"], [9, 4, 1, "", "reverse"], [9, 3, 1, "", "sat_class"], [9, 4, 1, "", "sort"], [9, 4, 1, "", "total_satisfaction"], [9, 4, 1, "", "total_satisfaction_project"]], "pabutools.fractions": [[10, 5, 1, "", "FLOAT_FRAC"], [10, 5, 1, "", "FRACTION"], [10, 5, 1, "", "GMPY_FRAC"], [10, 1, 1, "", "frac"], [10, 1, 1, "", "str_as_frac"]], "pabutools.rules.budgetallocation": [[12, 2, 1, "", "AllocationDetails"], [12, 2, 1, "", "BudgetAllocation"]], "pabutools.rules.budgetallocation.BudgetAllocation": [[12, 3, 1, "", "details"]], "pabutools.rules.composition": [[12, 1, 1, "", "popularity_comparison"], [12, 1, 1, "", "social_welfare_comparison"]], "pabutools.rules.cstv": [[12, 2, 1, "", "CSTV_Combination"], [12, 1, 1, "", "cstv"]], "pabutools.rules.cstv.CSTV_Combination": [[12, 3, 1, "", "EWT"], [12, 3, 1, "", "EWTC"], [12, 3, 1, "", "MT"], [12, 3, 1, "", "MTC"]], "pabutools.rules.exhaustion": [[12, 1, 1, "", "completion_by_rule_combination"], [12, 1, 1, "", "exhaustion_by_budget_increase"]], "pabutools.rules.greedywelfare": [[12, 2, 1, "", "GreedyWelfareAllocationDetails"], [12, 1, 1, "", "greedy_utilitarian_welfare"]], "pabutools.rules.maxwelfare": [[12, 6, 1, "", "MaxAddUtilWelfareAlgo"], [12, 1, 1, "", "max_additive_utilitarian_welfare"]], "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo": [[12, 3, 1, "", "ILP_SOLVER"], [12, 3, 1, "", "PRIMAL_DUAL"]], "pabutools.rules.mes": [[12, 2, 1, "", "MESAllocationDetails"], [12, 2, 1, "", "MESIteration"], [12, 1, 1, "", "method_of_equal_shares"]], "pabutools.rules.mes.MESAllocationDetails": [[12, 3, 1, "", "iterations"]], "pabutools.rules.mes.MESIteration": [[12, 3, 1, "", "selected_project"], [12, 3, 1, "", "voters_budget"], [12, 3, 1, "", "voters_budget_after_selection"]], "pabutools.rules.phragmen": [[12, 1, 1, "", "sequential_phragmen"]], "pabutools.tiebreaking": [[13, 7, 1, "", "TieBreakingException"], [13, 2, 1, "", "TieBreakingRule"], [13, 5, 1, "", "app_score_tie_breaking"], [13, 5, 1, "", "lexico_tie_breaking"], [13, 5, 1, "", "max_cost_tie_breaking"], [13, 5, 1, "", "min_cost_tie_breaking"], [13, 5, 1, "", "refuse_tie_breaking"]], "pabutools.tiebreaking.TieBreakingRule": [[13, 3, 1, "", "func"], [13, 4, 1, "", "order"], [13, 4, 1, "", "untie"]], "pabutools.utils": [[14, 6, 1, "", "DocEnum"], [14, 5, 1, "", "Numeric"], [14, 1, 1, "", "gini_coefficient"], [14, 1, 1, "", "mean_generator"], [14, 1, 1, "", "powerset"], [14, 1, 1, "", "round_cmp"]], "pabutools.visualisation": [[15, 2, 1, "", "GreedyWelfareVisualiser"], [15, 2, 1, "", "MESVisualiser"], [15, 2, 1, "", "Visualiser"]], "pabutools.visualisation.GreedyWelfareVisualiser": [[15, 4, 1, "", "render"]], "pabutools.visualisation.MESVisualiser": [[15, 4, 1, "", "render"]]}, "objtypes": {"0": "py:module", "1": "py:function", "2": "py:class", "3": "py:attribute", "4": "py:method", "5": "py:data", "6": "py:enum", "7": "py:exception"}, "objnames": {"0": ["py", "module", "Python module"], "1": ["py", "function", "Python function"], "2": ["py", "class", "Python class"], "3": ["py", "attribute", "Python attribute"], "4": ["py", "method", "Python method"], "5": ["py", "data", "Python data"], "6": ["py", "enum", "Python enum"], "7": ["py", "exception", "Python exception"]}, "titleterms": {"pabutool": 0, "pb": 0, "easi": 0, "abc": 0, "instal": 1, "quick": 2, "start": 2, "describ": 2, "an": 2, "elect": [2, 5], "project": [2, 3], "instanc": [2, 6, 19], "ballot": [2, 4], "profil": [2, 8, 22], "comput": 2, "outcom": [2, 21], "analysi": [3, 16], "modul": [3, 4, 5, 6, 8, 9, 12, 15], "basic": 3, "properti": 3, "voter": 3, "satisfact": [3, 9, 24], "categori": 3, "justifi": [3, 16], "represent": [3, 16], "axiom": 3, "specif": 3, "method": [3, 12, 21, 23], "equal": [3, 12, 21, 23], "share": [3, 12, 21, 23], "prefer": [7, 20], "librari": [7, 20], "fraction": [10, 17], "refer": 11, "rule": [12, 23], "budget": [12, 23], "alloc": [12, 23], "greedi": [12, 21, 23], "utilitarian": [12, 21, 23], "addit": [12, 23, 24], "welfar": [12, 21, 23], "maximis": [12, 23], "sequenti": [12, 23], "phragm\u00e9n": [12, 23], "": [12, 23], "me": [12, 23], "cumul": [12, 22, 23], "support": [12, 23], "transfer": [12, 23], "vote": [12, 23], "exhaust": [12, 23], "composit": [12, 23], "tie": [13, 25], "break": [13, 25], "util": 14, "visualis": [15, 21], "priceabl": 16, "complet": 18, "guid": 18, "pabulib": 20, "preflib": 20, "approv": 22, "cardin": 22, "ordin": 22, "multiprofil": 22, "approxim": 23, "detail": 23, "measur": 24, "default": 24, "function": 24, "posit": 24}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.viewcode": 1, "sphinx": 60}, "alltitles": {"Pabutools: PB as easy as ABC": [[0, "pabutools-pb-as-easy-as-abc"]], "Installation": [[1, "installation"]], "Quick Start": [[2, "quick-start"]], "Describing an Election": [[2, "describing-an-election"]], "Projects and Instances": [[2, "projects-and-instances"]], "Ballots and Profiles": [[2, "ballots-and-profiles"]], "Computing the Outcome of an Election": [[2, "computing-the-outcome-of-an-election"]], "Analysis module": [[3, "module-pabutools.analysis"]], "Basic Properties": [[3, "module-pabutools.analysis.instanceproperties"]], "Voters\u2019 Satisfaction Properties": [[3, "module-pabutools.analysis.votersatisfaction"]], "Projects\u2019 Categories Properties": [[3, "module-pabutools.analysis.category"]], "Justified Representation Axioms": [[3, "module-pabutools.analysis.justifiedrepresentation"]], "Properties Specific to the Method of Equal Shares": [[3, "module-pabutools.analysis.mesanalytics"]], "Ballot module": [[4, "module-pabutools.election.ballot"]], "Election module": [[5, "election-module"]], "Instance module": [[6, "module-pabutools.election.instance"]], "Preference Libraries": [[7, "preference-libraries"], [20, "preference-libraries"]], "Profile module": [[8, "module-pabutools.election.profile"]], "Satisfaction module": [[9, "module-pabutools.election.satisfaction"]], "Fractions": [[10, "module-pabutools.fractions"], [17, "fractions"]], "Reference": [[11, "reference"]], "Rules module": [[12, "module-pabutools.rules"]], "Budget Allocation": [[12, "budget-allocation"], [23, "budget-allocation"]], "Greedy Utilitarian Rule": [[12, "greedy-utilitarian-rule"]], "Additive Utilitarian Welfare Maximiser": [[12, "additive-utilitarian-welfare-maximiser"], [23, "additive-utilitarian-welfare-maximiser"]], "Sequential Phragm\u00e9n\u2019s Rule": [[12, "sequential-phragmen-s-rule"], [23, "sequential-phragmen-s-rule"]], "Method of Equal Shares (MES)": [[12, "method-of-equal-shares-mes"], [23, "method-of-equal-shares-mes"]], "Cumulative Support Transfer Voting Rule": [[12, "cumulative-support-transfer-voting-rule"], [23, "cumulative-support-transfer-voting-rule"]], "Exhaustion Methods": [[12, "exhaustion-methods"], [23, "exhaustion-methods"]], "Rule Composition": [[12, "rule-composition"], [23, "rule-composition"]], "Tie-Breaking": [[13, "module-pabutools.tiebreaking"], [25, "tie-breaking"]], "Utils": [[14, "module-pabutools.utils"]], "Visualisation Module": [[15, "module-pabutools.visualisation"]], "Analysis": [[16, "analysis"]], "Justified Representation": [[16, "justified-representation"]], "Priceability": [[16, "priceability"]], "Complete Guide": [[18, "complete-guide"]], "Instances": [[19, "instances"]], "PaBuLib": [[20, "pabulib"]], "PrefLib": [[20, "preflib"]], "Outcome Visualisation": [[21, "outcome-visualisation"]], "Greedy Utilitarian Welfare": [[21, "greedy-utilitarian-welfare"]], "Method of Equal Shares": [[21, "method-of-equal-shares"]], "Profiles": [[22, "profiles"]], "Approval Profiles": [[22, "approval-profiles"]], "Cardinal Profiles": [[22, "cardinal-profiles"]], "Cumulative Profiles": [[22, "cumulative-profiles"]], "Ordinal Profiles": [[22, "ordinal-profiles"]], "Multiprofile": [[22, "multiprofile"]], "Rules": [[23, "rules"]], "Greedy Approximation of the Welfare Maximiser": [[23, "greedy-approximation-of-the-welfare-maximiser"]], "Details for the Budget Allocation Rule": [[23, "details-for-the-budget-allocation-rule"]], "Satisfaction Measures": [[24, "satisfaction-measures"]], "Default Satisfaction Functions": [[24, "default-satisfaction-functions"]], "Functional Satisfaction Functions": [[24, "functional-satisfaction-functions"]], "Additive Satisfaction Functions": [[24, "additive-satisfaction-functions"]], "Positional Satisfaction Functions": [[24, "positional-satisfaction-functions"]]}, "indexentries": {"projectloss (class in pabutools.analysis.mesanalytics)": [[3, "pabutools.analysis.mesanalytics.ProjectLoss"]], "avg_approval_score() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.avg_approval_score"]], "avg_ballot_cost() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.avg_ballot_cost"]], "avg_ballot_length() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.avg_ballot_length"]], "avg_project_cost() (in module pabutools.analysis.instanceproperties)": [[3, "pabutools.analysis.instanceproperties.avg_project_cost"]], "avg_satisfaction() (in module pabutools.analysis.votersatisfaction)": [[3, "pabutools.analysis.votersatisfaction.avg_satisfaction"]], "avg_total_score() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.avg_total_score"]], "budget_lost (projectloss attribute)": [[3, "pabutools.analysis.mesanalytics.ProjectLoss.budget_lost"]], "calculate_effective_support() (in module pabutools.analysis.mesanalytics)": [[3, "pabutools.analysis.mesanalytics.calculate_effective_support"]], "calculate_effective_supports() (in module pabutools.analysis.mesanalytics)": [[3, "pabutools.analysis.mesanalytics.calculate_effective_supports"]], "calculate_project_loss() (in module pabutools.analysis.mesanalytics)": [[3, "pabutools.analysis.mesanalytics.calculate_project_loss"]], "category_proportionality() (in module pabutools.analysis.category)": [[3, "pabutools.analysis.category.category_proportionality"]], "funding_scarcity() (in module pabutools.analysis.instanceproperties)": [[3, "pabutools.analysis.instanceproperties.funding_scarcity"]], "gini_coefficient_of_satisfaction() (in module pabutools.analysis.votersatisfaction)": [[3, "pabutools.analysis.votersatisfaction.gini_coefficient_of_satisfaction"]], "is_ejr_any_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_any_approval"]], "is_ejr_any_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_any_cardinal"]], "is_ejr_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_approval"]], "is_ejr_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_cardinal"]], "is_ejr_one_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_one_approval"]], "is_ejr_one_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_EJR_one_cardinal"]], "is_pjr_any_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_any_approval"]], "is_pjr_any_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_any_cardinal"]], "is_pjr_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_approval"]], "is_pjr_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_cardinal"]], "is_pjr_one_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_one_approval"]], "is_pjr_one_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_PJR_one_cardinal"]], "is_in_core() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_in_core"]], "is_strong_ejr_approval() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_strong_EJR_approval"]], "is_strong_ejr_cardinal() (in module pabutools.analysis.justifiedrepresentation)": [[3, "pabutools.analysis.justifiedrepresentation.is_strong_EJR_cardinal"]], "median_approval_score() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.median_approval_score"]], "median_ballot_cost() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.median_ballot_cost"]], "median_ballot_length() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.median_ballot_length"]], "median_project_cost() (in module pabutools.analysis.instanceproperties)": [[3, "pabutools.analysis.instanceproperties.median_project_cost"]], "median_total_score() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.median_total_score"]], "module": [[3, "module-pabutools.analysis"], [3, "module-pabutools.analysis.category"], [3, "module-pabutools.analysis.instanceproperties"], [3, "module-pabutools.analysis.justifiedrepresentation"], [3, "module-pabutools.analysis.mesanalytics"], [3, "module-pabutools.analysis.profileproperties"], [3, "module-pabutools.analysis.votersatisfaction"], [4, "module-pabutools.election.ballot"], [5, "module-pabutools.election"], [6, "module-pabutools.election.instance"], [8, "module-pabutools.election.profile"], [9, "module-pabutools.election.satisfaction"], [10, "module-pabutools.fractions"], [12, "module-pabutools.rules"], [13, "module-pabutools.tiebreaking"], [14, "module-pabutools.utils"], [15, "module-pabutools.visualisation"]], "pabutools.analysis": [[3, "module-pabutools.analysis"]], "pabutools.analysis.category": [[3, "module-pabutools.analysis.category"]], "pabutools.analysis.instanceproperties": [[3, "module-pabutools.analysis.instanceproperties"]], "pabutools.analysis.justifiedrepresentation": [[3, "module-pabutools.analysis.justifiedrepresentation"]], "pabutools.analysis.mesanalytics": [[3, "module-pabutools.analysis.mesanalytics"]], "pabutools.analysis.profileproperties": [[3, "module-pabutools.analysis.profileproperties"]], "pabutools.analysis.votersatisfaction": [[3, "module-pabutools.analysis.votersatisfaction"]], "percent_non_empty_handed() (in module pabutools.analysis.votersatisfaction)": [[3, "pabutools.analysis.votersatisfaction.percent_non_empty_handed"]], "percent_positive_satisfaction() (in module pabutools.analysis.votersatisfaction)": [[3, "pabutools.analysis.votersatisfaction.percent_positive_satisfaction"]], "satisfaction_histogram() (in module pabutools.analysis.votersatisfaction)": [[3, "pabutools.analysis.votersatisfaction.satisfaction_histogram"]], "std_dev_project_cost() (in module pabutools.analysis.instanceproperties)": [[3, "pabutools.analysis.instanceproperties.std_dev_project_cost"]], "sum_project_cost() (in module pabutools.analysis.instanceproperties)": [[3, "pabutools.analysis.instanceproperties.sum_project_cost"]], "supporters_budget (projectloss attribute)": [[3, "pabutools.analysis.mesanalytics.ProjectLoss.supporters_budget"]], "total_budget_lost() (projectloss method)": [[3, "pabutools.analysis.mesanalytics.ProjectLoss.total_budget_lost"]], "voter_flow_matrix() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.voter_flow_matrix"]], "votes_count_by_project() (in module pabutools.analysis.profileproperties)": [[3, "pabutools.analysis.profileproperties.votes_count_by_project"]], "abstractapprovalballot (class in pabutools.election.ballot.approvalballot)": [[4, "pabutools.election.ballot.approvalballot.AbstractApprovalBallot"]], "abstractballot (class in pabutools.election.ballot.ballot)": [[4, "pabutools.election.ballot.ballot.AbstractBallot"]], "abstractcardinalballot (class in pabutools.election.ballot.cardinalballot)": [[4, "pabutools.election.ballot.cardinalballot.AbstractCardinalBallot"]], "abstractcumulativeballot (class in pabutools.election.ballot.cumulativeballot)": [[4, "pabutools.election.ballot.cumulativeballot.AbstractCumulativeBallot"]], "abstractordinalballot (class in pabutools.election.ballot.ordinalballot)": [[4, "pabutools.election.ballot.ordinalballot.AbstractOrdinalBallot"]], "approvalballot (class in pabutools.election.ballot.approvalballot)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot"]], "ballot (class in pabutools.election.ballot.ballot)": [[4, "pabutools.election.ballot.ballot.Ballot"]], "cardinalballot (class in pabutools.election.ballot.cardinalballot)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot"]], "cumulativeballot (class in pabutools.election.ballot.cumulativeballot)": [[4, "pabutools.election.ballot.cumulativeballot.CumulativeBallot"]], "frozenapprovalballot (class in pabutools.election.ballot.approvalballot)": [[4, "pabutools.election.ballot.approvalballot.FrozenApprovalBallot"]], "frozenballot (class in pabutools.election.ballot.ballot)": [[4, "pabutools.election.ballot.ballot.FrozenBallot"]], "frozencardinalballot (class in pabutools.election.ballot.cardinalballot)": [[4, "pabutools.election.ballot.cardinalballot.FrozenCardinalBallot"]], "frozencumulativeballot (class in pabutools.election.ballot.cumulativeballot)": [[4, "pabutools.election.ballot.cumulativeballot.FrozenCumulativeBallot"]], "frozenordinalballot (class in pabutools.election.ballot.ordinalballot)": [[4, "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot"]], "ordinalballot (class in pabutools.election.ballot.ordinalballot)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot"]], "append() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.append"]], "at_index() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.at_index"]], "complete() (cardinalballot method)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot.complete"]], "copy() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.copy"]], "copy() (cardinalballot method)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot.copy"]], "copy() (cumulativeballot method)": [[4, "pabutools.election.ballot.cumulativeballot.CumulativeBallot.copy"]], "copy() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.copy"]], "difference() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.difference"]], "difference_update() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.difference_update"]], "frozen() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.frozen"]], "frozen() (ballot method)": [[4, "pabutools.election.ballot.ballot.Ballot.frozen"]], "frozen() (cardinalballot method)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot.frozen"]], "frozen() (cumulativeballot method)": [[4, "pabutools.election.ballot.cumulativeballot.CumulativeBallot.frozen"]], "frozen() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.frozen"]], "get_random_approval_ballot() (in module pabutools.election.ballot.approvalballot)": [[4, "pabutools.election.ballot.approvalballot.get_random_approval_ballot"]], "index() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.index"]], "intersection() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.intersection"]], "intersection_update() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.intersection_update"]], "meta (abstractballot attribute)": [[4, "pabutools.election.ballot.ballot.AbstractBallot.meta"]], "meta (approvalballot attribute)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.meta"]], "meta (ballot attribute)": [[4, "pabutools.election.ballot.ballot.Ballot.meta"]], "meta (cardinalballot attribute)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot.meta"]], "meta (cumulativeballot attribute)": [[4, "pabutools.election.ballot.cumulativeballot.CumulativeBallot.meta"]], "meta (frozenapprovalballot attribute)": [[4, "pabutools.election.ballot.approvalballot.FrozenApprovalBallot.meta"]], "meta (frozenballot attribute)": [[4, "pabutools.election.ballot.ballot.FrozenBallot.meta"]], "meta (frozencardinalballot attribute)": [[4, "pabutools.election.ballot.cardinalballot.FrozenCardinalBallot.meta"]], "meta (frozencumulativeballot attribute)": [[4, "pabutools.election.ballot.cumulativeballot.FrozenCumulativeBallot.meta"]], "meta (frozenordinalballot attribute)": [[4, "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot.meta"]], "meta (ordinalballot attribute)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.meta"]], "name (abstractballot attribute)": [[4, "pabutools.election.ballot.ballot.AbstractBallot.name"]], "name (approvalballot attribute)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.name"]], "name (ballot attribute)": [[4, "pabutools.election.ballot.ballot.Ballot.name"]], "name (cardinalballot attribute)": [[4, "pabutools.election.ballot.cardinalballot.CardinalBallot.name"]], "name (cumulativeballot attribute)": [[4, "pabutools.election.ballot.cumulativeballot.CumulativeBallot.name"]], "name (frozenapprovalballot attribute)": [[4, "pabutools.election.ballot.approvalballot.FrozenApprovalBallot.name"]], "name (frozenballot attribute)": [[4, "pabutools.election.ballot.ballot.FrozenBallot.name"]], "name (frozencardinalballot attribute)": [[4, "pabutools.election.ballot.cardinalballot.FrozenCardinalBallot.name"]], "name (frozencumulativeballot attribute)": [[4, "pabutools.election.ballot.cumulativeballot.FrozenCumulativeBallot.name"]], "name (frozenordinalballot attribute)": [[4, "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot.name"]], "name (ordinalballot attribute)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.name"]], "pabutools.election.ballot": [[4, "module-pabutools.election.ballot"]], "position() (abstractordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.AbstractOrdinalBallot.position"]], "position() (frozenordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.FrozenOrdinalBallot.position"]], "position() (ordinalballot method)": [[4, "pabutools.election.ballot.ordinalballot.OrdinalBallot.position"]], "symmetric_difference() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.symmetric_difference"]], "symmetric_difference_update() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.symmetric_difference_update"]], "union() (approvalballot method)": [[4, "pabutools.election.ballot.approvalballot.ApprovalBallot.union"]], "pabutools.election": [[5, "module-pabutools.election"]], "instance (class in pabutools.election.instance)": [[6, "pabutools.election.instance.Instance"]], "project (class in pabutools.election.instance)": [[6, "pabutools.election.instance.Project"]], "budget_allocations() (instance method)": [[6, "pabutools.election.instance.Instance.budget_allocations"]], "budget_limit (instance attribute)": [[6, "pabutools.election.instance.Instance.budget_limit"]], "categories (instance attribute)": [[6, "pabutools.election.instance.Instance.categories"]], "categories (project attribute)": [[6, "pabutools.election.instance.Project.categories"]], "copy() (instance method)": [[6, "pabutools.election.instance.Instance.copy"]], "cost (project attribute)": [[6, "pabutools.election.instance.Project.cost"]], "difference() (instance method)": [[6, "pabutools.election.instance.Instance.difference"]], "difference_update() (instance method)": [[6, "pabutools.election.instance.Instance.difference_update"]], "file_name (instance attribute)": [[6, "pabutools.election.instance.Instance.file_name"]], "file_path (instance attribute)": [[6, "pabutools.election.instance.Instance.file_path"]], "get_project() (instance method)": [[6, "pabutools.election.instance.Instance.get_project"]], "get_random_instance() (in module pabutools.election.instance)": [[6, "pabutools.election.instance.get_random_instance"]], "intersection() (instance method)": [[6, "pabutools.election.instance.Instance.intersection"]], "intersection_update() (instance method)": [[6, "pabutools.election.instance.Instance.intersection_update"]], "is_exhaustive() (instance method)": [[6, "pabutools.election.instance.Instance.is_exhaustive"]], "is_feasible() (instance method)": [[6, "pabutools.election.instance.Instance.is_feasible"]], "is_trivial() (instance method)": [[6, "pabutools.election.instance.Instance.is_trivial"]], "max_budget_allocation_cardinality() (in module pabutools.election.instance)": [[6, "pabutools.election.instance.max_budget_allocation_cardinality"]], "max_budget_allocation_cost() (in module pabutools.election.instance)": [[6, "pabutools.election.instance.max_budget_allocation_cost"]], "meta (instance attribute)": [[6, "pabutools.election.instance.Instance.meta"]], "name (project attribute)": [[6, "pabutools.election.instance.Project.name"]], "pabutools.election.instance": [[6, "module-pabutools.election.instance"]], "parsing_errors (instance attribute)": [[6, "pabutools.election.instance.Instance.parsing_errors"]], "project_meta (instance attribute)": [[6, "pabutools.election.instance.Instance.project_meta"]], "symmetric_difference() (instance method)": [[6, "pabutools.election.instance.Instance.symmetric_difference"]], "symmetric_difference_update() (instance method)": [[6, "pabutools.election.instance.Instance.symmetric_difference_update"]], "targets (instance attribute)": [[6, "pabutools.election.instance.Instance.targets"]], "targets (project attribute)": [[6, "pabutools.election.instance.Project.targets"]], "total_cost() (in module pabutools.election.instance)": [[6, "pabutools.election.instance.total_cost"]], "union() (instance method)": [[6, "pabutools.election.instance.Instance.union"]], "approval_to_preflib() (in module pabutools.election.preflib)": [[7, "pabutools.election.preflib.approval_to_preflib"]], "cardinal_to_preflib() (in module pabutools.election.preflib)": [[7, "pabutools.election.preflib.cardinal_to_preflib"]], "election_as_pabulib_string() (in module pabutools.election.pabulib)": [[7, "pabutools.election.pabulib.election_as_pabulib_string"]], "init_preflib_instance() (in module pabutools.election.preflib)": [[7, "pabutools.election.preflib.init_preflib_instance"]], "ordinal_to_preflib() (in module pabutools.election.preflib)": [[7, "pabutools.election.preflib.ordinal_to_preflib"]], "parse_pabulib() (in module pabutools.election.pabulib)": [[7, "pabutools.election.pabulib.parse_pabulib"]], "write_pabulib() (in module pabutools.election.pabulib)": [[7, "pabutools.election.pabulib.write_pabulib"]], "abstractapprovalprofile (class in pabutools.election.profile.approvalprofile)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile"]], "abstractcardinalprofile (class in pabutools.election.profile.cardinalprofile)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile"]], "abstractcumulativeprofile (class in pabutools.election.profile.cumulativeprofile)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile"]], "abstractordinalprofile (class in pabutools.election.profile.ordinalprofile)": [[8, "pabutools.election.profile.ordinalprofile.AbstractOrdinalProfile"]], "abstractprofile (class in pabutools.election.profile.profile)": [[8, "pabutools.election.profile.profile.AbstractProfile"]], "approvalmultiprofile (class in pabutools.election.profile.approvalprofile)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile"]], "approvalprofile (class in pabutools.election.profile.approvalprofile)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile"]], "cardinalmultiprofile (class in pabutools.election.profile.cardinalprofile)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile"]], "cardinalprofile (class in pabutools.election.profile.cardinalprofile)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile"]], "cumulativemultiprofile (class in pabutools.election.profile.cumulativeprofile)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile"]], "cumulativeprofile (class in pabutools.election.profile.cumulativeprofile)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile"]], "multiprofile (class in pabutools.election.profile.profile)": [[8, "pabutools.election.profile.profile.MultiProfile"]], "ordinalmultiprofile (class in pabutools.election.profile.ordinalprofile)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile"]], "ordinalprofile (class in pabutools.election.profile.ordinalprofile)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile"]], "profile (class in pabutools.election.profile.profile)": [[8, "pabutools.election.profile.profile.Profile"]], "append() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.append"]], "append() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.append"]], "append() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.append"]], "append() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.append"]], "append() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.append"]], "append() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.append"]], "append() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.append"]], "append() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.append"]], "append() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.append"]], "append() (profile method)": [[8, "pabutools.election.profile.profile.Profile.append"]], "approval_score() (abstractapprovalprofile method)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.approval_score"]], "approval_score() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.approval_score"]], "approval_score() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.approval_score"]], "approved_projects() (abstractapprovalprofile method)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.approved_projects"]], "approved_projects() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.approved_projects"]], "approved_projects() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.approved_projects"]], "as_multiprofile() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.as_multiprofile"]], "as_multiprofile() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.as_multiprofile"]], "as_multiprofile() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.as_multiprofile"]], "as_multiprofile() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.as_multiprofile"]], "as_multiprofile() (profile method)": [[8, "pabutools.election.profile.profile.Profile.as_multiprofile"]], "as_sat_profile() (abstractprofile method)": [[8, "pabutools.election.profile.profile.AbstractProfile.as_sat_profile"]], "as_sat_profile() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.as_sat_profile"]], "as_sat_profile() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.as_sat_profile"]], "as_sat_profile() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.as_sat_profile"]], "as_sat_profile() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.as_sat_profile"]], "as_sat_profile() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.as_sat_profile"]], "as_sat_profile() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.as_sat_profile"]], "as_sat_profile() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.as_sat_profile"]], "as_sat_profile() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.as_sat_profile"]], "as_sat_profile() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.as_sat_profile"]], "as_sat_profile() (profile method)": [[8, "pabutools.election.profile.profile.Profile.as_sat_profile"]], "ballot_type (abstractprofile attribute)": [[8, "pabutools.election.profile.profile.AbstractProfile.ballot_type"]], "ballot_type (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.ballot_type"]], "ballot_type (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.ballot_type"]], "ballot_type (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.ballot_type"]], "ballot_type (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.ballot_type"]], "ballot_type (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.ballot_type"]], "ballot_type (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.ballot_type"]], "ballot_type (multiprofile attribute)": [[8, "pabutools.election.profile.profile.MultiProfile.ballot_type"]], "ballot_type (ordinalmultiprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.ballot_type"]], "ballot_type (ordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.ballot_type"]], "ballot_type (profile attribute)": [[8, "pabutools.election.profile.profile.Profile.ballot_type"]], "ballot_validation (abstractprofile attribute)": [[8, "pabutools.election.profile.profile.AbstractProfile.ballot_validation"]], "ballot_validation (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.ballot_validation"]], "ballot_validation (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.ballot_validation"]], "ballot_validation (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.ballot_validation"]], "ballot_validation (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.ballot_validation"]], "ballot_validation (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.ballot_validation"]], "ballot_validation (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.ballot_validation"]], "ballot_validation (multiprofile attribute)": [[8, "pabutools.election.profile.profile.MultiProfile.ballot_validation"]], "ballot_validation (ordinalmultiprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.ballot_validation"]], "ballot_validation (ordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.ballot_validation"]], "ballot_validation (profile attribute)": [[8, "pabutools.election.profile.profile.Profile.ballot_validation"]], "clear() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.clear"]], "clear() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.clear"]], "clear() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.clear"]], "clear() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.clear"]], "clear() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.clear"]], "clear() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.clear"]], "clear() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.clear"]], "clear() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.clear"]], "complete() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.complete"]], "complete() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.complete"]], "copy() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.copy"]], "copy() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.copy"]], "copy() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.copy"]], "copy() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.copy"]], "copy() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.copy"]], "copy() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.copy"]], "copy() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.copy"]], "copy() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.copy"]], "count() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.count"]], "count() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.count"]], "count() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.count"]], "count() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.count"]], "elements() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.elements"]], "elements() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.elements"]], "elements() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.elements"]], "elements() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.elements"]], "extend() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.extend"]], "extend() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.extend"]], "extend() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.extend"]], "extend() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.extend"]], "extend() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.extend"]], "extend() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.extend"]], "extend() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.extend"]], "extend() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.extend"]], "extend() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.extend"]], "extend() (profile method)": [[8, "pabutools.election.profile.profile.Profile.extend"]], "fromkeys() (approvalmultiprofile class method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.fromkeys"]], "fromkeys() (cardinalmultiprofile class method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.fromkeys"]], "fromkeys() (cumulativemultiprofile class method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.fromkeys"]], "fromkeys() (ordinalmultiprofile class method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.fromkeys"]], "get() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.get"]], "get() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.get"]], "get() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.get"]], "get() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.get"]], "get_all_approval_profiles() (in module pabutools.election.profile.approvalprofile)": [[8, "pabutools.election.profile.approvalprofile.get_all_approval_profiles"]], "get_random_approval_profile() (in module pabutools.election.profile.approvalprofile)": [[8, "pabutools.election.profile.approvalprofile.get_random_approval_profile"]], "index() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.index"]], "index() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.index"]], "index() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.index"]], "index() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.index"]], "insert() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.insert"]], "insert() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.insert"]], "insert() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.insert"]], "insert() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.insert"]], "insert() (profile method)": [[8, "pabutools.election.profile.profile.Profile.insert"]], "instance (abstractprofile attribute)": [[8, "pabutools.election.profile.profile.AbstractProfile.instance"]], "instance (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.instance"]], "instance (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.instance"]], "instance (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.instance"]], "instance (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.instance"]], "instance (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.instance"]], "instance (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.instance"]], "instance (multiprofile attribute)": [[8, "pabutools.election.profile.profile.MultiProfile.instance"]], "instance (ordinalmultiprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.instance"]], "instance (ordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.instance"]], "instance (profile attribute)": [[8, "pabutools.election.profile.profile.Profile.instance"]], "is_party_list() (abstractapprovalprofile method)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.is_party_list"]], "is_party_list() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.is_party_list"]], "is_party_list() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.is_party_list"]], "is_trivial() (abstractapprovalprofile method)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.is_trivial"]], "is_trivial() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.is_trivial"]], "is_trivial() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.is_trivial"]], "items() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.items"]], "items() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.items"]], "items() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.items"]], "items() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.items"]], "keys() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.keys"]], "keys() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.keys"]], "keys() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.keys"]], "keys() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.keys"]], "legal_max_cost (abstractapprovalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.legal_max_cost"]], "legal_max_cost (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.legal_max_cost"]], "legal_max_cost (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.legal_max_cost"]], "legal_max_length (abstractapprovalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.legal_max_length"]], "legal_max_length (abstractcardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile.legal_max_length"]], "legal_max_length (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_max_length"]], "legal_max_length (abstractordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.AbstractOrdinalProfile.legal_max_length"]], "legal_max_length (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.legal_max_length"]], "legal_max_length (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.legal_max_length"]], "legal_max_length (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.legal_max_length"]], "legal_max_length (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.legal_max_length"]], "legal_max_length (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_max_length"]], "legal_max_length (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_max_length"]], "legal_max_length (ordinalmultiprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.legal_max_length"]], "legal_max_length (ordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.legal_max_length"]], "legal_max_score (abstractcardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile.legal_max_score"]], "legal_max_score (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_max_score"]], "legal_max_score (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.legal_max_score"]], "legal_max_score (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.legal_max_score"]], "legal_max_score (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_max_score"]], "legal_max_score (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_max_score"]], "legal_max_total_score (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_max_total_score"]], "legal_max_total_score (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_max_total_score"]], "legal_max_total_score (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_max_total_score"]], "legal_min_cost (abstractapprovalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.legal_min_cost"]], "legal_min_cost (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.legal_min_cost"]], "legal_min_cost (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.legal_min_cost"]], "legal_min_length (abstractapprovalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.AbstractApprovalProfile.legal_min_length"]], "legal_min_length (abstractcardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile.legal_min_length"]], "legal_min_length (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_min_length"]], "legal_min_length (abstractordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.AbstractOrdinalProfile.legal_min_length"]], "legal_min_length (approvalmultiprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.legal_min_length"]], "legal_min_length (approvalprofile attribute)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.legal_min_length"]], "legal_min_length (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.legal_min_length"]], "legal_min_length (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.legal_min_length"]], "legal_min_length (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_min_length"]], "legal_min_length (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_min_length"]], "legal_min_length (ordinalmultiprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.legal_min_length"]], "legal_min_length (ordinalprofile attribute)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.legal_min_length"]], "legal_min_score (abstractcardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile.legal_min_score"]], "legal_min_score (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_min_score"]], "legal_min_score (cardinalmultiprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.legal_min_score"]], "legal_min_score (cardinalprofile attribute)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.legal_min_score"]], "legal_min_score (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_min_score"]], "legal_min_score (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_min_score"]], "legal_min_total_score (abstractcumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.AbstractCumulativeProfile.legal_min_total_score"]], "legal_min_total_score (cumulativemultiprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.legal_min_total_score"]], "legal_min_total_score (cumulativeprofile attribute)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.legal_min_total_score"]], "most_common() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.most_common"]], "most_common() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.most_common"]], "most_common() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.most_common"]], "most_common() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.most_common"]], "multiplicity() (abstractprofile method)": [[8, "pabutools.election.profile.profile.AbstractProfile.multiplicity"]], "multiplicity() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.multiplicity"]], "multiplicity() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.multiplicity"]], "multiplicity() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.multiplicity"]], "multiplicity() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.multiplicity"]], "multiplicity() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.multiplicity"]], "multiplicity() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.multiplicity"]], "multiplicity() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.multiplicity"]], "multiplicity() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.multiplicity"]], "multiplicity() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.multiplicity"]], "multiplicity() (profile method)": [[8, "pabutools.election.profile.profile.Profile.multiplicity"]], "num_ballots() (abstractprofile method)": [[8, "pabutools.election.profile.profile.AbstractProfile.num_ballots"]], "num_ballots() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.num_ballots"]], "num_ballots() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.num_ballots"]], "num_ballots() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.num_ballots"]], "num_ballots() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.num_ballots"]], "num_ballots() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.num_ballots"]], "num_ballots() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.num_ballots"]], "num_ballots() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.num_ballots"]], "num_ballots() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.num_ballots"]], "num_ballots() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.num_ballots"]], "num_ballots() (profile method)": [[8, "pabutools.election.profile.profile.Profile.num_ballots"]], "pabutools.election.profile": [[8, "module-pabutools.election.profile"]], "pop() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.pop"]], "pop() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.pop"]], "pop() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.pop"]], "pop() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.pop"]], "pop() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.pop"]], "pop() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.pop"]], "pop() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.pop"]], "pop() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.pop"]], "popitem() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.popitem"]], "popitem() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.popitem"]], "popitem() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.popitem"]], "popitem() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.popitem"]], "remove() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.remove"]], "remove() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.remove"]], "remove() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.remove"]], "remove() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.remove"]], "reverse() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.reverse"]], "reverse() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.reverse"]], "reverse() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.reverse"]], "reverse() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.reverse"]], "score() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.score"]], "score() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.score"]], "setdefault() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.setdefault"]], "setdefault() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.setdefault"]], "setdefault() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.setdefault"]], "setdefault() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.setdefault"]], "sort() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.sort"]], "sort() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.sort"]], "sort() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.sort"]], "sort() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.sort"]], "subtract() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.subtract"]], "subtract() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.subtract"]], "subtract() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.subtract"]], "subtract() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.subtract"]], "total() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.total"]], "total() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.total"]], "total() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.total"]], "total() (multiprofile method)": [[8, "pabutools.election.profile.profile.MultiProfile.total"]], "total() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.total"]], "total_score() (abstractcardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.AbstractCardinalProfile.total_score"]], "total_score() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.total_score"]], "total_score() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.total_score"]], "total_score() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.total_score"]], "total_score() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.total_score"]], "update() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.update"]], "update() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.update"]], "update() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.update"]], "update() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.update"]], "validate_ballot() (abstractprofile method)": [[8, "pabutools.election.profile.profile.AbstractProfile.validate_ballot"]], "validate_ballot() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.validate_ballot"]], "validate_ballot() (approvalprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalProfile.validate_ballot"]], "validate_ballot() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.validate_ballot"]], "validate_ballot() (cardinalprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalProfile.validate_ballot"]], "validate_ballot() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.validate_ballot"]], "validate_ballot() (cumulativeprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeProfile.validate_ballot"]], "validate_ballot() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.validate_ballot"]], "validate_ballot() (ordinalprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalProfile.validate_ballot"]], "values() (approvalmultiprofile method)": [[8, "pabutools.election.profile.approvalprofile.ApprovalMultiProfile.values"]], "values() (cardinalmultiprofile method)": [[8, "pabutools.election.profile.cardinalprofile.CardinalMultiProfile.values"]], "values() (cumulativemultiprofile method)": [[8, "pabutools.election.profile.cumulativeprofile.CumulativeMultiProfile.values"]], "values() (ordinalmultiprofile method)": [[8, "pabutools.election.profile.ordinalprofile.OrdinalMultiProfile.values"]], "additivesatisfaction (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction"]], "additive_borda_sat (class in pabutools.election.satisfaction.positionalsatisfaction)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.Additive_Borda_Sat"]], "additive_cardinal_relative_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat"]], "additive_cardinal_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat"]], "additive_cost_log_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat"]], "additive_cost_sqrt_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat"]], "cc_sat (class in pabutools.election.satisfaction.functionalsatisfaction)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.CC_Sat"]], "cardinality_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat"]], "cost_log_sat (class in pabutools.election.satisfaction.functionalsatisfaction)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Log_Sat"]], "cost_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat"]], "cost_sqrt_sat (class in pabutools.election.satisfaction.functionalsatisfaction)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Sqrt_Sat"]], "effort_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat"]], "functionalsatisfaction (class in pabutools.election.satisfaction.functionalsatisfaction)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction"]], "groupsatisfactionmeasure (class in pabutools.election.satisfaction.satisfactionmeasure)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure"]], "positionalsatisfaction (class in pabutools.election.satisfaction.positionalsatisfaction)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction"]], "relative_cardinality_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat"]], "relative_cost_approx_normaliser_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat"]], "relative_cost_sat (class in pabutools.election.satisfaction.additivesatisfaction)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat"]], "satisfactionmeasure (class in pabutools.election.satisfaction.satisfactionmeasure)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure"]], "satisfactionmultiprofile (class in pabutools.election.satisfaction.satisfactionprofile)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile"]], "satisfactionprofile (class in pabutools.election.satisfaction.satisfactionprofile)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile"]], "aggregation_func (positionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.aggregation_func"]], "append() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.append"]], "append() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.append"]], "ballot (additivesatisfaction attribute)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.ballot"]], "ballot (functionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.ballot"]], "ballot (positionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.ballot"]], "ballot (satisfactionmeasure attribute)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure.ballot"]], "clear() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.clear"]], "clear() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.clear"]], "copy() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.copy"]], "copy() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.copy"]], "count() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.count"]], "elements() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.elements"]], "extend() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.extend"]], "extend_from_multiprofile() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.extend_from_multiprofile"]], "extend_from_profile() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.extend_from_profile"]], "extend_from_profile() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.extend_from_profile"]], "fromkeys() (satisfactionmultiprofile class method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.fromkeys"]], "func (additivesatisfaction attribute)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.func"]], "func (functionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.func"]], "get() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.get"]], "get_project_sat() (additivesatisfaction method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.get_project_sat"]], "get_project_sat() (additive_cardinal_relative_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat.get_project_sat"]], "get_project_sat() (additive_cardinal_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat.get_project_sat"]], "get_project_sat() (additive_cost_log_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat.get_project_sat"]], "get_project_sat() (additive_cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat.get_project_sat"]], "get_project_sat() (cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat.get_project_sat"]], "get_project_sat() (cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat.get_project_sat"]], "get_project_sat() (effort_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat.get_project_sat"]], "get_project_sat() (relative_cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat.get_project_sat"]], "get_project_sat() (relative_cost_approx_normaliser_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat.get_project_sat"]], "get_project_sat() (relative_cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat.get_project_sat"]], "index() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.index"]], "insert() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.insert"]], "instance (additivesatisfaction attribute)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.instance"]], "instance (functionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.instance"]], "instance (positionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.instance"]], "instance (satisfactionmeasure attribute)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure.instance"]], "instance (satisfactionmultiprofile attribute)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.instance"]], "instance (satisfactionprofile attribute)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.instance"]], "items() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.items"]], "keys() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.keys"]], "most_common() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.most_common"]], "multiplicity() (groupsatisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure.multiplicity"]], "multiplicity() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.multiplicity"]], "multiplicity() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.multiplicity"]], "pabutools.election.satisfaction": [[9, "module-pabutools.election.satisfaction"]], "pop() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.pop"]], "pop() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.pop"]], "popitem() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.popitem"]], "positional_func (positionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.positional_func"]], "precomputed_values (additivesatisfaction attribute)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.precomputed_values"]], "preprocessing() (additivesatisfaction method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.preprocessing"]], "preprocessing() (additive_cardinal_relative_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat.preprocessing"]], "preprocessing() (additive_cardinal_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat.preprocessing"]], "preprocessing() (additive_cost_log_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat.preprocessing"]], "preprocessing() (additive_cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat.preprocessing"]], "preprocessing() (cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat.preprocessing"]], "preprocessing() (cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat.preprocessing"]], "preprocessing() (effort_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat.preprocessing"]], "preprocessing() (relative_cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat.preprocessing"]], "preprocessing() (relative_cost_approx_normaliser_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat.preprocessing"]], "preprocessing() (relative_cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat.preprocessing"]], "profile (additivesatisfaction attribute)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.profile"]], "profile (functionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.profile"]], "profile (positionalsatisfaction attribute)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.profile"]], "profile (satisfactionmeasure attribute)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure.profile"]], "remove() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.remove"]], "remove_satisfied() (groupsatisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure.remove_satisfied"]], "remove_satisfied() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.remove_satisfied"]], "remove_satisfied() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.remove_satisfied"]], "reverse() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.reverse"]], "sat() (additivesatisfaction method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.sat"]], "sat() (additive_borda_sat method)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.Additive_Borda_Sat.sat"]], "sat() (additive_cardinal_relative_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat.sat"]], "sat() (additive_cardinal_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat.sat"]], "sat() (additive_cost_log_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat.sat"]], "sat() (additive_cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat.sat"]], "sat() (cc_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.CC_Sat.sat"]], "sat() (cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat.sat"]], "sat() (cost_log_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Log_Sat.sat"]], "sat() (cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat.sat"]], "sat() (cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Sqrt_Sat.sat"]], "sat() (effort_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat.sat"]], "sat() (functionalsatisfaction method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.sat"]], "sat() (positionalsatisfaction method)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.sat"]], "sat() (relative_cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat.sat"]], "sat() (relative_cost_approx_normaliser_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat.sat"]], "sat() (relative_cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat.sat"]], "sat() (satisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure.sat"]], "sat_class (satisfactionmultiprofile attribute)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.sat_class"]], "sat_class (satisfactionprofile attribute)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.sat_class"]], "sat_project() (additivesatisfaction method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.AdditiveSatisfaction.sat_project"]], "sat_project() (additive_borda_sat method)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.Additive_Borda_Sat.sat_project"]], "sat_project() (additive_cardinal_relative_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Relative_Sat.sat_project"]], "sat_project() (additive_cardinal_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cardinal_Sat.sat_project"]], "sat_project() (additive_cost_log_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Log_Sat.sat_project"]], "sat_project() (additive_cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Additive_Cost_Sqrt_Sat.sat_project"]], "sat_project() (cc_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.CC_Sat.sat_project"]], "sat_project() (cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cardinality_Sat.sat_project"]], "sat_project() (cost_log_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Log_Sat.sat_project"]], "sat_project() (cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Cost_Sat.sat_project"]], "sat_project() (cost_sqrt_sat method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.Cost_Sqrt_Sat.sat_project"]], "sat_project() (effort_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Effort_Sat.sat_project"]], "sat_project() (functionalsatisfaction method)": [[9, "pabutools.election.satisfaction.functionalsatisfaction.FunctionalSatisfaction.sat_project"]], "sat_project() (positionalsatisfaction method)": [[9, "pabutools.election.satisfaction.positionalsatisfaction.PositionalSatisfaction.sat_project"]], "sat_project() (relative_cardinality_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cardinality_Sat.sat_project"]], "sat_project() (relative_cost_approx_normaliser_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Approx_Normaliser_Sat.sat_project"]], "sat_project() (relative_cost_sat method)": [[9, "pabutools.election.satisfaction.additivesatisfaction.Relative_Cost_Sat.sat_project"]], "sat_project() (satisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.SatisfactionMeasure.sat_project"]], "setdefault() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.setdefault"]], "sort() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.sort"]], "subtract() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.subtract"]], "total() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.total"]], "total_satisfaction() (groupsatisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure.total_satisfaction"]], "total_satisfaction() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.total_satisfaction"]], "total_satisfaction() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.total_satisfaction"]], "total_satisfaction_project() (groupsatisfactionmeasure method)": [[9, "pabutools.election.satisfaction.satisfactionmeasure.GroupSatisfactionMeasure.total_satisfaction_project"]], "total_satisfaction_project() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.total_satisfaction_project"]], "total_satisfaction_project() (satisfactionprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionProfile.total_satisfaction_project"]], "update() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.update"]], "values() (satisfactionmultiprofile method)": [[9, "pabutools.election.satisfaction.satisfactionprofile.SatisfactionMultiProfile.values"]], "float_frac (in module pabutools.fractions)": [[10, "pabutools.fractions.FLOAT_FRAC"]], "fraction (in module pabutools.fractions)": [[10, "pabutools.fractions.FRACTION"]], "gmpy_frac (in module pabutools.fractions)": [[10, "pabutools.fractions.GMPY_FRAC"]], "frac() (in module pabutools.fractions)": [[10, "pabutools.fractions.frac"]], "pabutools.fractions": [[10, "module-pabutools.fractions"]], "str_as_frac() (in module pabutools.fractions)": [[10, "pabutools.fractions.str_as_frac"]], "allocationdetails (class in pabutools.rules.budgetallocation)": [[12, "pabutools.rules.budgetallocation.AllocationDetails"]], "budgetallocation (class in pabutools.rules.budgetallocation)": [[12, "pabutools.rules.budgetallocation.BudgetAllocation"]], "cstv_combination (class in pabutools.rules.cstv)": [[12, "pabutools.rules.cstv.CSTV_Combination"]], "ewt (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.EWT"]], "ewtc (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.EWTC"]], "greedywelfareallocationdetails (class in pabutools.rules.greedywelfare)": [[12, "pabutools.rules.greedywelfare.GreedyWelfareAllocationDetails"]], "ilp_solver (maxaddutilwelfarealgo attribute)": [[12, "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo.ILP_SOLVER"]], "mesallocationdetails (class in pabutools.rules.mes)": [[12, "pabutools.rules.mes.MESAllocationDetails"]], "mesiteration (class in pabutools.rules.mes)": [[12, "pabutools.rules.mes.MESIteration"]], "mt (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.MT"]], "mtc (cstv_combination attribute)": [[12, "pabutools.rules.cstv.CSTV_Combination.MTC"]], "primal_dual (maxaddutilwelfarealgo attribute)": [[12, "pabutools.rules.maxwelfare.MaxAddUtilWelfareAlgo.PRIMAL_DUAL"]], "completion_by_rule_combination() (in module pabutools.rules.exhaustion)": [[12, "pabutools.rules.exhaustion.completion_by_rule_combination"]], "cstv() (in module pabutools.rules.cstv)": [[12, "pabutools.rules.cstv.cstv"]], "details (budgetallocation attribute)": [[12, "pabutools.rules.budgetallocation.BudgetAllocation.details"]], "exhaustion_by_budget_increase() (in module pabutools.rules.exhaustion)": [[12, "pabutools.rules.exhaustion.exhaustion_by_budget_increase"]], "greedy_utilitarian_welfare() (in module pabutools.rules.greedywelfare)": [[12, "pabutools.rules.greedywelfare.greedy_utilitarian_welfare"]], "iterations (mesallocationdetails attribute)": [[12, "pabutools.rules.mes.MESAllocationDetails.iterations"]], "max_additive_utilitarian_welfare() (in module pabutools.rules.maxwelfare)": [[12, "pabutools.rules.maxwelfare.max_additive_utilitarian_welfare"]], "method_of_equal_shares() (in module pabutools.rules.mes)": [[12, "pabutools.rules.mes.method_of_equal_shares"]], "pabutools.rules": [[12, "module-pabutools.rules"]], "popularity_comparison() (in module pabutools.rules.composition)": [[12, "pabutools.rules.composition.popularity_comparison"]], "selected_project (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.selected_project"]], "sequential_phragmen() (in module pabutools.rules.phragmen)": [[12, "pabutools.rules.phragmen.sequential_phragmen"]], "social_welfare_comparison() (in module pabutools.rules.composition)": [[12, "pabutools.rules.composition.social_welfare_comparison"]], "voters_budget (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.voters_budget"]], "voters_budget_after_selection (mesiteration attribute)": [[12, "pabutools.rules.mes.MESIteration.voters_budget_after_selection"]], "tiebreakingexception": [[13, "pabutools.tiebreaking.TieBreakingException"]], "tiebreakingrule (class in pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.TieBreakingRule"]], "app_score_tie_breaking (in module pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.app_score_tie_breaking"]], "func (tiebreakingrule attribute)": [[13, "pabutools.tiebreaking.TieBreakingRule.func"]], "lexico_tie_breaking (in module pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.lexico_tie_breaking"]], "max_cost_tie_breaking (in module pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.max_cost_tie_breaking"]], "min_cost_tie_breaking (in module pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.min_cost_tie_breaking"]], "order() (tiebreakingrule method)": [[13, "pabutools.tiebreaking.TieBreakingRule.order"]], "pabutools.tiebreaking": [[13, "module-pabutools.tiebreaking"]], "refuse_tie_breaking (in module pabutools.tiebreaking)": [[13, "pabutools.tiebreaking.refuse_tie_breaking"]], "untie() (tiebreakingrule method)": [[13, "pabutools.tiebreaking.TieBreakingRule.untie"]], "numeric (in module pabutools.utils)": [[14, "pabutools.utils.Numeric"]], "gini_coefficient() (in module pabutools.utils)": [[14, "pabutools.utils.gini_coefficient"]], "mean_generator() (in module pabutools.utils)": [[14, "pabutools.utils.mean_generator"]], "pabutools.utils": [[14, "module-pabutools.utils"]], "powerset() (in module pabutools.utils)": [[14, "pabutools.utils.powerset"]], "round_cmp() (in module pabutools.utils)": [[14, "pabutools.utils.round_cmp"]], "greedywelfarevisualiser (class in pabutools.visualisation)": [[15, "pabutools.visualisation.GreedyWelfareVisualiser"]], "mesvisualiser (class in pabutools.visualisation)": [[15, "pabutools.visualisation.MESVisualiser"]], "visualiser (class in pabutools.visualisation)": [[15, "pabutools.visualisation.Visualiser"]], "pabutools.visualisation": [[15, "module-pabutools.visualisation"]], "render() (greedywelfarevisualiser method)": [[15, "pabutools.visualisation.GreedyWelfareVisualiser.render"]], "render() (mesvisualiser method)": [[15, "pabutools.visualisation.MESVisualiser.render"]]}})
\ No newline at end of file
diff --git a/docs/usage/analysis.html b/docs/usage/analysis.html
index b954eb74..3ba29329 100644
--- a/docs/usage/analysis.html
+++ b/docs/usage/analysis.html
@@ -6,7 +6,7 @@
-
+
Analysis — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/fractions.html b/docs/usage/fractions.html
index 780f1858..95b0454b 100644
--- a/docs/usage/fractions.html
+++ b/docs/usage/fractions.html
@@ -6,7 +6,7 @@
-
+
Fractions — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/index.html b/docs/usage/index.html
index 529167e2..e0abdcc6 100644
--- a/docs/usage/index.html
+++ b/docs/usage/index.html
@@ -6,7 +6,7 @@
-
+
Complete Guide — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/instances.html b/docs/usage/instances.html
index 28c99f6c..6ec5a989 100644
--- a/docs/usage/instances.html
+++ b/docs/usage/instances.html
@@ -6,7 +6,7 @@
-
+
Instances — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/libraries.html b/docs/usage/libraries.html
index 14978a3c..0135f791 100644
--- a/docs/usage/libraries.html
+++ b/docs/usage/libraries.html
@@ -6,7 +6,7 @@
-
+
Preference Libraries — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/outcomevisualisation.html b/docs/usage/outcomevisualisation.html
index 00ea10a8..95e7ff2d 100644
--- a/docs/usage/outcomevisualisation.html
+++ b/docs/usage/outcomevisualisation.html
@@ -6,7 +6,7 @@
-
+
Outcome Visualisation — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/profiles.html b/docs/usage/profiles.html
index faec5c59..2ff85f3b 100644
--- a/docs/usage/profiles.html
+++ b/docs/usage/profiles.html
@@ -6,7 +6,7 @@
-
+
Profiles — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/rules.html b/docs/usage/rules.html
index af4362a5..fc9e82d8 100644
--- a/docs/usage/rules.html
+++ b/docs/usage/rules.html
@@ -6,7 +6,7 @@
-
+
Rules — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/satisfaction.html b/docs/usage/satisfaction.html
index 1974cff3..bb069df6 100644
--- a/docs/usage/satisfaction.html
+++ b/docs/usage/satisfaction.html
@@ -6,7 +6,7 @@
-
+
Satisfaction Measures — Pabutools
@@ -36,7 +36,7 @@
-
+
diff --git a/docs/usage/tiebreaking.html b/docs/usage/tiebreaking.html
index 118a1b85..f97e08e7 100644
--- a/docs/usage/tiebreaking.html
+++ b/docs/usage/tiebreaking.html
@@ -6,7 +6,7 @@
-
+
Tie-Breaking — Pabutools
@@ -36,7 +36,7 @@
-
+