public abstract class AbstractSolver extends Object implements InterfaceSolver
| Constructor and Description |
|---|
AbstractSolver() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(String[] args)
This is the main method of the solver.
|
abstract String |
solve(Problem problem,
File input,
FileFormat format,
String additionalParameters)
Solves the given problem on the given file (represented in the given format) with possibly
additional parameters.
|
abstract Collection<FileFormat> |
supportedFormats()
Gives a collection view of the supported formats of this solver, cf.
|
abstract Collection<Problem> |
supportedProblems()
Gives a collection view on the supported problems of this solver, cf.
|
abstract String |
versionInfo()
Returns author and version information of the solver as a string.
|
public abstract String versionInfo()
InterfaceSolverversionInfo in interface InterfaceSolverpublic abstract Collection<FileFormat> supportedFormats()
InterfaceSolverFileFormat.
For a description of these formats see the handbook for the argumentation competition.supportedFormats in interface InterfaceSolverpublic abstract Collection<Problem> supportedProblems()
InterfaceSolverProblem.
For a description of these problems see the handbook for the argumentation competition.supportedProblems in interface InterfaceSolverpublic abstract String solve(Problem problem, File input, FileFormat format, String additionalParameters) throws IOException, IllegalArgumentException
InterfaceSolversolve in interface InterfaceSolverproblem - the problem type to be solved.input - the input (an abstract argumentation graph)format - the format of the input fileadditionalParameters - additional parameters for the problem (maybe "null" if no further parameters are given)IOException - in case of errors in accessing the input file.IllegalArgumentException - if this solver is not able to solve the given problem or does not understand the format.public void execute(String[] args)
InterfaceSolverexecute in interface InterfaceSolverargs - command line argumentsCopyright © 2018. All rights reserved.