ra2ce.analysis.losses.weighing_analysis package#
Submodules#
ra2ce.analysis.losses.weighing_analysis.length_weighing_analysis module#
- class LengthWeighingAnalysis[source]#
Bases:
WeighingAnalysisProtocol-
edge_data:
dict[str,Any]#
-
edge_data:
ra2ce.analysis.losses.weighing_analysis.time_weighing_analysis module#
- class TimeWeighingAnalysis[source]#
Bases:
WeighingAnalysisProtocol-
edge_data:
dict[str,Any]#
- get_current_value()[source]#
Gets the current distance/time of the edge. If the edge has no distance/time attribute, it is calculated and added to the edge.
- Return type:
float
- Returns:
float: Current distance/time value.
-
time_list:
list#
-
edge_data:
ra2ce.analysis.losses.weighing_analysis.weighing_analysis_factory module#
- class WeighingAnalysisFactory[source]#
Bases:
object- static get_analysis(weighing_type)[source]#
- Return type:
- Parameters:
weighing_type (WeighingEnum)