public class SNCommunicationEdge extends SNEdge
| Constructor and Description |
|---|
SNCommunicationEdge(SNNode source,
SNNode target,
double edgeWeight)
Creates a directed edge from source to target of the COMMUNICATION-medium with a given edgeWeight.
|
SNCommunicationEdge(SNNode source,
SNNode target,
double edgeWeight,
java.lang.String edgeLabel)
Creates a directed edge from source to target of the COMMUNICATION-medium with a given edgeWeight.
|
getEdgeLabel, getEdgeWeight, getMedium, getSource, getTarget, setEdgeWeightpublic SNCommunicationEdge(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 SNCommunicationEdge(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