confidenceLevel

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: May 13, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Max = New(1.0)
	Min = New(0.0)
)

Constant value that can be used for the modification of a ConfidenceLevel

Functions

This section is empty.

Types

type ConfidenceLevel

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

ConfidenceLevel A confidence level represents a level of confidence Example: A ConfidenceLevel could be used to represent the confidence that an algorithm is executable in a certain environment.

func New

func New(value float64) ConfidenceLevel

New Get a new ConfidenceLevel; default value is confidenceLevelDefault

func (ConfidenceLevel) GetProperty

func (confidenceLevel ConfidenceLevel) GetProperty() cdx.Property

GetProperty Generate a CycloneDX component property from this confidence

func (ConfidenceLevel) GetValue

func (confidenceLevel ConfidenceLevel) GetValue() float64

GetValue Get the value of the ConfidenceLevel

Jump to

Keyboard shortcuts

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