view 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 source

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