trustmodelstructure

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2025 License: Apache-2.0 Imports: 1 Imported by: 18

Documentation

Index

Constants

View Source
const (
	DefaultDiscount = iota
	OppositeBeliefDiscount
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AdjacencyListEntry

type AdjacencyListEntry interface {
	SourceNode() string
	TargetNodes() []string
}

A AdjacencyListEntry defines all outgoing edges of a source node by listing the corresponding target nodes of these edges.

type DiscountOperator added in v0.2.2

type DiscountOperator int

type FusionOperator added in v0.2.0

type FusionOperator int
const (
	AveragingFusion FusionOperator = iota
	ConstraintFusion
	CumulativeFusion
	WeightedFusion
	ConsensusAndCompromiseFusion
	NoFusion
)

type TrustGraphStructure

type TrustGraphStructure interface {
	Operator() FusionOperator
	DiscountOperator() DiscountOperator
	AdjacencyList() []AdjacencyListEntry
}

A TrustGraphStructure defines the graph-structural properties of a trust model. It does not define scopes, as scopes are only defined for the values of a graph (i.e., trust opinions)

type TrustRelationship

type TrustRelationship interface {
	Source() string
	Destination() string
	Opinion() subjectivelogic.QueryableOpinion
}

The TrustRelationship between a Trustor (getSource()) and the Trustee (getDestination()) and its Trust Opinion. A TrustRelationship is always bound to a specific scope it is defined in.

Jump to

Keyboard shortcuts

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