divide_and_conquer

package
v0.0.0-...-dca2a0b Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DivideAndConquer

func DivideAndConquer(data interface{}, evaluators []Evaluator, timeout time.Duration) ([]interface{}, []error)

func RunDivideAndConquer

func RunDivideAndConquer()

Types

type Evaluator

type Evaluator interface {
	Evaluate(data interface{}) (interface{}, error)
	Name() string
}

type EvaluatorFunc

type EvaluatorFunc func(interface{}) (interface{}, error)

func (EvaluatorFunc) Evaluate

func (ef EvaluatorFunc) Evaluate(in interface{}) (interface{}, error)

func (EvaluatorFunc) Name

func (ef EvaluatorFunc) Name() string

Jump to

Keyboard shortcuts

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