de.cesr.more.manipulate.agent
Class MThresholdLinkProcessor<A extends MoreLinkManipulatableAgent<A>,E extends MoreEdge<? super A>>

java.lang.Object
  extended by de.cesr.more.manipulate.agent.MThresholdLinkProcessor<A,E>
All Implemented Interfaces:
MoreEgoNetworkProcessor<A,E>
Direct Known Subclasses:
MBlacklistThresholdLinkProcessor

public class MThresholdLinkProcessor<A extends MoreLinkManipulatableAgent<A>,E extends MoreEdge<? super A>>
extends Object
implements MoreEgoNetworkProcessor<A,E>

MORe TODO adapt: consider global, reciprocal and local links! When weights fall below zero, the according links are removed and another one is established.

Date:
29.03.2012

Field Summary
protected  MoreNetworkEdgeModifier<A,E> edgeMan
           
 
Constructor Summary
MThresholdLinkProcessor(MoreNetworkEdgeModifier<A,E> edgeMan)
           
 
Method Summary
 void makeNewConnections(int numNewConnections, A agent, MoreNetwork<A,E> net)
           
 void process(A agent, MoreNetwork<A,E> net)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

edgeMan

protected MoreNetworkEdgeModifier<A extends MoreLinkManipulatableAgent<A>,E extends MoreEdge<? super A>> edgeMan
Constructor Detail

MThresholdLinkProcessor

public MThresholdLinkProcessor(MoreNetworkEdgeModifier<A,E> edgeMan)
Method Detail

process

public void process(A agent,
                    MoreNetwork<A,E> net)
Specified by:
process in interface MoreEgoNetworkProcessor<A extends MoreLinkManipulatableAgent<A>,E extends MoreEdge<? super A>>
See Also:
MoreEgoNetworkProcessor.process(java.lang.Object, de.cesr.more.basic.network.MoreNetwork)

makeNewConnections

public void makeNewConnections(int numNewConnections,
                               A agent,
                               MoreNetwork<A,E> net)
Parameters:
numNewConnections -