Class ExcelCalculatedRawSheetWriter
java.lang.Object
es.urjc.etsii.grafo.io.serializers.excel.RawSheetWriter
es.urjc.etsii.grafo.io.serializers.excel.ExcelCalculatedRawSheetWriter
Serialize raw sheet using Excel formulas. This method is extremely slow for big quantities of data,
but allows to seamlessly add or modify the raw data and recalculate all relevant fields without user intervention.
-
Nested Class Summary
Nested classes/interfaces inherited from class es.urjc.etsii.grafo.io.serializers.excel.RawSheetWriter
RawSheetWriter.CType
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.poi.ss.util.AreaReference
fillRawSheet
(org.apache.poi.xssf.usermodel.XSSFSheet rawSheet, boolean maximizing, List<? extends SolutionGeneratedEvent<?, ?>> results, List<ReferenceResultProvider> referenceResultProviders) Write data to raw sheetMethods inherited from class es.urjc.etsii.grafo.io.serializers.excel.RawSheetWriter
bestResultPerInstance, getCommonHeaders, getCustomPropertyNames, getPercentageDevToBest, nanInfiniteFilter, writeCell
-
Constructor Details
-
ExcelCalculatedRawSheetWriter
public ExcelCalculatedRawSheetWriter()
-
-
Method Details
-
fillRawSheet
public org.apache.poi.ss.util.AreaReference fillRawSheet(org.apache.poi.xssf.usermodel.XSSFSheet rawSheet, boolean maximizing, List<? extends SolutionGeneratedEvent<?, ?>> results, List<ReferenceResultProvider> referenceResultProviders) Write data to raw sheet- Specified by:
fillRawSheet
in classRawSheetWriter
- Parameters:
rawSheet
- sheet reference where data should be written tomaximizing
- true if this is a maximizing problem, false otherwiseresults
- list of results to serializereferenceResultProviders
- reference result providers if available- Returns:
- AreaReference specifying the area used in the sheet
-