Hegselmann–Krause dynamics with stubborn agents

Agents average the opinions of neighbours within the confidence bound σ; stubborn agents (squares) never move. In the opinion-space view each node sits at a current opinion and moves as agents update; agents holding the same opinion are drawn as one node, sized by and labelled with their number; the graph-layout view keeps the network fixed and colours nodes by opinion.

Opinion space
listening (active) one-way inactive critical (distance = σ) edge switching now halo = agent moving stubborn trapped free

t = 0
6

Selected agent

Click a node in the network to inspect it.