input

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SimpleVariable

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

func NewSimpleVariable

func NewSimpleVariable(id deppy.Identifier, constraints ...deppy.Constraint) *SimpleVariable

func (*SimpleVariable) AddConstraint

func (s *SimpleVariable) AddConstraint(constraint deppy.Constraint)

func (*SimpleVariable) Constraints

func (s *SimpleVariable) Constraints() []deppy.Constraint

func (*SimpleVariable) Identifier

func (s *SimpleVariable) Identifier() deppy.Identifier

type VariableSource

type VariableSource interface {
	GetVariables(ctx context.Context) ([]deppy.Variable, error)
}

VariableSource generates solver constraints given an entity querier interface

Jump to

Keyboard shortcuts

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