qsrlib_qsrs.qsr_qtc_simplified_abstractclass module¶
Created on Mon Jan 19 11:22:16 2015
@author: cdondrup
-
class
qsrlib_qsrs.qsr_qtc_simplified_abstractclass.QSR_QTC_Simplified_Abstractclass[source]¶ Bases:
qsrlib_qsrs.qsr_dyadic_abstractclass.QSR_Dyadic_Abstractclassprint “where,” “it is always necessary to have two agents in every timestep: ” “x, y: the xy-coords of the agents ” “quantisation_factor: the minimum distance the agents must diverge from the double cross between two timesteps to be counted as movement. Must be in the same unit as the x,y coordinates. ” “validate: True|False validates the QTC sequence to not have illegal transitions. This inserts necessary transitional steps and messes with the timesteps.”
-
qtc_to_output_format(qtc)[source]¶ Overwrite this for the different QTC variants to select only the parts from the QTCC tuple that you would like to return. Example for QTCB: return qtc[0:2]
Parameters: qtc – The full QTCC tuple [q1,q2,q4,q5] Returns: The part of the tuple you would to have as a result using create_qtc_string
-