Example #1
0
 /// <summary>
 ///     Returns a list with the names of all the agents that contain a certain string.
 /// </summary>
 /// <returns>The name fragment that the agent names should contain</returns>
 public IEnumerable <CognitiveAgent> FilteredCognitiveAgentsByClassId(IClassId classId)
 {
     return(Agents.FilteredByClassId(classId).OfType <CognitiveAgent>());
 }
Example #2
0
 /// <summary>
 ///     Returns a list with the names of all the agents that contain a certain string.
 /// </summary>
 /// <returns>The name fragment that the agent names should contain</returns>
 public IEnumerable <ReactiveAgent> FilteredAgentsByClassId(IClassId classId)
 {
     return(Agents.FilteredByClassId(classId));
 }