Skip to content

An object-oriented project, that represents the simulator of the society, with dynamically changing events and AI implemented methods for more lively environments.

License

Notifications You must be signed in to change notification settings

Klus3kk/microsociety

Repository files navigation

CI License Language

MicroSociety

Description

MicroSociety is an object-oriented simulation project that models a dynamic society with AI-driven behaviors, events, and interactions. The project uses AI to create a lively, ever-changing environment.

Setup Options

MicroSociety offers two setup options:

  • With TensorFlow (Docker-based): Enables advanced AI capabilities using TensorFlow.
  • Without TensorFlow (Local build): Provides a simpler setup without TensorFlow dependencies.

Docker Setup with TensorFlow

  1. Build the Docker image (TensorFlow-enabled):

    docker build -t micro-society .
  2. Run the Docker container:

    docker run -it micro-society

Local Setup without TensorFlow (Linux)

  1. Rename CMakeLists_without_tf.txt to CMakeLists.txt in your local folder.

  2. Create a build directory and compile:

    mkdir build && cd build
    cmake ..
    make
  3. Run the executable:

    ./MicroSociety

Local Setup without TensorFlow (Windows)

  1. Rename CMakeLists_without_tf.txt to CMakeLists.txt in your local folder.

  2. Open the Developer Command Prompt for your compiler (e.g., MSVC).

  3. Create a build directory:

    mkdir build && cd build
  4. Generate the project:

    cmake -G "NMake Makefiles" ..
  5. Build the project:

    nmake
  6. Run the executable:

    MicroSociety.exe

Memory Leak/Performance Profiling

If you want to check memory leaks or performance profiling, use Valgrind:

valgrind --leak-check=full --track-origins=yes ./MicroSociety
valgrind --tool=callgrind ./MicroSociety
kcachegrind callgrind.out.<pid>

GCloud Settings

About

An object-oriented project, that represents the simulator of the society, with dynamically changing events and AI implemented methods for more lively environments.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages