public interface ISubmission
ProblemSolver
as a valid problem solution.
It consists in running the solver with an input dataset
and to analyze result using reference output or online
dataset submission service.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Getter for this submission name.
|
org.eclipse.core.resources.IFile |
getOutput()
Returns the output file associated to this submission.
|
void |
start(org.eclipse.core.runtime.IProgressMonitor monitor)
Starts this submission.
|
void |
submit(org.eclipse.core.runtime.IProgressMonitor monitor)
Indicates if this submission has run successfully or not.
|
void submit(org.eclipse.core.runtime.IProgressMonitor monitor) throws SubmissionException
monitor
- Monitor instance used for submission.SubmissionException
void start(org.eclipse.core.runtime.IProgressMonitor monitor) throws org.eclipse.core.runtime.CoreException
monitor
- Monitor instance used for submission execution.org.eclipse.core.runtime.CoreException
- If any error occurs while submitting.org.eclipse.core.resources.IFile getOutput() throws org.eclipse.core.runtime.CoreException
org.eclipse.core.runtime.CoreException
- If any error occurs while retrieving output file.java.lang.String getName()