public class DLV2DesktopService extends DesktopService
DesktopService
for DLV2 solverConstructor and Description |
---|
DLV2DesktopService(java.lang.String exe_path) |
Modifier and Type | Method and Description |
---|---|
void |
startAsync(Callback callback,
java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Start a new process for the
DesktopService.exe_path and starts solving |
Output |
startSync(java.util.List<InputProgram> programs,
java.util.List<OptionDescriptor> options)
Start a new process for the
DesktopService.exe_path and starts solving |
getExePath, setExePath
public void startAsync(Callback callback, java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
DesktopService
DesktopService.exe_path
and starts solvingstartAsync
in interface Service
startAsync
in class DesktopService
callback
- interface used to interact with userprograms
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.Service.startAsync(Callback, List, List)
public Output startSync(java.util.List<InputProgram> programs, java.util.List<OptionDescriptor> options)
DesktopService
DesktopService.exe_path
and starts solvingstartSync
in interface Service
startSync
in class DesktopService
programs
- a list of InputProgram
used as data.options
- a list of OptionDescriptor
used as options.Output
element filled with resultsService.startSync(List, List)