public class DLV extends SolverBase
ai| 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 s,
int maxModels)
this method computes at most maxModels answer sets for a given program as a flat string.
|
protected AnswerSetList |
parseAnswerSets(String s) |
protected AnswerSetList |
runDLV(Program p,
int nModels,
String otherOptions) |
checkErrors, checkSolver, computeModelspublic DLV(String path2dlv)
public AnswerSetList computeModels(Program p, int models) throws SolverException
SolverSolverExceptionprotected AnswerSetList runDLV(Program p, int nModels, String otherOptions) throws SolverException
SolverExceptionprotected AnswerSetList parseAnswerSets(String s)
public AnswerSetList computeModels(String s, int maxModels) throws SolverException
SolverSolverExceptionCopyright © 2018. All rights reserved.