1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-13 06:52:28 +00:00

Changed models

This commit is contained in:
Tasio Mendez 2017-04-21 14:19:26 +02:00
parent 2fc7a91ef3
commit 391ce5e9e0
5 changed files with 4 additions and 5 deletions

View File

@ -1,2 +1 @@
from .BigMarketModel import BigMarketModel
from .SISaModel import SISaModel

View File

@ -1,6 +1,6 @@
import random
import numpy as np
from ..BaseBehaviour import *
from models.BaseBehaviour import *
class SISaModel(BaseBehaviour):

View File

@ -0,0 +1 @@
from .SISaModel import SISaModel

View File

@ -5,4 +5,4 @@ from .BigMarketModel import *
from .IndependentCascadeModel import *
from .ModelM2 import *
from .SentimentCorrelationModel import *
from .SISaModel import *

View File

@ -27,8 +27,7 @@ if settings.network_type == 2:
##############
sim = NetworkSimulation(topology=G, states=init_states, agent_type=ControlModelM2,
max_time=settings.max_time, num_trials=settings.num_trials, logging_interval=1.0,
environment_params=settings)
max_time=settings.max_time, num_trials=settings.num_trials, logging_interval=1.0)
sim.run_simulation()