if (currentPanel.isEmpty() || (currentPanel.contains(getDataModel().getId())))
return null;
//Get the preferred strategy for an agent i.e. its type and the strategy adopted by the panel
//Positive or negative rating depends on the similarity of these two strategies
AgentType groupStrategy = getConn().getGroupById(groupID).getGroupStrategy();
AgentType followerStrategy = getDataModel().getAgentType();
//The rating weighting is a simple function of the group's population
int population = getConn().getGroupById(groupID).getMemberList().size();
double rating = 1 / population;