Code Monkey home page Code Monkey logo

rsd-algorithm-in-python-and-php's Introduction

Hi, This project executes the RSD (Random Serial ************) algorithm (mechanism).
The project is coded in two versions, including the PHP version and the Python version.
At the top of the code page, you can specify the agents variable (which includes the agent index as the array's key and the preferences of this agent as the value of this key. at the top of the code, for example, some of these variables created as a comment).
notice: the number of agents must be more than 1 and the number of agent's preferences (as non-duplicate goods in each agent's preferences) must be equal to the number of agents.
The interpretation of the algorithm output is as follows:
A dicrionary in Python version (or array for PHP version) : agents index(key) => agent goods(services) allocation possibility(value).
As a suggestion, use Visual Studio Code IDE to view and define agents variables easier and use one of Visual Studio Code IDE extensions called "Code Runner" to view algorithm output.
This project was created and developed by Mohammad Amin Mashayekhan. The coding of the project was done with the help of assistant professor Mehdi Feizi, stackoverflow.com, php2python.com and etc.
The following images are a sample of an input (variable agents contains 4 agents) and its output in this algorithm code.
In Python:
accessibility text
In PHP:

My Email: [email protected]
Thank you for visiting.

rsd-algorithm-in-python-and-php's People

Contributors

amin-mashayekhan avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.