public interface OutputWriter
extends java.io.Closeable
Evaluator
to automatically resume itself at the last known good
result, output writers are expected to cleanup the file and return the number of valid entries through
getNumberOfEntries()
.Modifier and Type | Interface and Description |
---|---|
static class |
OutputWriter.CleanupStrategy
Defines how to recover "unclean" output files.
|
static class |
OutputWriter.Settings
Common settings when creating an output writer.
|
Modifier and Type | Method and Description |
---|---|
void |
append(ResultEntry entry)
Appends the specified non-dominated population and optional attributes to the file.
|
int |
getNumberOfEntries()
Returns the number of entries in the file.
|
int getNumberOfEntries()
append(org.moeaframework.analysis.sensitivity.ResultEntry)
method.void append(ResultEntry entry) throws java.io.IOException
entry
- the non-dominated population and optional attributesjava.io.IOException
- if an I/O error occurredCopyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.