public abstract class EdgeWeightManipulationScheme
extends java.lang.Object
| Constructor and Description |
|---|
EdgeWeightManipulationScheme()
An EdgeWeightManipulationScheme describes how the weight of an edge in the SocialGraph is determined.
|
| Modifier and Type | Method and Description |
|---|---|
abstract double |
reweighEdge(SNEdge edgeToReweigh,
double simulationTime)
Method to re-evaluate the interaction strength associated with an edge at a given time
|
abstract double |
weighEdge(SNNode source,
SNNode target,
SocialGraph.EDGEMEDIUM edgemedium)
Method to describe how an edge of a given medium, that is to be established between two nodes is to be weighed
|
public EdgeWeightManipulationScheme()
public abstract double weighEdge(SNNode source, SNNode target, SocialGraph.EDGEMEDIUM edgemedium)
source - The node the corresponding edge stems fromtarget - The node the corresponding edge points towardsedgemedium - The medium the edge is established viapublic abstract double reweighEdge(SNEdge edgeToReweigh, double simulationTime)
edgeToReweigh - The edge that is to be re-evaluatedsimulationTime - The current system time