Skip to main content

Multi agent system using social theories

Project description

Ovomaltino

multiagent system model using sociological theories for AI learning Project page: https://github.com/Ovomaltino/Ovomaltino

Install

pip install ovomaltino

Usage

from ovomaltino.ovomaltino import Ovomaltino

# Set API data
mas = Ovomaltino("localhost",
								3005,
								"v1")

# Load Ovomaltino with interactions data
mas.load(5, [0, 1, 2, 3, 4, 5, 6, 7, 8], {'WINNER': {'consequence': 0},
														 'DRAW': {'consequence': 0},
														 'LOSER': {'consequence': -1}})

# Passing data to the social fact Education
mas.observe([-1,-1,-1,-1,-1,-1,-1,-1,-1], 4, 1, 0)

# Interacting with the multi-agent system
mas_action = mas.process(game_status)
mas_action['save']()
mas_action['rollback']()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Ovomaltino-0.0.11.tar.gz (22.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page