public class SNTrustEdge extends SNEdge
Constructor and Description |
---|
SNTrustEdge(SNNode source,
SNNode target,
double edgeWeight)
Creates a directed edge from source to target of the TRUST-medium with a given edgeWeight.
|
SNTrustEdge(SNNode source,
SNNode target,
double edgeWeight,
java.lang.String edgeLabel)
Creates a directed edge from source to target of the TRUST-medium with a given edgeWeight.
|
getEdgeLabel, getEdgeWeight, getMedium, getSource, getTarget, setEdgeWeight
public SNTrustEdge(SNNode source, SNNode target, double edgeWeight, java.lang.String edgeLabel)
source
- The ConsumerAgent from whom the interaction stemstarget
- The ConsumerAgent addressed by the interactionedgeWeight
- The strength of the interaction described by the edgeedgeLabel
- A human readible label for the interactionpublic SNTrustEdge(SNNode source, SNNode target, double edgeWeight)
source
- The ConsumerAgent from whom the interaction stemstarget
- The ConsumerAgent addressed by the interactionedgeWeight
- The strength of the interaction described by the edge