Documentation
¶
Overview ¶
Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0
Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlgorithType ¶
type AlgorithType string
const ( AlgoTypeBin AlgorithType = "bin" AlgoTypePython AlgorithType = "python" AlgoTypeKey = "algo_type" )
type Algorithm ¶
type Algorithm interface {
// Run executes the algorithm and returns the result.
Run() ([]byte, error)
// Add dataset to algorithm.
AddDataset(dataset string)
}
Algorithm is an interface that specifies the API for an algorithm.
Click to show internal directories.
Click to hide internal directories.