Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: bimatrix_generators: Define __all__ #525

Merged
merged 1 commit into from
Feb 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions quantecon/game_theory/game_generators/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,4 @@
game_theory.game_generators
"""
from .bimatrix_generators import (
blotto_game, ranking_game, sgc_game, tournament_game, unit_vector_game
)
from .bimatrix_generators import *
5 changes: 5 additions & 0 deletions quantecon/game_theory/game_generators/bimatrix_generators.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@
from ...graph_tools import random_tournament_graph
from ...util.combinatorics import next_k_array, k_array_rank_jit

__all__ = [
'blotto_game', 'ranking_game', 'sgc_game', 'tournament_game',
'unit_vector_game'
]


def blotto_game(h, t, rho, mu=0, random_state=None):
"""
Expand Down