diff defical-sharp/libbacktrack/basic.cs @ 0:ebed2bd0d300

Initial import from svn. History be damned.
author Edho P. Arief <me@myconan.net>
date Fri, 02 Apr 2010 23:11:57 +0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/defical-sharp/libbacktrack/basic.cs	Fri Apr 02 23:11:57 2010 +0700
@@ -0,0 +1,16 @@
+namespace libbacktrack
+{
+    public partial class Backtrack
+    {
+        private void setLabel(int verPos,int verLabel)
+        {
+            this.labelVerUsed[verLabel] = true;
+            this.myGraph.LabelSetVer(verPos, verLabel);
+        }
+        private void removeLabel(int verPos)
+        {
+            this.labelVerUsed[this.myGraph.LabelVer[verPos]] = false;
+            this.myGraph.LabelRemoveVer(verPos);
+        }
+    }
+}
\ No newline at end of file