Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenerationJobParameters ¶
type GenerationJobParameters interface { GetNodePlotterId() string GetNodeCount() int GetMinimumDistance() int GetMaximumPlotAttempts() int GetGridSizeX() int GetGridSizeY() int GetNodeConnectorId() string GetMaximumNodeConnectionCount() int GetNameGeneratorId() string GetAllowDuplicates() bool GetMaximumSampleAttempts() int }
type Generator ¶
type Generator struct {
// contains filtered or unexported fields
}
func NewGenerator ¶
func NewGenerator(parameters GenerationJobParameters) (Generator, error)
func (*Generator) Generate ¶
func (g *Generator) Generate() (SearchSpace, error)
type SearchSpace ¶
type SearchSpace struct { Name string `json:"name"` GenerationDate time.Time `json:"generation_date"` GenerationDurationMs int `json:"generation_duration_ms"` GenerationJobParameters GenerationJobParameters `json:"generation_job_parameters"` GridSizeX int `json:"grid_size_x"` GridSizeY int `json:"grid_size_y"` Nodes map[string]Node `json:"nodes"` }
Click to show internal directories.
Click to hide internal directories.