Пример #1
0
 public static int CountNodes(IGraph graph, NodeType nodeType, IActionExecutionEnvironment actionEnv, int threadId)
 {
     return graph.GetNumCompatibleNodes(nodeType);
 }
Пример #2
0
        //////////////////////////////////////////////////////////////////////////////////////////////

        /// <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);
        }