def __init__(self, _id, name, mutable, learnable, relationType, pointedID, symbol): """Constructor of ComputedRelationVariable: @type relationType: string @param relationType: the type of computation we will use. """ AbstractRelationVariable.__init__(self, _id, name, mutable, learnable, pointedID, symbol) self.log = logging.getLogger( 'netzob.Common.MMSTD.Dictionary.Variable.ComputedRelationVariable.py' ) self.relationType = relationType self.currentValue = None
def __init__(self, _id, name, mutable, learnable, pointedID, symbol): """Constructor of DirectRelationVariable: """ AbstractRelationVariable.__init__(self, _id, name, mutable, learnable, pointedID, symbol) self.log = logging.getLogger('netzob.Common.MMSTD.Dictionary.Variable.AbstractRelationVariable.py')