de.cesr.more.rs.building
Interface MoreDistanceAttachableAgent

All Known Subinterfaces:
MoreAgentAnalyseNetworkComp<A,E>
All Known Implementing Classes:
MAbstractAnalyseNetworkAgent, MAbstractLaraAnalyseNetworkAgent, MAgentAnalyseNetworkComp

public interface MoreDistanceAttachableAgent

MORe

Date:
25.11.2011

Method Summary
 double getNetworkDistanceWeight(double meanDistance, double distance)
          Provides a weight regarding the given distance.
 

Method Detail

getNetworkDistanceWeight

double getNetworkDistanceWeight(double meanDistance,
                                double distance)
Provides a weight regarding the given distance. I.e., some agents might prefer distant links, others might solely like local links. High weights promote agents that are the given distance away, low weights discriminate such agents. Since such a preference may not only depend on the agent's milieu but also on its geographical embeddedness (in urban context the perception of distance is potentially different from rural contexts) the weight can be provided on an individual level instead by milieu preferences.

Parameters:
meanDistance - mean distance between all agents (by default only computed at initialisation of network service)
distance -
Returns:
the distance weight for the given distance