de.cesr.more.basic.agent
Interface MoreAgentAnalyseNetworkComp<A,E extends MoreEdge<? super A>>

All Superinterfaces:
MoreAgentNetworkComp<A,E>, MoreDistanceAttachableAgent
All Known Implementing Classes:
MAbstractAnalyseNetworkAgent, MAbstractLaraAnalyseNetworkAgent, MAgentAnalyseNetworkComp

public interface MoreAgentAnalyseNetworkComp<A,E extends MoreEdge<? super A>>
extends MoreAgentNetworkComp<A,E>, MoreDistanceAttachableAgent

MORe

Date:
16.12.2011

Method Summary
 int getBlacklistSize()
           
 int getInDegree()
          Returns the number of incoming links.
 float getNbrDispers()
          Calculates the average distance between this household and its neighbours.
 int getNetKDev()
           
 double getNetPrefDev()
           
 double getNetworkDistanceWeight(double meanDistance, double distance)
          Provides a weight regarding the given distance.
 float getNNAvgDeg()
          Returns the average in-degree of nearest neighbours (see Boguna2004)
 int getNumAmbassadors()
           
 int getOutDegree()
          Returns the number of outgoing links.
 int getXtInDegree()
          Adds 1 to prevent 0 values for sizing in GIS
 void setNumAmbassadors(int number)
          USed in combination with MGeoRsHomophilyDistanceFfNetworkService.
 
Methods inherited from interface de.cesr.more.basic.agent.MoreAgentNetworkComp
getMainNetwork, getNetwork, getNetworks, setMainNetwork, setNetwork
 

Method Detail

getInDegree

int getInDegree()
Returns the number of incoming links.

Returns:
indegree

getXtInDegree

int getXtInDegree()
Adds 1 to prevent 0 values for sizing in GIS

Returns:
indegree + 1

getOutDegree

int getOutDegree()
Returns the number of outgoing links.

Returns:
outdegree

getNbrDispers

float getNbrDispers()
Calculates the average distance between this household and its neighbours.

Returns:
average distance

getNNAvgDeg

float getNNAvgDeg()
Returns the average in-degree of nearest neighbours (see Boguna2004)

Returns:
average degree of nearest neighbours

getNetPrefDev

double getNetPrefDev()
Returns:

getNetKDev

int getNetKDev()
Returns:

getNetworkDistanceWeight

double getNetworkDistanceWeight(double meanDistance,
                                double distance)
Description copied from interface: MoreDistanceAttachableAgent
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.

Specified by:
getNetworkDistanceWeight in interface MoreDistanceAttachableAgent
Parameters:
distance -
distance -
meanDistance - mean distance between all agents (by default only computed at initialisation of network service)
Returns:

getBlacklistSize

int getBlacklistSize()
Returns:
number of agents in blacklist (with respect to DofN)

setNumAmbassadors

void setNumAmbassadors(int number)
USed in combination with MGeoRsHomophilyDistanceFfNetworkService.

Parameters:
number -

getNumAmbassadors

int getNumAmbassadors()