0.0.13 • Published 3 years ago

morality v0.0.13

Weekly downloads
14
License
ISC
Repository
github
Last release
3 years ago

morality

Morality.js is a library for building autonomous agents that comply with ethical theories.

Example

import morality from 'morality';
import agents from 'morality/agents';
import ethics from 'morality/ethics';

const agent = new agents.GridWorldAgent([
  ['O', 'O', 'W', 'W', 'O'],
  ['O', 'O', 'W', 'W', 'O'],
  ['O', 'O', 'O', 'O', 'G']
]);

const ethics = new ethics.DivineCommandTheory([0, 4, 10]);

const solution = morality.solve(agent, ethics);

Citation

Please cite the following paper if you use Morality.js in your own research.

  • Ethically Compliant Sequential Decision Making
  • Justin Svegliato — Samer B. Nashed — Shlomo Zilberstein
  • Proceedings of the 35th Conference on Artificial Intelligence (AAAI)
  • March 2021
0.0.13

3 years ago

0.0.12

4 years ago

0.0.11

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago