Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GraphicsNames ¶
type GraphicsNames int
const ( FramesDir GraphicsNames = iota VideosDir FrameFormat VideoFormat )
func (GraphicsNames) String ¶
func (g GraphicsNames) String() string
type Plotter ¶
type Plotter interface {
Plot()
}
Plotter is a struct used to visualise problems and a population
type Plotter2D ¶
type Plotter2D struct {
Title, LabelX, LabelY, Filename string
Min, Max float64
Solution, Extremes [][]float64
}
Plotter2D is a struct incorporating the Plotter interface to plot 2D plots
func (*Plotter2D) Plot ¶
func (plotter2d *Plotter2D) Plot(pops ...[]types.Individual)
Plot Takes in two lists of individuals. The first list is the population while the second is the archive
func (*Plotter2D) PlotMetric ¶
type PpsPlotter ¶
type PpsPlotter struct { Population *[]types.Individual Archive *[]types.Individual Generation, Stage *int Stages []types.Stage Config *configs.Export Cmop *types.Cmop }
func (PpsPlotter) ExportVideo ¶
func (p PpsPlotter) ExportVideo()
func (PpsPlotter) PlotFrame ¶
func (p PpsPlotter) PlotFrame()
Click to show internal directories.
Click to hide internal directories.