UNPKG

ecclesia

Version:

Framework for political and electoral simulations

14 lines (13 loc) 1.06 kB
export { Attribution, AttributionFailure, HasNSeats } from './attribution/base.js'; export { addThresholdToSimpleAttribution } from './attribution/transform.js'; export { DivisorFunction, DivisorMethod, Proportional, RankIndexFunction, RankIndexMethod, boundedRankIndexMethod, proportionalFromDivisorFunction, proportionalFromRankIndexFunction, rankIndexFunctionFromDivisorFunction } from './attribution/proportionalBase.js'; export { plurality, superMajority } from './attribution/majorityFactory.js'; export { bordaCount, condorcet, instantRunoff } from './attribution/orderingFactory.js'; export { averageScore, medianScore } from './attribution/scoreFactory.js'; export { dHondt, hamilton, hareLargestRemainders, highestAverages, huntingtonHill, jefferson, largestRemainders, sainteLague, webster } from './attribution/proportionalFactory.js'; export { randomize } from './attribution/randomFactory.js'; import '@gouvernathor/python/collections'; import './ballots.js'; import './attribution/metrics.js'; import '../utils.js'; import '@gouvernathor/rng';