Erdos collaboration graph (node representing Erdos is removed) and Ant colony graph will be used to perfrom the following analysis.
I will partition the nodes of an input graph (either directed or undirected) into clusters (communities) with the
help of the following algorithm. Let the neighbours of node
However, this can lead to the oscillation of labels in certain neighbourhood structures. In the case
of asynchronous updates, the new values will be considered for neighbours whose label has already been
updated. Let
The algorithm iterates until it can update any label. If no label updates happen in an iteration, the algorithm terminates, and the current labels give the clusters (communities) where each node belongs. The outline of the algorithm can be seen below:
- Initialize labels: For all
$v \in V$ , let$C_v(0) = v$ - Set
$t=1$ - Determine random update order for
$V$ - For each
$v \in V$ in the update order of 3., determine$C_v(t)$ - If no label has been updated, terminate. Otherwise,
$t=t + 1$ and go to 3.
Except implementing the algorithm I will aslo perform a