1
0
mirror of https://github.com/gsi-upm/soil synced 2025-08-24 03:52:20 +00:00

WIP: exporters

This commit is contained in:
J. Fernando Sánchez
2019-04-29 18:47:15 +02:00
parent 9bc036d185
commit d1006bd55c
16 changed files with 288 additions and 195 deletions

View File

@@ -3,11 +3,9 @@ name: simple
group: tests
dir_path: "/tmp/"
num_trials: 3
dry_run: True
max_time: 100
interval: 1
seed: "CompleteSeed!"
dump: false
network_params:
generator: complete_graph
n: 10

View File

@@ -2,7 +2,6 @@
name: custom-generator
description: Using a custom generator for the network
num_trials: 3
dry_run: True
max_time: 100
interval: 1
network_params:
@@ -14,4 +13,4 @@ network_agents:
- agent_type: CounterModel
weight: 1
state:
id: 0
id: 0

View File

@@ -29,8 +29,7 @@ if __name__ == '__main__':
from soil import Simulation
s = Simulation(network_agents=[{'ids': [0], 'agent_type': Fibonacci},
{'ids': [1], 'agent_type': Odds}],
dry_run=True,
network_params={"generator": "complete_graph", "n": 2},
max_time=100,
)
s.run()
s.run(dry_run=True)