public static int CountNodes(IGraph graph, NodeType nodeType, IActionExecutionEnvironment actionEnv, int threadId) { return graph.GetNumCompatibleNodes(nodeType); }
////////////////////////////////////////////////////////////////////////////////////////////// /// <summary> /// Returns the count of the nodes in the graph of the type given /// </summary> public static int CountNodes(IGraph graph, NodeType nodeType, int threadId) { return graph.GetNumCompatibleNodes(nodeType); }