public class DLVComplex extends SolverBase
ai| Constructor and Description |
|---|
DLVComplex(String path2dlx) |
| Modifier and Type | Method and Description |
|---|---|
AnswerSetList |
computeModels(Program p,
int models)
this method computes at most maxModels answer sets for a given program.
|
AnswerSetList |
computeModels(String program,
int models)
this method computes at most maxModels answer sets for a given program as a flat string.
|
protected AnswerSet |
parseAnswerSet(String s) |
protected AnswerSetList |
processResults(List<String> result) |
protected AnswerSetList |
runDLV(Program p,
int nModels,
String otherOptions) |
checkErrors, checkSolver, computeModelspublic DLVComplex(String path2dlx)
public AnswerSetList computeModels(Program p, int models) throws SolverException
SolverSolverExceptionprotected AnswerSetList runDLV(Program p, int nModels, String otherOptions) throws SolverException
SolverExceptionpublic AnswerSetList computeModels(String program, int models) throws SolverException
SolverSolverExceptionprotected AnswerSetList processResults(List<String> result) throws SolverException
SolverExceptionCopyright © 2018. All rights reserved.