6.1.2.5. aequilibrae.project.Network¶
- class aequilibrae.project.Network(project)¶
Bases:
aequilibrae.utils.worker_thread.WorkerThreadNetwork class. Member of an AequilibraE Project
- __init__(project) None¶
Methods
__init__(project)blockSignals(self, bool)build_graphs([fields, modes])Builds graphs for all modes currently available in the model
childEvent(self, QChildEvent)children(self)cleanUp()connectNotify(self, QMetaMethod)convex_hull()Queries the model for the convex hull of the entire network
count_centroids()Returns the number of centroids in the model
count_links()Returns the number of links in the model
count_nodes()Returns the number of nodes in the model
create_from_osm([west, south, east, north, ...])Downloads the network from Open-Street Maps
currentThread()currentThreadId()customEvent(self, QEvent)deleteLater(self)disconnect(-> bool)disconnectNotify(self, QMetaMethod)doWork()dumpObjectInfo(self)dumpObjectTree(self)dynamicPropertyNames(self)event(self, QEvent)eventDispatcher(self)eventFilter(self, QObject, QEvent)exec(self)exec_(self)exit(self[, returnCode])extent()Queries the extent of the network included in the model
findChild(-> QObject)findChildren(...)idealThreadCount()inherits(self, str)installEventFilter(self, QObject)isFinished(self)isInterruptionRequested(self)isRunning(self)isSignalConnected(self, QMetaMethod)isWidgetType(self)isWindowType(self)killTimer(self, int)list_modes()Returns a list of all the modes in this model
loopLevel(self)metaObject(self)moveToThread(self, QThread)msleep(int)objectName(self)parent(self)priority(self)property(self, str)pyqtConfigure(...)Each keyword argument is either the name of a Qt property or a Qt signal.
quit(self)receivers(self, PYQT_SIGNAL)refresh_connection()Opens a new database connection to avoid thread conflict
removeEventFilter(self, QObject)requestInterruption(self)run(self)sender(self)senderSignalIndex(self)setEventDispatcher(self, ...)setObjectName(self, str)setParent(self, QObject)setPriority(self, QThread.Priority)setProperty(self, str, Any)setStackSize(self, int)setTerminationEnabled([enabled])set_time_field(time_field)Set the time field for all graphs built in the model
signal_handler(val)signalsBlocked(self)skimmable_fields()Returns a list of all fields that can be skimmed
sleep(int)stackSize(self)start(self[, priority])startTimer(self, int[, timerType])stop()terminate(self)thread(self)timerEvent(self, QTimerEvent)tr(self, str[, disambiguation, n])usleep(int)wait(-> bool)yieldCurrentThread()Attributes
HighPriorityHighestPriorityIdlePriorityInheritPriorityLowPriorityLowestPriorityNormalPriorityTimeCriticalPrioritydestroyeddestroyed(self, object: QObject = None) [signal]
finishedfinished(self) [signal]
jobFinishedlink_typesnetsignalobjectNameChangedobjectNameChanged(self, str) [signal]
protected_fieldsreq_link_fldsreq_node_fldsstartedstarted(self) [signal]
staticMetaObject- __init__(project) None¶