GraphAnalyzer¶
Inheritance diagram¶

Classes¶
GraphAnalyzer¶
- class ORSModel.ors.GraphAnalyzer(self)¶
Bases:
Unmanaged- computeStatisticsFor(self, denseGraph: ORSModel.ors.Graph, aTimeStep: int, edgeSlotIndex: int, pProgress: ORSModel.ors.Progress, sourceIndex: int) bool¶
- Parameters:
denseGraph (ORSModel.ors.Graph) –
aTimeStep (int) –
edgeSlotIndex (int) –
pProgress (ORSModel.ors.Progress) –
sourceIndex (int) –
- Returns:
output (bool) –
- getClassNameStatic() str¶
getClassNameStatic
- Returns:
output (str) –
- getDijkstraDistanceMap(self) ORSModel.ors.ArrayDouble¶
- Returns:
output (ORSModel.ors.ArrayDouble) –
- getDijkstraPredecessorMap(self) ORSModel.ors.ArrayUnsignedLong¶
- Returns:
output (ORSModel.ors.ArrayUnsignedLong) –
- getDistancesBasedOnPredecessorMapForEdgeSlotIndex(self, anEdgeSlotIndex: int, destinationVerticesz: ORSModel.ors.ArrayUnsignedLong) ORSModel.ors.ArrayDouble¶
- Parameters:
anEdgeSlotIndex (int) –
destinationVerticesz (ORSModel.ors.ArrayUnsignedLong) –
- Returns:
output (ORSModel.ors.ArrayDouble) –
- getEdgesOfPath(self, anEdgeSlotIndex: int, lastIndexInPath: int) ORSModel.ors.ArrayDouble¶
- Parameters:
anEdgeSlotIndex (int) –
lastIndexInPath (int) –
- Returns:
output (ORSModel.ors.ArrayDouble) –
- getFirstAndLastVertexIndicesOfPathFromPredecessorMap(self, firstAndLastVertexIndicesInPath: ORSModel.ors.ArrayUnsignedLong) ORSModel.ors.ArrayUnsignedLong¶
- Parameters:
firstAndLastVertexIndicesInPath (ORSModel.ors.ArrayUnsignedLong) –
- Returns:
output (ORSModel.ors.ArrayUnsignedLong) –
- getTimeStep(self) int¶
- Returns:
output (int) –
- initializeFor(self, denseGraph: ORSModel.ors.Graph)¶
- Parameters:
denseGraph (ORSModel.ors.Graph) –
- none() GraphAnalyzer¶
- Returns:
output (GraphAnalyzer) –
Unmanaged¶
- class ORSModel.ors.Unmanaged
Bases:
ORSBaseClass- atomicLoad(sFilename: str) Unmanaged
Creates an object from a file where an object was saved.
- Parameters:
sFilename (str) – path of the file to load
- Returns:
output (Unmanaged) – an unmanaged object, or none() if the load fails
- atomicSave(self, aFilename: str) int
Saves the object to a file.
- Parameters:
aFilename (str) – path of the file to save
- Returns:
output (int) – 0 if successful, otherwise an error code
- createFromPythonRepresentation(aPythonRepresentation: str) ORSModel.ors.Unmanaged
Create aUnmanaged Object from a python representation a static method.
- Parameters:
aPythonRepresentation (str) –
- Returns:
output (ORSModel.ors.Unmanaged) –
- fromPythonRepresentation(self, aPythonRepresentation: str) bool
Create aUnmanaged object from a Python string representation.
- Parameters:
aPythonRepresentation (str) – a Python evaluable string representation (a string)
- Returns:
output (bool) – true if parsing worked, false otherwise (a bool)
- getClassName(self) str
Retrieves the class name of the core object wrapped by this Interface object.
- Returns:
output (str) –
- getClassNameStatic() str
getClassNameStatic
- Returns:
output (str) –
- getDataChecksum(self) str
- Returns:
output (str) –
- getIsInstanceOf(self, pProgId: str) bool
Queries the object to know if it is an instance of a certain class.
- Parameters:
pProgId (str) –
- Returns:
output (bool) –
- getPythonRepresentation(self) str
Gets a Python evaluable string representation.
- Returns:
output (str) –
- isNone(self) bool
Checks if the receiver is none.
- Returns:
output (bool) –
- isNotNone(self) bool
Checks if the receiver is not none.
- Returns:
output (bool) –
ORSBaseClass¶
- class ORSModel.ors.ORSBaseClass(self)
- getPythonTraceBack() List[str]
Set the python traceback for a call from python.
- Returns:
output (List[str]) –
- isManaged(self) bool
- Returns:
output (bool) –
- isNone(self) bool
- Returns:
output (bool) –
- setPythonTraceBack(tb: List[str])
Set the python traceback for a call from python.
- Parameters:
tb (List[str]) –