Project

General

Profile

Actions

Task #6087

closed

Suggestion for the Solver interface

Added by Alexander Kamkin almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
High
Category:
Test Engine
Target version:
Start date:
06/22/2015
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Published in build:
2.2.7

Description

I suggest wrapping a solution with SolverResult (solver status, error messages, etc.)

public interface Solver<T> {
  Class<T> getSolutionClass();
  SolverResult<T> solve(Sequence<Call> abstractSequence);
}
Actions #1

Updated by Artem Kotsynyak almost 9 years ago

We're duplicating result wrapper classes (smt solver, testbase, this), maybe define something like Result<EStatus, T> in Fortress?

Actions #2

Updated by Alexander Kamkin almost 9 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Alexander Kamkin almost 9 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 2.2.7
Actions

Also available in: Atom PDF