Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultDiscount = iota OppositeBeliefDiscount )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdjacencyListEntry ¶
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.
Click to show internal directories.
Click to hide internal directories.