{"id":20614583,"url":"https://github.com/rayniel95/proyecto-agentes","last_synced_at":"2026-02-24T09:04:24.793Z","repository":{"id":115369538,"uuid":"332276999","full_name":"rayniel95/Proyecto-Agentes","owner":"rayniel95","description":"Project of Simulation and Declarative Programming courses in collaboration with @lemartinez2245. An interesting thing in this project is the creation of generics predicates and inheritance simulation in prolog language.","archived":false,"fork":false,"pushed_at":"2021-01-23T18:12:17.000Z","size":73,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-06T18:50:12.792Z","etag":null,"topics":["bfs-algorithm","prolog-programming-language","school-project","simulation","university-coursework","university-of-havana","university-project"],"latest_commit_sha":null,"homepage":"","language":"Prolog","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rayniel95.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-23T18:12:09.000Z","updated_at":"2021-03-05T22:10:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"e6fedc3d-7eb0-4332-aea9-21bff9d2fe98","html_url":"https://github.com/rayniel95/Proyecto-Agentes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rayniel95/Proyecto-Agentes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayniel95%2FProyecto-Agentes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayniel95%2FProyecto-Agentes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayniel95%2FProyecto-Agentes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayniel95%2FProyecto-Agentes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rayniel95","download_url":"https://codeload.github.com/rayniel95/Proyecto-Agentes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rayniel95%2FProyecto-Agentes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29777621,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bfs-algorithm","prolog-programming-language","school-project","simulation","university-coursework","university-of-havana","university-project"],"created_at":"2024-11-16T11:13:05.776Z","updated_at":"2026-02-24T09:04:19.781Z","avatar_url":"https://github.com/rayniel95.png","language":"Prolog","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Version 1.1 Changelog:\n\n- Se renombró el archivo que anteriormente se llamaba `evironment.pl` a `environment.pl`, causa por la cuál la línea para cargar el archivo en swipl pudiera dar error\n- Se añadió en `main.pl` una función `simulate(S,X,Y,N,D,O,T,C,[]).` para realizar `S` simulaciones de 1 sola vez y dar las estadísticas de las mismas:\n  - `S`: cantidad de simulaciones a realizar\n  - `X,Y`: dimensiones del mapa\n  - `N`: cantidad de niños en las simulaciones\n  - `D`: porcentaje inicial de suciedad\n  - `O`: porcentaje inicial de objetos\n  - `T`: tiempo total de las simulaciones\n  - `C`: tiempo en las simulaciones antes del cambio del mapa\n- Si se desea que se escriban los mapas en cada iteración de cada simulación (modo verbose), quitar el comentario que contiene a la función `print` que hay en el archivo `main.pl` en la línea 125\n\n# Version 1.0\n\nPara correr el proyecto escriba la línea:\n\n`swipl main.pl environment.pl utils.pl` \n\nen una terminal dentro de esta misma carpeta.\n\nUna vez dentro de swi-prolog escriba:\n\n`start(N,M,B,S,O,T).`\n\ndonde:\n\nN es la cantidad de filas del mapa\n\nM es la cantidad de columnas del mapa\n\nB es la cantidad de niños en el mapa\n\nS es el porcentaje inicial de suciedad en el mapa\n\nO es el porcentaje de objetos en el mapa\n\nT cantidad de unidades de tiempo antes de que cambie el entorno\n\n\n\nLa simulación, sin importar el T introducido, durará siempre 100 unidades de tiempo.\n\n# Version 1.01\n\nModo verbose activado por defecto.\n\nNota: si la carga de los archivos environment.pl y utils.pl falla copiar todo el\ncodigo al archivo main.pl and it will work.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayniel95%2Fproyecto-agentes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frayniel95%2Fproyecto-agentes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frayniel95%2Fproyecto-agentes/lists"}