de.cesr.more.manipulate.agent
Class MEgoNetworkManagerComp<A,E extends MoreEdge<? super A>>
java.lang.Object
de.cesr.more.manipulate.agent.MEgoNetworkManagerComp<A,E>
- Type Parameters:
A
- E
-
- All Implemented Interfaces:
- MoreEgoNetworkManagerComp<A,E>
public class MEgoNetworkManagerComp<A,E extends MoreEdge<? super A>>
- extends Object
- implements MoreEgoNetworkManagerComp<A,E>
Agent component that manages the agents links according to differences between partners regarding some node property.
The agents need to implement MoreNetStructureManageable
. The component takes care of updating link weights
and removing and establishing links if required.
For making new connections, transitivity links and common-out-neighbour links are considered and ordered according to
the property difference between the focal node and the potential partner node.
Thresholds for weight changes and amounts of amount of changed can be defined by setter methods (defaults are given).
- Date:
- 21.04.2011
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processors
protected Map<MoreEgoNetworkEvent,MoreEgoNetworkProcessor<A,E extends MoreEdge<? super A>>> processors
MEgoNetworkManagerComp
public MEgoNetworkManagerComp(Map<MoreEgoNetworkEvent,MoreEgoNetworkProcessor<A,E>> processorMap)
- Parameters:
agent
- network
-
getEmptyProcessorMap
public static <A,E extends MoreEdge<? super A>> Map<MoreEgoNetworkEvent,MoreEgoNetworkProcessor<A,E>> getEmptyProcessorMap()
getEgoNetworkProcessor
public MoreEgoNetworkProcessor<A,E> getEgoNetworkProcessor(MoreEgoNetworkEvent event)
- Specified by:
getEgoNetworkProcessor
in interface MoreEgoNetworkManagerComp<A,E extends MoreEdge<? super A>>
- See Also:
MoreEgoNetworkManagerComp.getEgoNetworkProcessor(de.cesr.more.manipulate.agent.MoreEgoNetworkEvent)
process
public void process(MoreEgoNetworkEvent event,
A agent,
MoreNetwork<A,E> network)
- Specified by:
process
in interface MoreEgoNetworkManagerComp<A,E extends MoreEdge<? super A>>
- See Also:
de.cesr.more.manipulate.agent.MoreEgoNetworkManagerComp#process(de.cesr.more.manipulate.agent.MoreEgoNetworkEvent)