interfaceObjCons

Module Contents

class InterfaceObjCons[source]

Interface class for objectives and constraints. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0

abstract compute(self, theDevice)[source]

Get the value of the objective or the constraint. The objective is to MINIMIZE and the constraint has to respect VALUE <= 0

Parameters

theDevice – Input device that has already been evaluated

Returns

float.

get_name(self)[source]
__str__(self)[source]