The Hegselmann-Krause (HK) model allows one to characterize the continuous change of agent opinions with the bounded confidence threshold epsilon. To consider the heterogeneity of agents in characteristics, we study the HK model on homogeneous and heterogeneous networks by introducing a kind of smart agent. Different from the averaging rule in opinion update of HK model, smart agents will consider, in updating their opinions, the environmental influence following the fact that the agent behavior is often coupled with environmental changes. The environment is characterized by a parameter that r...