qsrlib_qsrs.qsr_qtc_bc_simplified module¶
-
class
qsrlib_qsrs.qsr_qtc_bc_simplified.
QSR_QTC_BC_Simplified
[source]¶ Bases:
qsrlib_qsrs.qsr_qtc_simplified_abstractclass.QSR_QTC_Simplified_Abstractclass
QTCBC simplified relations.
- Values of the abstract properties
- _unique_id = “qtcbcs”
- _all_possible_relations = ?
- _dtype = “points”
Some explanation about the QSR or better link to a separate webpage explaining it. Maybe a reference if it exists.
-
make_world_qsr_trace
(world_trace, timestamps, qsr_params, req_params, **kwargs)[source]¶ Compute the world QSR trace from the arguments.
Parameters: - world_trace (
World_Trace
) – Input data. - timestamps (list) – List of sorted timestamps of world_trace.
- qsr_params (dict) – QSR specific parameters passed in dynamic_args.
- req_params – Dynamic arguments passed with the request.
- kwargs – kwargs arguments.
Returns: Computed world QSR trace.
Return type: - world_trace (
-
qtc_to_output_format
(qtc)[source]¶ Overwrite this for the different QTC variants to select only the parts from the QTCCS tuple that you would like to return. Example for QTCBS: return qtc[0:2].
Parameters: qtc (list or tuple) – Full QTCC tuple [q1,q2,q4,q5]. Returns: {“qtcbcs”: “q1,q2,q4,q5”} Return type: dict
-
qtc_type
= None¶ str: QTC specific type.