def __init__(self, assignment, environment=None): if environment is None: environment = get_env() Model.__init__(self, environment) self.environment = environment self.assignment = dict(assignment) # Create a copy of the assignments to memoize completions self.completed_assignment = dict(self.assignment)
def __init__(self, assignment, environment=None): if environment is None: environment = get_env() Model.__init__(self, environment) self.environment = environment self.assignment = assignment # Create a copy of the assignments to memoize completions self.completed_assignment = dict(self.assignment)
def __init__(self, environment, msat_env): Model.__init__(self, environment) self.msat_env = msat_env self.converter = MSatConverter(environment, self.msat_env) self.msat_model = None msat_model = mathsat.msat_get_model(self.msat_env()) if mathsat.MSAT_ERROR_MODEL(msat_model): msat_msg = mathsat.msat_last_error_message(self.msat_env()) raise InternalSolverError(msat_msg) self.msat_model = msat_model
def __init__(self, environment, z3_model): Model.__init__(self, environment) self.z3_model = z3_model self.converter = Z3Converter(environment, z3_model.ctx)
def __init__(self, environment, z3_model, converter, qf): Model.__init__(self, environment) self.z3_model = z3_model self.converter = converter self.qf = qf
def __init__(self, environment, yices_model, converter, qf): Model.__init__(self, environment) self.yices_model = yices_model self.converter = converter self.qf = qf self.mgr = environment.formula_manager
def __init__(self, assignment, environment=None): if environment is None: environment = get_env() Model.__init__(self, environment) self.environment = environment self.assignment = assignment