mobile_insight.analyzer.kpi.lte_handover_prediction_analyzer module

A file that count the occurrences of handover triggered by different events

Author: Yuanjie Li

class mobile_insight.analyzer.kpi.lte_handover_prediction_analyzer.LteHandoverPredictionAnalyzer

Bases: mobile_insight.analyzer.kpi.kpi_analyzer.KpiAnalyzer

A function analyzer that models mobility management. It offers two functions

  1. Mobility event notification

  2. A complete mobility history and configuration query

  3. A handoff rule inference module

__get_meas_obj(msg)

Parse MeasObjectToAddMod_element, return a measurement object

Parameters

msg – the XML msg with MeasObjectToAddMod_element

Returns

a measurement objects to be added

__get_report_config(msg)

Parse ReportConfigToAddMod_element, return a report config

Parameters

msg – the XML msg with ReportConfigToAddMod_element

Returns

a measurement objects to be added

__on_lte_rrc_msg(msg)

Handle LTE RRC messages. It updates the mobility state, recovers the partial state transition, and then the entire handoff mobility graph

Parameters

msg – the event (message) from the trace collector.

reset()

Reset the state machine

set_handoff_prediction(b_predict)

Enable/disable handoff prediction

Parameters

b_prediction (boolean) – True if prediction should be enabled, False otherwise