Skip to content

Commit

Permalink
Releasing under MIT license.
Browse files Browse the repository at this point in the history
  • Loading branch information
droodev committed Dec 21, 2021
1 parent 0837b16 commit b65fb39
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 744 deletions.
695 changes: 21 additions & 674 deletions LICENSE

Large diffs are not rendered by default.

16 changes: 2 additions & 14 deletions baseProgram.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# copyright 2020 Andrzej Kaczmarczyk (andrzej >dot> kaczmarczyk <at> agh.edu.pl; a <dot> kaczmarczyk <at> tu-berlin.de)
# This file is part of mul-win-just-pub.
########################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
########################################################################
# mul-win-just-pub is licensed under the terms of MIT license
# see LICENSE.txt for the text of the lincense

from gurobipy import *
import isxJRChecker
Expand Down
16 changes: 2 additions & 14 deletions distributions.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# copyright 2020 Andrzej Kaczmarczyk (andrzej >dot> kaczmarczyk <at> agh.edu.pl; a <dot> kaczmarczyk <at> tu-berlin.de)
# This file is part of mul-win-just-pub.
########################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
########################################################################
# mul-win-just-pub is licensed under the terms of MIT license
# see LICENSE.txt for the text of the lincense

import random
import math
Expand Down
16 changes: 2 additions & 14 deletions isxJRChecker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@

# copyright 2020 Andrzej Kaczmarczyk (andrzej >dot> kaczmarczyk <at> agh.edu.pl; a <dot> kaczmarczyk <at> tu-berlin.de)
# This file is part of mul-win-just-pub.
########################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
########################################################################
# mul-win-just-pub is licensed under the terms of MIT license
# see LICENSE.txt for the text of the lincense

from pulp import *
import math
Expand Down
17 changes: 3 additions & 14 deletions rules.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
# copyright 2020 Andrzej Kaczmarczyk (andrzej >dot> kaczmarczyk <at> agh.edu.pl; a <dot> kaczmarczyk <at> tu-berlin.de)
# This file is part of mul-win-just-pub.
########################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
########################################################################
# mul-win-just-pub is licensed under the terms of MIT license
# see LICENSE.txt for the text of the lincense

from baseProgram import compute, COVERAGE_MAX, APPROVAL_MAX, compute_pav
from baseProgram import COMPUTE_PJR, COMPUTE_EJR, computeEJRorPJR
from gmpy2 import mpq
Expand Down
16 changes: 2 additions & 14 deletions tools.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# copyright 2020 Andrzej Kaczmarczyk (andrzej >dot> kaczmarczyk <at> agh.edu.pl; a <dot> kaczmarczyk <at> tu-berlin.de)
# This file is part of mul-win-just-pub.
########################################################################
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>
########################################################################
# mul-win-just-pub is licensed under the terms of MIT license
# see LICENSE.txt for the text of the lincense

def committeApprovalAndCoverage(candidates, voters, committee):
commSet = set(committee)
Expand Down

0 comments on commit b65fb39

Please sign in to comment.