DSIMA
 All Classes Namespaces Files Functions Variables
isinterface.py File Reference

Namespaces

 implementation.server.isinterface
 
 isinterface
 Instance simulator interface.
 

Functions

def compute
 
def simulateInstance
 Simulate an instance. More...
 
def computationThread
 Computation thread of the instance generator. More...
 
def terminateProcesses
 
def interact
 Interact with the user and with the instance simulator module. More...
 
def isComputing
 Send a message with the computing status. More...
 

Variables

int MAX_ITERATIONS = 10
 Maximum number of iterations of a simulation. More...
 
float CONVERGENCE_TOLERANCE = 0.005
 Numerical tolerance on the convergence. More...
 
int MAX_THREADS = 8
 Maximum threads. More...
 
tuple jobs = queue.Queue()
 Jobs to perform. More...
 
tuple computingLock = threading.Lock()
 Computing status. More...
 
tuple availableThreads = queue.Queue()
 List of available threads where each element is a number. More...
 
list errors = []
 Errors list where each error is a dictionary. More...
 
tuple printLock = threading.Lock()
 Lock to print. More...
 
tuple errorsLock = threading.Lock()
 Lock to add an error to the errors list. More...
 
dictionary processList = {}
 Running processes. More...
 
string simulatorPath = './simulator'
 Simulator path. More...
 
int progression = 0