Public Member Functions
Public Attributes
Detailed Description
This class can be used in python context to check if all Interface functions of a custom model are implemented correctly.Member Function Documentation
__str__()
virtual
Function to allow printing instances of this class in python.
Returns
A string with information on the instance
deserializeModel()
virtual
Function to deserializatize a model from its former state-string.
Parameters
serializeModel()
virtual
Function to call the python models serialization function and return its state as a string.
Returns
Encoded state of the custom model
test()
virtual
Tests the model by invoking all of its API functions. Does not perform correctness checks. Just checks if the Interface is callable.
Parameters
Returns
True iff all API functions are present.
testSerialization()
virtual
Tests if the models serialization functions are working.
Returns
True iff both serialization and deserialization is working