interpreter

package
v0.0.0-...-c864ae1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2023 License: BSD-2-Clause, BSD-3-Clause, MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NullModel               = "NullModel"
	DumbModel               = "DumbModel"
	MultiObjectiveDumbModel = "MultiObjectiveDumbModel"
	CatchmentModel          = "CatchmentModel"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnnealerConfigFunction

type AnnealerConfigFunction func(config data.AnnealerConfig) annealing.Annealer

type AnnealerConfigInterpreter

type AnnealerConfigInterpreter struct {
	// contains filtered or unexported fields
}

func NewAnnealerConfigInterpreter

func NewAnnealerConfigInterpreter() *AnnealerConfigInterpreter

func (*AnnealerConfigInterpreter) Annealer

func (*AnnealerConfigInterpreter) Errors

func (i *AnnealerConfigInterpreter) Errors() error

func (*AnnealerConfigInterpreter) Interpret

func (*AnnealerConfigInterpreter) RegisteringAnnealer

func (i *AnnealerConfigInterpreter) RegisteringAnnealer(annealerType data.AnnealerType, configFunction AnnealerConfigFunction) *AnnealerConfigInterpreter

type LoggingConfigInterpreter

type LoggingConfigInterpreter struct {
	// contains filtered or unexported fields
}

func NewLoggingConfigInterpreter

func NewLoggingConfigInterpreter() *LoggingConfigInterpreter

func (*LoggingConfigInterpreter) Errors

func (i *LoggingConfigInterpreter) Errors() error

func (*LoggingConfigInterpreter) Interpret

func (*LoggingConfigInterpreter) LogHandler

func (i *LoggingConfigInterpreter) LogHandler() logging.Logger

type ModelConfigFunction

type ModelConfigFunction func(config data.ModelConfig) model.Model

type ModelConfigInterpreter

type ModelConfigInterpreter struct {
	// contains filtered or unexported fields
}

func NewModelConfigInterpreter

func NewModelConfigInterpreter() *ModelConfigInterpreter

func (*ModelConfigInterpreter) Errors

func (i *ModelConfigInterpreter) Errors() error

func (*ModelConfigInterpreter) Interpret

func (i *ModelConfigInterpreter) Interpret(modelConfig *data.ModelConfig) *ModelConfigInterpreter

func (*ModelConfigInterpreter) Model

func (i *ModelConfigInterpreter) Model() model.Model

func (*ModelConfigInterpreter) RegisteringModel

func (i *ModelConfigInterpreter) RegisteringModel(modelType string, configFunction ModelConfigFunction) *ModelConfigInterpreter

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL