<p align="center"><img alt="CORMAS" src="assets/logos/CormasLogoBig.png" style="width: 15%; height: 15%">
<h1 align="center">CORMAS</h1>
<p align="center">
COmmon pool Ressources and Multi-Agent Simulations
<br>
<a href="https://github.com/cormas/cormas/wiki"><strong>Explore the docs »</strong></a>
<br>
<br>
<a href="https://github.com/cormas/cormas/issues/new?labels=Type%3A+Defect">Report a defect</a>
|
<a href="https://github.com/cormas/cormas/issues/new?labels=Type%3A+Feature">Request feature</a>
</p>
</p>
![CI](https://github.com/cormas/cormas/workflows/CI/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/cormas/cormas/badge.svg?branch=master)](https://coveralls.io/github/cormas/cormas?branch=master)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/cormas/cormas/master/LICENSE)
[![All Contributors](https://img.shields.io/badge/all_contributors-13-orange.svg?style=flat-square)](#contributors-)
# Table of Contents
- [Description](#description)
- [Installation](#installation)
- [Standard Installation](#standard-installation)
- [CLI Installation](#cli-installation)
- [Troubleshooting](#troubleshooting)
- [Saving your image](#saving-your-image)
- [Features](#features)
- [Documentation](#documentation)
- [Contributors](#contributors)
- [Historical contributors](#historical-contributors)
- [Change Log](#change-log)
- [License](./LICENSE)
# Description
This is an ongoing effort to port CORMAS to [Pharo ecosystem](http://www.pharo.org/). Current stable version of CORMAS is based on VisualWorks 7.6 and still can be found on: http://cormas.cirad.fr/indexeng.htm
Some documentation (to be cleaned and reorganized) about Cormas is available on the Wiki here:
https://github.com/cormas/documentation
If you want to contribute to CORMAS please have a look to the [contributing guide](https://github.com/cormas/cormas/blob/master/CONTRIBUTING.md).
Join us on the cormas-dev mailing-list: http://groups.google.com/group/cormas-dev
# Installation
## Standard Installation
* Download a Pharo 9.0 image+VM depending of your platform: http://pharo.org/download
* Load Cormas: Open Pharo 9.0 image then click anywhere to open the main menu. Choose Playground (Ctrl + OW or Cmd + OW) to execute the following script. Paste the script below in Playground, select all then right-click and choose Do it (Ctrl+D or Cmd+D) to execute it:
[//]: # (pi)
```smalltalk
EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://cormas/cormas/';
baseline: 'Cormas';
load ]
```
All packages load into the Cormas-* package names:
<p><img alt="Loading..." src="assets/images/loadingCormas.jpg" style="width: 40%; height: 40%">
## CLI Installation
### Using Standard Unix CLI
You can install CORMAS through Unix command line. It works as follow:
```bash
mkdir mydir; cd mydir
curl https://get.pharo.org/90+vm | bash
./pharo Pharo.image eval "EpMonitor disableDuring: [
Metacello new
onConflictUseLoaded;
onWarningLog;
repository: 'github://cormas/cormas/';
baseline: 'Cormas';
load ].
Smalltalk snapshot: true andQuit: true"
```
### Using PI
Make sure you have [pi](https://github.com/hernanmd/pi) installed, and then execute:
```bash
pi install Cormas
```
## Troubleshooting
There is from time to time, [loading errors with github](https://github.com/cormas/cormas/issues/101). If it happens, execute the following expression from Pharo:
```Smalltalk
| maxCount count |
maxCount := 3.
count := 1.
Transcript open.
[ count <= maxCount ] whileTrue: [ [
^ Metacello new
onWarningLog;
repository: 'github://cormas/cormas/';
baseline: 'Cormas';
load
]
on: IceGenericError "Failed to connect to github.com: Interrupted system call"
do: [ : ex |
MetacelloNotification signal: String cr , ex description , String cr , 'RETRYING ', maxCount asString.
(Delay forSeconds: 2) wait.
ex retry
].
count := count + 1 ]
```
Please add an issue if the installation expression above does not work due to one of these known exceptions:
- IceGenericError: Failed to connect to github.com: Interrupted system call.
- IceGenericError: SecureTransport error: connection closed via error
- IceGenericError: unexpected return value from ssl handshake -9806
## Saving your image
As the loading process is rather slow, we recommend to save your image once the installation procedure has been successfully concluded.
For that, select `Save As...` from the 'Pharo' menu:
<p><img alt="SaveAs" src="assets/images/saveAs.jpg" style="width: 12%; height: 12%">
Then write the name of your choice (ex: `cormasPharo.im`):
<p><img alt="Loading..." src="assets/images/saveImage.jpg" style="width: 40%; height: 40%">
# Features
Work in progress
# Documentation
Work in progress
# Contributors â¨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<table>
<tr>
<td align="center"><a href="http://tomostavern.blogspot.jp/"><img src="https://avatars1.githubusercontent.com/u/836308?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tomohiro Oda</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=tomooda" title="Code">ð»</a> <a href="https://github.com/cormas/cormas/commits?author=tomooda" title="Tests">â ï¸</a></td>
<td align="center"><a href="http://elcep.legtux.org/"><img src="https://avatars2.githubusercontent.com/u/1777267?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Etienne DELAY</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=ElCep" title="Code">ð»</a> <a href="https://github.com/cormas/cormas/commits?author=ElCep" title="Tests">â ï¸</a></td>
<td align="center"><a href="https://github.com/hernanmd"><img src="https://avatars2.githubusercontent.com/u/4825959?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hernán Morales Durand</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=hernanmd" title="Code">ð»</a> <a href="https://github.com/cormas/cormas/commits?author=hernanmd" title="Tests">â ï¸</a></td>
<td align="center"><a href="http://macau.unu.edu"><img src="https://avatars0.githubusercontent.com/u/327334?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Serge Stinckwich</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=SergeStinckwich" title="Code">ð»</a> <a href="https://github.com/cormas/cormas/commits?author=SergeStinckwich" title="Tests">â ï¸</a></td>
<td align="center"><a href="http://symbios.io"><img src="https://avatars0.githubusercontent.com/u/4181440?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cédrick Béler</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=cdrick65" title="Code">ð»</a></td>
<td align="center"><a href="https://github.com/nbecu"><img src="https://avatars3.githubusercontent.com/u/7630183?v=4?s=100" width="100px;" alt=""/><br /><sub><b>nbecu</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=nbecu" title="Code">ð»</a></td>
<td align="center"><a href="https://github.com/npapoylias"><img src="https://avatars1.githubusercontent.com/u/8402525?v=4?s=100" width="100px;" alt=""/><br /><sub><b>npapoylias</b></sub></a><br /><a href="https://github.com/cormas/cormas/commits?author=npapoylias" title="Code">ð»</a> <a href="https://github.com/cormas/cormas/commits?author=npapoylias" title="Tests">â ï¸</a></td>
</tr>
<tr>
<td align="center"><a href="http://ur-green.cirad.fr"><img src="https://avatars3.githubusercontent.com/u/7630722?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Pierre
没有合适的资源?快使用搜索试试~ 我知道了~
CORMAS(公共池资源和多代理模拟)_Smalltalk_StringTe.zip
共607个文件
st:379个
empty:111个
png:25个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 56 浏览量
2023-04-08
17:42:16
上传
评论
收藏 3.71MB ZIP 举报
温馨提示
CORMAS(公共池资源和多代理模拟)_Smalltalk_StringTe.zip
资源推荐
资源详情
资源评论
收起资源包目录
CORMAS(公共池资源和多代理模拟)_Smalltalk_StringTe.zip (607个子文件)
.all-contributorsrc 3KB
CORMAS_Installer_Generator.bat 3KB
CormasLogoFull.bmp 676KB
seed.csv 15KB
tree.csv 14KB
tree.csv 13KB
state.csv 12KB
state.csv 12KB
state.csv 11KB
state.csv 10KB
state.csv 10KB
biomass.csv 7KB
biomass.csv 6KB
biomass.csv 6KB
context.csv 4KB
biomass.csv 2KB
biomass.csv 2KB
tree.csv 409B
seed.csv 400B
simpleMap.csv 73B
simpleMap.csv 73B
Thumbs.db 21KB
Dockerfile 510B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
.empty 0B
共 607 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
快撑死的鱼
- 粉丝: 1w+
- 资源: 9154
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功