Network processors allow to manipulate network links according to differences between partners regarding some node property. There is an agent component (MEgoNetworkManagerComp) that takes care of updating link weights and removing and establishing links if required.
Predefined MoreEgoNetworkEvents:
Predefined Processors
Map<MoreEgoNetworkEvent, MoreEgoNetworkProcessor<V, E>> map = MEgoNetworkManagerComp .getEmptyProcessorMap(); MoreNetworkEdgeModifier<V, E> edgeModifier = new MDefaultNetworkEdgeModifier<V; E>(new MDefaultEdgeFactory<V>()); map.put(MLinkManagingEvent.getInstance(), (Class<MoreEgoNetworkProcessor<V, E>>) DYN_EDGE_MANAGER); map.put(MLinkWeightUpdatingEvent.getInstance(), ((Class<MoreEgoNetworkProcessor<V, E>>>) DYN_EDGE_WEIGHT_UPDATER); MoreEgoNetworkManagerComp<V, E> egoNetManager = new MEgoNetworkManagerComp<V, E>(map);
for (V agent : agents) { agent.setEgoNetworkManager(egoNetManager); }
getEgoNetworkManager().process(MLinkManagingEvent.getInstance(), this, getMainNetwork());
In case an agent implements MoreLinkManipulationAnalysableAgent, some processors (e.g. MBlacklistThresholdLinkProcessor) provide information about link manipulations.