Beispiel #1
0
void addModelToSolution(const std::shared_ptr<Model>& model, const Remapper& remapper, ModelManager& solution, Printer& printer) {
	auto outmodel = new Model();
	outmodel->literalinterpretations = getBackMappedModel(model->literalinterpretations, remapper);
	outmodel->variableassignments = getBackMappedModel(model->variableassignments, remapper);
	solution.addModel(outmodel);
	printer.addModel(outmodel);

}
Beispiel #2
0
	void addModelToSolution(const std::shared_ptr<Model>& model, const Remapper& remapper, ModelManager& solution, Printer& printer) {
		auto outmodel = createModel(model, remapper);
		solution.addModel(outmodel);
		printer.addModel(outmodel);
	}