// ADD PERCEPTS public static void AddPercept(string percept) { ExternalConnector.GetInstance().sendEnvironmentToMAS("{\"name\":\"addpercept\",\"parameters\":{\"what\":\"" + percept + "\"}}"); }
// INFORM AGENTS ENVIRONMENT CHANGED public static void InformAgsEnvironmentChanged() { ExternalConnector.GetInstance().sendEnvironmentToMAS("{\"name\":\"informchanges\",\"parameters\":{}}"); }
// CLEAR PERCEPTS public static void ClearPercepts() { ExternalConnector.GetInstance().sendEnvironmentToMAS("{\"name\":\"clearpercepts\",\"parameters\":{}}"); }
public static void ClearPercepts(string agName) { ExternalConnector.GetInstance().sendEnvironmentToMAS("{\"name\":\"clearpercepts\",\"parameters\":{\"who\":\"" + agName + "\"}}"); }
public static void RemovePercept(string agName, string percept) { ExternalConnector.GetInstance().sendEnvironmentToMAS("{\"name\":\"removepercept\",\"parameters\":{\"what\":\"" + percept + "\",\"who\":\"" + agName + "\"}}"); }