Skip to content

NIV27e/CGFCore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CGFCore

CGFCore is a Python library focused on game theory and its various game types. It provides implementations for different game types like Bayesian, Composed, I mperfect Information, NonZeroSum, Sequential, Stochastic, ZeroSum, and some variants.

Installation

To install CGFCore, you can use pip:

pip install path_to_CGF-0.0.3-py3-none-any.whl

Or from the source distribution:

pip install path_to_CGF-0.0.3.tar.gz

Usage

Here's a basic example to get started:

from CGF.CGFCore import main
from CGF.test import evaluate

# Test a composed game in sequential order
# main.test_composed_game_sequential()

# Run evaluation tests
evaluate.run_tests()

Game Types

The library provides implementations for the following game types:

  • Bayesian
  • Composed
  • Imperfect Information
  • NonZeroSum
  • Sequential
  • Stochastic
  • ZeroSum

Additionally, there are variants of some games available for more specific use cases.

Open Game Framework

The library also includes an open game framework with deterministic, final, and stochasticity modules to help in the development and analysis of games.

Testing

To run the tests, use the following command:

from CGF.test import evaluate
evaluate.run_tests()

License

Please refer to the LICENSE.txt file for licensing information.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages