Documentation ¶
Overview ¶
Package report provides functions for constructing/generating report files.
Index ¶
- func GetOutPrefix() string
- func GetPicsDir() string
- func GetTexDir() string
- func SaveAndPrint(doPrint bool)
- func SaveComparisonOfMeans(p PicList, benchCount int)
- func SavePicsToFile(pls, plsMean []PicList, algoName string)
- func SaveTableToFile(t Table)
- func SaveTexAllPics()
- func SaveTexAllTables()
- type Pic
- type PicList
- type PlotPics
- type Row
- type Table
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetOutPrefix ¶
func GetOutPrefix() string
func GetPicsDir ¶
func GetPicsDir() string
GetPicsDirPrefix returns the path to the folder meant for plot pics.
func GetTexDir ¶
func GetTexDir() string
GetPicsDirPrefix returns the path to the folder meant for tex files.
func SaveAndPrint ¶
func SaveAndPrint(doPrint bool)
SaveAndPrint emits the tex files necessary to compile the report in full (report.tex, meta.sty) and prints the report.tex file to console.
func SaveComparisonOfMeans ¶
SaveComparisonOfMeans saves each pic in the list to file, takes note of the saved file names.
func SavePicsToFile ¶
SavePicsToFile saves each pic list for all bench funcs of a specified algo to a file.
func SaveTableToFile ¶
func SaveTableToFile(t Table)
func SaveTexAllPics ¶
func SaveTexAllPics()
SaveTexAllPics feeds all paths of generated pics to a template that creates `allpics.tex` file, which then aggregates all tex files tracking plot pics in one place.
func SaveTexAllTables ¶
func SaveTexAllTables()
Types ¶
type Pic ¶
Pic holds path to pic along with its caption. Bench field is set optionally (e.g. in case of the pic depicting comparison of means).
type PlotPics ¶
type PlotPics []Pic