Example #1
0
 public bool AddNode(int ID)
 {
     if (CNeuroNetWrapperFunctions.__FindNode(_cnet, ID) == IntPtr.Zero)
     {
         CNeuroNetWrapperFunctions.__AddNode(_cnet, ID);
         return(true);
     }
     return(false);
 }
Example #2
0
 public bool Contains(Node item)
 {
     return(CNeuroNetWrapperFunctions.__FindNode(net, item.ID) != IntPtr.Zero);
 }