TimeNode¶
-
class
pyslm.analysis.
TimeNode
(parent=None, id=0, value=None)¶ Bases:
object
The TimeNode class provides a structure for storing the pre-calculated time of a Layer or LayerGeometry structure, which is stored in
TimeNode.time
. The TimeNode is constructed with both references to children and parent nodes within the functional scope, which build a parsable tree structure. The references are to other TimeNodes and static and changes are not dynamically propagated, therefore caution is advised that the entire Cache tree is updated after a known change.Methods Summary
Get the total time taken by the children
Methods Documentation
-
getChildrenTime
()¶ Get the total time taken by the children
- Return type:
float
- Returns:
The total time taken
-