Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import os
import sys
import pyseldonlib

sys.path.insert(0, os.path.abspath('../pyseldonlib'))

project = 'pyseldonlib'
copyright = '2024, PySeldon Developers'
author = 'Amrita Goswami, Daivik Karbhari, Moritz Sallermann, Rohit Goswami'
release = '1.0'
release = '1.0.0'

# -- General configuration ---------------------------------------------------

Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ dynamic = [
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Researchers, Developers, Data Scientists, Students",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Software Development :: Libraries",
"Topic :: Scientific/Engineering :: Simulation, Social Dynamics, Opinion Dynamics",
"Topic :: Scientific/Engineering :: Mathematics",
]

[project.urls]
Expand Down
48 changes: 0 additions & 48 deletions res/PySeldon_1.svg

This file was deleted.

Binary file removed res/_logotext.png
Binary file not shown.
2 changes: 2 additions & 0 deletions tests/res/config/conf.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Config file that is only used for testing purpose

[simulation]
model = "DeGroot"
# rng_seed = 120 # Leaving this empty will pick a random seed
Expand Down
2 changes: 2 additions & 0 deletions tests/res/config/inconf.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Config file that is only used for testing purpose

[simulation]
model = "DeGroo"
# rng_seed = 120 # Leaving this empty will pick a random seed
Expand Down
126 changes: 0 additions & 126 deletions visualisations/degrootmodel.ipynb

This file was deleted.

21 changes: 0 additions & 21 deletions visualisations/ouput_20_agents/network_0.txt

This file was deleted.

21 changes: 0 additions & 21 deletions visualisations/ouput_20_agents/opinions_0.txt

This file was deleted.

21 changes: 0 additions & 21 deletions visualisations/ouput_20_agents/opinions_10.txt

This file was deleted.

126 changes: 0 additions & 126 deletions visualisations/ouput_20_agents_10_connections_each/degrootmodel.ipynb

This file was deleted.

16 changes: 16 additions & 0 deletions visualisations/ouput_20_agents_10_connections_each/degrootmodel.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

import pyseldonlib
other_settings = pyseldonlib.Other_Settings(n_output_agents=10,
n_output_network= None,
print_progress= True,
output_initial=True,
start_output=1,
number_of_agents = 20,
connections_per_agent = 10)

model = pyseldonlib.DeGroot_Model(max_iterations=1000,
convergence_tol=1e-6,
rng_seed=120,
other_settings=other_settings)

model.run('./ouput_20_agents')
Loading